public abstract class GraphitiShapeEditPart extends org.eclipse.gef.editparts.AbstractGraphicalEditPart implements IFeatureProviderHolder
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.
REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER
Constructor and Description |
---|
GraphitiShapeEditPart() |
Modifier and Type | Method and Description |
---|---|
abstract PictogramElement |
getPictogramElement()
Returns the
PictogramElement (the model object) that this
EditPart represents. |
activate, addNodeListener, addNotify, deactivate, getAdapter, getContentPane, getDragTracker, getFigure, getSourceConnections, getTargetConnections, isSelectable, refresh, removeNodeListener, removeNotify, setLayoutConstraint
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, performRequest, removeEditPartListener, removeEditPolicy, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFeatureProvider
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, performRequest, removeEditPartListener, removeEditPolicy, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest
public abstract PictogramElement getPictogramElement()
PictogramElement
(the model object) that this
EditPart
represents.PictogramElement