|Fixed size Diagram Editor [message #198236]
||Tue, 22 July 2008 09:50
| Rekha Bhintade
Registered: July 2009
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
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
Please let me know the proper mechanism for a fixed size graphical editor.
Powered by FUDForum
. Page generated in 0.01632 seconds