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 AdapterGraphicalEditParts or AdapterConnectionEditParts only!

If you want AdapterTreeEditParts to support direct editing you have to let them implement IDirectEditPart instead.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.tu_berlin.cs.tfs.muvitorkit.gef.directedit.IDirectEditPart
IDirectEditPart.IGraphicalDirectEditPart
 
Method Summary
 Rectangle getValueLabelTextBounds()
          Usually, this method returns the bounds of some Label displaying the value that should be edited directly.
 void updateValueDisplay(String value)
          Usually, this method sets the value as text to the Label whose bounds are used to position the cell editor.
 
Methods inherited from interface de.tu_berlin.cs.tfs.muvitorkit.gef.directedit.IDirectEditPart
getDirectEditFeatureID, getDirectEditValidator
 

Method Detail

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