dev/Sorting/Thoughts

Journal of development Sorting Thoughts and more…

Avoid pitfalls with property testers in a RCP app

Posted on Dec 16, 2012 in Eclipse, Java, Programming

Sorting Thoughts Context Menu
For a new Sorting Thoughts feature that give the user access to context based action items in a context menu, I learned again that Eclipse and the Command Core Expressions are sometimes not very clear. When you leave the trivial way, you can waste many many time to find the right solution.

At first glance it seems to be very easy, I thought I must only register and implement a property tester and all is fine. But I was wrong. Without the help of Robert Wloch article “Property Testers with Command Core Expressions” I never thought that I have to implement a start up trigger (IStartup) and a ISelectionChangedListener too. So, if you want implement context based menu entries with property testers read the article first.

Links

Read More

SWT Gantt Chart Widget

Posted on Oct 29, 2011 in Eclipse, Programming, Tools

A couple of weeks ago I integrated the SWT Gantt chart widget in Sorting Thoughts. And I must say it is a really useful SWT widget and it fits perfect in the concept of Sorting Thoughts.

The integration of the widget is very simple and it’s supports some interface reps. abstract classes which helps by the customizing. See AbstractSettings and AbstractLanguageManager. My only problem was to set a new min zoom level because the limit constant in ISettings is not overwriteable. But as workaround it is possible to use the IGanttEventListener. zoomedIn(…) to stop zooming in a not useful zoom level.

Links

Read More

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close