org.eclipse.graphiti.ui.platform
Class GraphitiShapeEditPart
java.lang.Object
AbstractGraphicalEditPart
org.eclipse.graphiti.ui.platform.GraphitiShapeEditPart
- All Implemented Interfaces:
- IFeatureProviderHolder
public abstract class GraphitiShapeEditPart
- extends AbstractGraphicalEditPart
- implements IFeatureProviderHolder
This is an abstract marker class that indicates that an EditPart
is a
Graphiti edit part for a shape. It can e.g. be used to register an
IAdapterFactory
against Graphiti edit parts. This is useful e.g. for
providing standard property sheets (or
org.eclipse.ui.views.properties.tabbed.AdvancedPropertySections inside tabbed
property sheets) for a selection in the Graphiti IDiagramContainerUI
;
simply use this class as for the adaptableType attribute of the adapter
factory definition in plugin.xml.
Introduced as part of the fix for Bugzilla 341898.
- Since:
- 0.9
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphitiShapeEditPart
public GraphitiShapeEditPart()
getPictogramElement
public abstract PictogramElement getPictogramElement()
- Returns the
PictogramElement
(the model object) that this
EditPart
represents.
- Returns:
- the
PictogramElement
Copyright (c) SAP AG 2005, 2012.