Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Re: Using Trident to add animations to SWT applications

Kai,

I've finished porting the Onyx demo to SWT - project Granite. The full sources are in SVN, and i've written a series of posts about using Trident to add various types of animations to a rich internet-enabled SWT application. The last entry is at [1] and has the links to the specific posts on various parts of Granite.

This list has been a little quiet lately (since 0.9 release), so i'm not sure what would be the next step in this discussion.

Thanks
Kirill

[1] http://www.pushing-pixels.org/?p=1384


From: Kirill Grouchnikov <kirillcool@xxxxxxxxx>
To: E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>
Sent: Saturday, August 1, 2009 11:29:05 PM
Subject: Using Trident to add animations to SWT applications

Hi Kai

The first drop of the code is available in the SVN repository of project Granite [1]. You can view a short video at [2] - it shows most of the functionality in Granite, including rollover pulsation effects in the main album view, as well as the complex animation scenario that shows detailed track list of clicked album.

While most of the logic is very similar to Onyx (the original Swing demo), i have tried to not "write Swing in SWT" - but instead follow the SWT best practices.

If you want to run the code locally, you will need:

* The first snapshot of Granite
* The latest 1.1dev snapshot of Trident - at [3] or in the project SVN
* SWT from Eclipse 3.5 (might run under earlier versions)
* org.eclipse.core.jobs JAR from Eclipse 3.5 (might run under earlier versions)
* org.eclipse.equinox.common JAR from Eclipse 3.5 (might run under earlier versions) (might run under earlier versions)
* org.eclipse.osgi JAR from Eclipse 3.5

The last three are used to show how Eclipse jobs can be wrapped as custom Trident scenario actors (see org.pushingpixels.granite.EclipseJobTimelineScenarioActor class and its usages). Instead of writing an SWT version of SwingWorker, i just reused the existing Eclipse functionality.

Let me know if you have questions about the code, or experience any problems in compiling and running the demo. The main class is org.pushingpixels.granite.DemoApp and you will need an Amazon E-commerce access key. If you don't have one, you can register at [4] (look for "Sign Up Now" button). The key is passed as the argument to the VM.

Thanks
Kirill

[1] http://kenai.com/projects/granite
[2] http://blip.tv/file/2429084
[3] http://kenai.com/projects/trident/downloads/directory/version%201.1%20-%20dev
[4] http://aws.amazon.com/


From: "Toedter, Kai" <kai.toedter@xxxxxxxxxxx>
To: E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>
Sent: Tuesday, July 21, 2009 11:29:32 PM
Subject: RE: [e4-dev] e4 release review slides

Kirill,

 

I have been following both the SceneGraph and your Trident activities in the last months. I would love  to see your (swing) demo running in an SWT environment and discuss in this list how Trident might fit into e4.

 

Best regards,

 

Kai

 

From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of Kirill Grouchnikov
Sent: Dienstag, 21. Juli 2009 23:03
To: E4 Project developer mailing list
Subject: Re: [e4-dev] e4 release review slides

 

Hi

I have a question about slide 4 - about deferring the advanced animations in SWT.

I've been following this list for a few months, and i haven't seen any (significant) discussion on this topic. I've recently released the first official version of Trident animation library which has built in support for both Swing and SWT - including automatic support for threading rules and additional UI toolkit-specific features.

The overview of support for UI toolkits is at [1], and examples for SWT can be found at [2]-[4].

Is this something that would be of interest to the e4 project? The core Trident capabilities can be used to built more complex animations such as layout transitions, window fades, cross fades etc - as shown in the demo Swing application at [5]. And while the demo is in Swing, i am going to port it to SWT as well in the next few weeks.

Thanks
Kirill

[1] http://kenai.com/projects/trident/pages/UIToolkitSupport
[2] http://kenai.com/projects/trident/pages/SimpleSWTExample
[3] http://kenai.com/projects/trident/pages/ParallelSWTTimelines
[4] http://kenai.com/projects/trident/pages/KeyFrameExample
[5] http://vimeo.com/4622654

 


From: John Arthorne <John_Arthorne@xxxxxxxxxx>
To: e4-dev@xxxxxxxxxxx
Sent: Tuesday, July 21, 2009 10:59:57 AM
Subject: [e4-dev] e4 release review slides


I have prepared the docu-ware required by the Eclipse development process for the e4 0.9 release. I have attached a draft of the slides here for e4 committers to review. Please let me know of any errors or ommissions.



John

 




Back to the top