Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Fixed size Diagram Editor
Fixed size Diagram Editor [message #198236] Tue, 22 July 2008 09:50
Rekha Bhintade is currently offline Rekha BhintadeFriend
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
Previous Topic:Accessing Underlying Objects from outside the Canvas
Next Topic:GMF Wizards
Goto Forum:
  


Current Time: Fri Apr 26 07:52:30 GMT 2024

Powered by FUDForum. Page generated in 0.03046 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top