Archive for the ‘Sharemedia’ Category

Smooth Scrolling for the Nebula Gallery widget

February 24th, 2008

This week end, I added Smooth Scrolling for the Gallery view of ShareMedia. This is implemented using a simple class which captures the mouse wheel event and replace the standard behavior by a nice smooth movement (duration can be changed easily).

(Planeteclipse readers : video is not displayed there, just click on the title of the post to go to my blog)


ScrollingSmoother s = new ScrollingSmoother();
s.smoothControl( anyScrollableControl );

Currently, this only works on the Nebula Gallery Widget (maybe others), because fake events which are generated do not include all data required by standard SWT controls. The next step is to handle any scrollable control, and smooth scrolling even if scrollbars are used.

This class can be found here.
This is only a POC, the code is horrible but will be cleaned up soon.

UPDATE : this class currently work with the following widgets :
Shell
Canvas
StyledText

NOT working :
Tree
Table
Text

BTW : ShareMedia 0.3.1 is finally released, download it on sourceforge

Sharemedia news

February 12th, 2008

Here are the latest news of sharemedia development :

* Eclipse compatibility : ShareMedia can now be installed in Eclipse.

* Image Editor : An image editor is currently in development and can be installed separately in Eclipse.

* Nighlty builds are fillaly restored and can be found here : http://nricheton.homeip.net/public/ShareMedia/

New developer on ShareMedia

November 20th, 2007

The Sharemedia project has a new commiter : James Williams, who is working on the Flickr plugin. The current development version of this plugin lets you browse Flickr libraries directly in ShareMedia (read only). He already commited his work on SVN.

Reopening SWT bug 141282

November 8th, 2007

I spent several hours to locate a SWT problem with DND and special characters in path on OSX. The hard part was that strings were are correctly displayed by SWT and work with the file API. But if you try to compare or check equality of this string with another one, it always fails because a special char uses 2 chars instead of one. This is only an encoding problem, but not easy to find.

See Bug 141282 on Eclipse
and Bug 97 on ShareMedia bugtracker

ShareMedia 0.3.1 is coming

November 2nd, 2007

Just publishing a screenshot of the latest and soon-to-be-released build of ShareMedia. This is me, browsing a Google Picasa album in ShareMedia on a dual monitor setup running Windows.

UI is is french but will hopefully switch to english depending of your locale.

Browsing Picasa Web

ShareMedia latest features include :

  • Write support for Picasa Web Albums (create new albums, upload files)
  • Better information view
  • Bug fixes
  • A lot of new extension points for developers

About ShareMedia : This is an opensource project, which goal is to create a multi platform photo manager and viewer (well, there is a basic support for videos too and music is planned), being able to use any backend for file storage : (your computer, friends computers, Picasa, Flickr, FaceBook, ..) while keeping the same features (copy, edit metadata, 3D slideshow, …). It is based on the Eclipse RCP framework.

The latest nightly builds can be found here (be careful, these are dev builds. Linux builds have problems with OpenGL)

The project page is here at sourceforge.

Thumbnails are displayed using the Nebula Gallery Widget
(We’re looking for help too :-) )