org.jupe.editors.classdiagram.parts
Class NodeCellEditorLocator

java.lang.Object
  extended by org.jupe.editors.classdiagram.parts.NodeCellEditorLocator
All Implemented Interfaces:
org.eclipse.gef.tools.CellEditorLocator

public class NodeCellEditorLocator
extends java.lang.Object
implements org.eclipse.gef.tools.CellEditorLocator

Constraint for placing a CellEditor. Used by EditParts to perform direct edits.

Author:
Steffen Klüpfel

Constructor Summary
NodeCellEditorLocator(org.eclipse.draw2d.Figure node)
          Constructor of a new NodeCellEditorLocator.
 
Method Summary
 void relocate(org.eclipse.jface.viewers.CellEditor celleditor)
          Relocates the CellEditor inside the given parent figure.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCellEditorLocator

public NodeCellEditorLocator(org.eclipse.draw2d.Figure node)
Constructor of a new NodeCellEditorLocator. Sets the parent figure that should contain the CellEditor.

Parameters:
node - the parent figure to contain the CellEditor.
Method Detail

relocate

public void relocate(org.eclipse.jface.viewers.CellEditor celleditor)
Relocates the CellEditor inside the given parent figure.

Specified by:
relocate in interface org.eclipse.gef.tools.CellEditorLocator
Parameters:
celleditor - the CellEditor to be relocated.