[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Using GEF without draw2d

> 1) Can i use GEF, and create my own GEF derived classes from abstract 
> classes higher in the GEF class hierarchy?

Sure. We have done this already using the native tree, which has no relation 
to Draw2d.

> 2) How would the event system work with a opengl canvas and GEF?

Unfortunately I think everything is typed as SWT mouse and keyboard events. 
But this should be what you get from a GL canvas.

> 2) Which classes would I need to implement?

Extend AbstractEditPart I guess. What are the "visuals" going to be??

> 3) Is this worth the effort or should I just use basic SWT/JFaces design?

JFace viewers are read-only by design.

> 4) Is there any tutorial on this, or do I need to study the design of 
> draw2D based classes?

You probably need some composable structure such as a scene graph to 
represent the 3d visuals.