Skip to main content



      Home
Home » Modeling » Papyrus » Attributes sorting in classifiers
Attributes sorting in classifiers [message #478696] Thu, 06 August 2009 08:42
Eclipse UserFriend
Hi,

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 :

- SORT_FILTER_CONTENT_ROLE and SORT_FILTER_ROLE

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?

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


Current Time: Fri Jul 04 10:36:04 EDT 2025

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

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

Back to the top