Community
Participate
Working Groups
This enhancement aims at allowing the user to switch between several provided figure at runtime for a selected model element. The change could be triggered by an action (actionSets, PopupMenus, ) or an event. The current figure (apparence) of a model element could be recorded in the "notation" model using a style.
Created attachment 72876 [details] here are the necessary adjustments in "org.eclipse.gmf.runtime.diagram.ui" to support the enhancement The patch mainly defines: - 1 interface ISwitchableEditPart and 2 abstract implementations (one based on ShapeNodeEditPart and the other on AbstractBorderedShapeEditpart - 1 special editpolicy and the associated request to manage change of figure - 1 view factory defining node views which owns the name of the current figure (in a NamedStyle element)
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug