Best way to add Draw2d to a GraphicalEditorWithFlyoutPalette? [message #885915] |
Wed, 13 June 2012 17:24  |
Eclipse User |
|
|
|
Hi everyone,
for an University project, I have to create a GraphicalEditor in GEF (it should display some grid-like Figure). I have to add numerous buttons to this Editor which have to change various properties in an underlying EMF model. What is the best way to add these buttons? I tested it with a class which extends ScrollingGraphicalViewer and adds the view to the left of the Editor (I'm using a Palette on the right side, with the content in the center). The problem is, the ScrollingGraphicalViewer takes half the size of the Editor view which isn't that great, so can I change the width of this ScrollingGraphicalViewer? Or is there a better way to add buttons to the Editor?
Thanks in advance.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26336 seconds