Home » Eclipse Projects » Remote Application Platform (RAP) » Draw2D, GEF and Tabbed Properties....in RAP!
| | | | | | | |
Re: Draw2D, GEF and Tabbed Properties....in RAP! [message #629817 is a reply to message #629701] |
Wed, 29 September 2010 15:56 |
Austin Riddle Messages: 128 Registered: July 2009 |
Senior Member |
|
|
Hi Tim,
Basically we started with the latest Draw2D, GEF and Tabbed Properties.
We removed code that would basically never work in RAP and reimplemented a few features to be RAP friendly. Most of the re-implementation was in FigureCanvas.
In RAP, we made some changes to the FontMetrics and GC classes, (mainly method stubs) to support some vital pieces and added classes like GCData, Path*, Text*, Region and others, removing disfunctional code.
Besides the FigureCanvas changes to actually show the diagrams and provide scrollbars, the only other large change was to enable drag and drop, which we based on my rundimentary view dragging code (http://www.youtube.com/watch?v=zkW27ZqAL3k). The drag and drop implementation is not ideal, but to be able to bring our GEF projects into RAP made it worth doing. The main drawback to the drag and drop is that it currently uses a job to artificially inject move events into the drag and drop process, which doesn't scale well obviously, but to solve our current domain problems it isn't an issue.
There were very few changes to tabbed properties after we made the RAP and Draw2d changes.
We have a few Zest viewers that work well with this implementation too.
There are a few mouse cursor limitations, but that is to be expected with the current state of things.
Although the approach and implementation were not envisioned for use except to our consumers, I would be happy to share the implementation in hopes that others who find the trade-offs workable, can benefit.
I will post it to bugzilla soon.
|
|
| |
Goto Forum:
Current Time: Tue Apr 23 07:39:24 GMT 2024
Powered by FUDForum. Page generated in 0.03900 seconds
|