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/