Archive for the ‘SWT’ Category

SWT/RCP and OpenGL

April 23rd, 2007

Using OpenGL with SWT is really easy. I made an experimental fullscreen viewer for Sharemedia w/ LWJGL which shows a rotating picture.

Packaging LWJGL as an RCP plugin was a little more tricky, as several native libraries must be included for each platform. To do this, you have to add an OSGI header to the plugin :

Bundle-NativeCode:
jinput-dx8.dll;osname=win32;processor=x86;OpenAL32.dll;osname=win32;processor=x86

Now I just have to learn how to create reflection and nice motion effects with OpenGL :-)

Some good resources :
http://www.eclipse.org/swt/opengl/
Snippet 195

Util classes for SWT

April 18th, 2007

While developping Sharemedia, I made several util classes for SWT, and I am thinking of releasing the most used ones as jars so other people could use these classes easily.

What would be included :
* Image resizing with antialiasing.
* Image usage tracking.
* ….

Nebula Gallery Widget screenshots

April 11th, 2007

I made a page showing some usage examples of the Nebula Gallery Widget : Nebula Gallery Widget screenshots.

I’m looking for screenshots of new applications which use the Gallery widget to add them in this page. If you are using it, feel free to contact me.

SWT debug with Sleak

April 4th, 2007

After spending several hours trying to use Sleak with Sharemedia, I realised that SWT does not support debuging on Mac.
I didn’t find this info anywhere on eclipse.org, so I post it here.

If you have to debug and trace resource allocations in SWT or RCP apps, DO IT ON WINDOWS :-)

Nebula nightly builds and new components.

March 27th, 2007

Nightly build are now available for nebula components. Grid and Gallery are the first one to provide nightly jars.
It’s pretty hard to list all the file provided by nebula. Only some mirrors let you browse the files. This one does : http://ftp.ussg.iu.edu/eclipse/technology/nebula/

2 news components have also joined Nebula : FormattedText and DateChooser.

http://www.eclipse.org/nebula/