Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Attributes sorting in classifiers
Attributes sorting in classifiers [message #478696] Thu, 06 August 2009 12:42
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member

I'm developping a GMF editor, and see two interesting features with
papyrus UML2 editor :

- you can sort by drag'n drop attributes in classifiers
- and you can connect Dependency to/from Property.

I would like to have same features for my diagram.
I compare papyrus code with UML2Tools code (UML2Tools doesn't have
theses features), but don't see differences which make that with papyrus
you can reorder attributes. I see two EditPolicyRoles :


also SortFilterContentRequest and ShapeCompartmentDropEditPolicy but
don't know how they are implicated in mechanics. I see also
getDragTracker() in CompartmentEditPart but don't know how to use it.
Then my first question is how do you implement this first feature.

For the last feature (that UML2Tools doesn't implements also), I don't
see differences, in my GMF editor my "Property" Top Node in my gmfmap
model are Node but not Diagram Label like with papyrus and UML2Tools
gmfmap models. Yet with papyrus we can connect a Dependency to/from a
Property which is a Diagram Label (draw2d Label in generated code).
Then my last question is how do you implement this last feature?

Previous Topic:CDO as model repository?
Next Topic:Attributes sorting in classifiers
Goto Forum:

Current Time: Sat Sep 26 22:51:54 GMT 2020

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

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

Back to the top