Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creating an editor that is not freeform
Creating an editor that is not freeform [message #212152] Tue, 25 November 2008 22:35 Go to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 34
Registered: July 2009
Member
Hello,


I have a graphical editor that was manually created using GEF. I am
currently investigating whether or not I might be able to use GMF to
automatically generate my diagram.


A major problem I see right away is the generated-GEF editor is always
freeform (i.e. users have the ability to place items anywhere). However,
my current editor uses ScalableRootEditPart, not
ScalableFreeformRootEditPart. So basically, I need to have a fixed diagram
(i.e. entire canvas is simply a top-level node with compartments).


Is there a way to use GMF to create a diagram like this that is not
freeform?


Thanks,

Mark
Re: Creating an editor that is not freeform [message #212185 is a reply to message #212152] Wed, 26 November 2008 10:14 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Mark,

You can either modify GMF-generated code once to use different EditPart for
your diagram or you can create/use custom GMF templates and get this code
generated.

-----------------
Alex Shatalin
Previous Topic:how to sort & filter edit parts displayed in the outline tree view
Next Topic:Converting EMF in XMI to GMF
Goto Forum:
  


Current Time: Fri Apr 19 12:59:47 GMT 2024

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

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

Back to the top