Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Customizing EditPart
Customizing EditPart [message #158409] Mon, 05 November 2007 15:07 Go to next message
Eclipse UserFriend
Originally posted by: Sam.sam.org

In the UML2tools project there are lot of generated EditParts that do not
extend ShapeNodeEdit Part but extend CompartmentEditPart,
ListCompartmentEditPart or BorderBorderItemEditPart.
I've been searching searching gmfgraph, gmfmap and gmfgen for a longer time
to have EditParts like that generated.

How can i use these features?
Are they yet enabled in M2?

Why do the M2 editors for gmfgraph, gmfmap and gmfgen crash with exceptions
when i try to open them from the org.eclipse.uml.diagram.def /structure
folder?

-Matthias
Re: Customizing EditPart [message #158417 is a reply to message #158409] Mon, 05 November 2007 16:06 Go to previous message
Eclipse UserFriend
Originally posted by: Sam.sam.org

I just found out that you can change to 'gen affixed side node' by adding a
xml-parameter with the texteditor.

<childNodes

<!-- add this line -->

xsi:type="gmfgen:GenChildSideAffixedNode"

visualID="2001"

editPartClassName="IndicatorEditPart"

....
Previous Topic:Custom, non-XML serialization
Next Topic:Pasting a file to a new project workspace
Goto Forum:
  


Current Time: Thu May 01 19:16:11 EDT 2025

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

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

Back to the top