EditParts used by UcmEditor
Package Specification
EditParts are GEF specific; we recommend you read some GEF documentation before playing with these classes. See DevDocEditPartCreation to understand how EditParts are created.
- The edit part factory is GraphicalEditPartFactory.
- Our root edit part is ConnectionOnBottomRootEditPart
- All model elements except for node connections use ModelElementEditPart
- All PathNodes use PathNodeEditPart although some have their own specific EditParts
- ComponentRefs use ComponentRefEditPart
- Our MapAndPathGraphEditPart is used for both the Map and the PathGraph. Hence, it is the parent of all edit parts in the graphical editor. This edit part and those calling it don't follow GEF standards. It may be possible to refactor our code so that it is cleaner, but we have not yet attempted. Don't use this class as an example for edit part behaviour.
- All node connections use NodeConnectionEditPart
Newcomers should look into ModelElementEditPart and PathNodeEditPart to have an understanding of what an edit part has to do. Other classes might be too implementation specific to allow for good understanding.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:
@see seg.jUCMNav.editparts.GraphicalEditPartFactory
@see seg.jUCMNav.editparts.ModelElementEditPart
@see seg.jUCMNav.editparts.PathNodeEditPart