|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDiagramBehaviorUI
This interface is intended as UI dependent base interface for the common behavior object that describes and implements the behavior of diagrams and can be reused within all kinds of diagram containers, e.g. editors, views or plain UI composites.
| Method Summary | |
|---|---|
Point |
calculateRealMouseLocation(Point nativeLocation)
Calculates the mouse location depending on scrollbars and zoom factor. |
DefaultEditDomain |
getEditDomain()
Returns the GEF edit domain as needed for some of the feature functionality in Graphiti. |
GraphicalEditPart |
getEditPartForPictogramElement(PictogramElement pe)
Method to retrieve the GEF EditPart for a given
PictogramElement. |
IFigure |
getFigureForPictogramElement(PictogramElement pe)
Method to retrieve the Draw2D IFigure for a given
PictogramElement. |
| Methods inherited from interface org.eclipse.graphiti.platform.IDiagramBehavior |
|---|
executeFeature, getDiagramContainer, getEditingDomain, refresh, refreshContent, refreshPalette, refreshRenderingDecorators |
| Method Detail |
|---|
Point calculateRealMouseLocation(Point nativeLocation)
nativeLocation - the native location given as Point
Point of the real mouse locationDefaultEditDomain getEditDomain()
DefaultEditDomain used in this behavior's editorGraphicalEditor#getEditDomain()GraphicalEditPart getEditPartForPictogramElement(PictogramElement pe)
EditPart for a given
PictogramElement.
pe - the PictogramElement to retrieve the GEF
representation for
GraphicalEditPart that represents the given
PictogramElement.IFigure getFigureForPictogramElement(PictogramElement pe)
IFigure for a given
PictogramElement.
pe - the PictogramElement to retrieve the Draw2D
representation for
IFigure that represents the given
PictogramElement.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||