de.tu_berlin.cs.tfs.muvitorkit.gef.directedit
Interface IDirectEditPart.IGraphicalDirectEditPart
- All Superinterfaces:
- IDirectEditPart
- Enclosing interface:
- IDirectEditPart
public static interface IDirectEditPart.IGraphicalDirectEditPart
- extends IDirectEditPart
Interface for providing necessary information to
MuvitorDirectEditManager
and MuvitorDirectEditPolicy
. For
AdapterGraphicalEditPart
s or AdapterConnectionEditPart
s
only!
If you want AdapterTreeEditPart
s to support direct editing you
have to let them implement IDirectEditPart
instead.
- Rating

getValueLabelTextBounds
Rectangle getValueLabelTextBounds()
- Usually, this method returns the bounds of some
Label
displaying the value that should be edited directly.
- Returns:
- the bounds to position the cell editor for direct editing
updateValueDisplay
void updateValueDisplay(String value)
- Usually, this method sets the value as text to the
Label
whose bounds are used to position the cell editor.
- Parameters:
value
- the current value of the direct edit cell editor, for
updating the edit part's figure during direct editing