Fixed size Diagram Editor [message #198236] |
Tue, 22 July 2008 09:50 |
Rekha Bhintade Messages: 16 Registered: July 2009 |
Junior Member |
|
|
Hi All,
I have create my own graphical editor based on Eclipse 3.3 and GMF.
Now I want to restrict the editing/drag-n-drop area of my editor.
For this I have tried following two options with no results.
1. Changed the existing DiagramRootEditPart extending from
scalableFreeformRootEditPart to extend it from ScalableRootEditPart using
the reference
http://dev.eclipse.org/newslists/news.eclipse.tools.gef/msg1 7960.html. But
I was not successful in this.
2. Then I tried changing my DiagramEditPart's createFigure(). It was
returning a FreeFormLayer instead I tried returning a Figure but it didn't
work.
Please let me know the proper mechanism for a fixed size graphical editor.
Please guide.
Regards,
Rekha
|
|
|
Powered by
FUDForum. Page generated in 0.03046 seconds