public interface IDiagramBehaviorUI extends IDiagramBehavior
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.draw2d.geometry.Point |
calculateRealMouseLocation(org.eclipse.draw2d.geometry.Point nativeLocation)
Calculates the mouse location depending on scrollbars and zoom factor.
|
org.eclipse.gef.DefaultEditDomain |
getEditDomain()
Returns the GEF edit domain as needed for some of the feature
functionality in Graphiti.
|
org.eclipse.gef.GraphicalEditPart |
getEditPartForPictogramElement(PictogramElement pe)
Method to retrieve the GEF
EditPart for a given
PictogramElement. |
org.eclipse.draw2d.IFigure |
getFigureForPictogramElement(PictogramElement pe)
Method to retrieve the Draw2D
IFigure for a given
PictogramElement. |
executeFeature, getDiagramContainer, getEditingDomain, refresh, refreshContent, refreshPalette, refreshRenderingDecoratorsorg.eclipse.draw2d.geometry.Point calculateRealMouseLocation(org.eclipse.draw2d.geometry.Point nativeLocation)
nativeLocation - the native location given as PointPoint of the real mouse locationorg.eclipse.gef.DefaultEditDomain getEditDomain()
DefaultEditDomain used in this behavior's editorGraphicalEditor.getEditDomain()org.eclipse.gef.GraphicalEditPart getEditPartForPictogramElement(PictogramElement pe)
EditPart for a given
PictogramElement.pe - the PictogramElement to retrieve the GEF
representation forGraphicalEditPart that represents the given
PictogramElement.org.eclipse.draw2d.IFigure getFigureForPictogramElement(PictogramElement pe)
IFigure for a given
PictogramElement.pe - the PictogramElement to retrieve the Draw2D
representation forIFigure that represents the given
PictogramElement.