pl.edu.agh.cast.tool
Class LabelCellEditorLocator

java.lang.Object
  extended by pl.edu.agh.cast.tool.LabelCellEditorLocator
All Implemented Interfaces:
org.eclipse.gef.tools.CellEditorLocator

public class LabelCellEditorLocator
extends Object
implements org.eclipse.gef.tools.CellEditorLocator

Constraint for placing label CellEditors.

Author:
AGH CAST Team

Constructor Summary
LabelCellEditorLocator(NodeFigure nodeFigure)
          Constructor.
 
Method Summary
protected  NodeFigure getLabel()
          Returns the nodeFigure figure.
 NodeFigure getNodeFigure()
           
 void relocate(org.eclipse.jface.viewers.CellEditor celleditor)
          
protected  void setLabel(NodeFigure stickyNote)
          Sets the node figure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelCellEditorLocator

public LabelCellEditorLocator(NodeFigure nodeFigure)
Constructor.

Parameters:
nodeFigure - node figure
Method Detail

getNodeFigure

public NodeFigure getNodeFigure()

relocate

public void relocate(org.eclipse.jface.viewers.CellEditor celleditor)

Specified by:
relocate in interface org.eclipse.gef.tools.CellEditorLocator
See Also:
CellEditorLocator.relocate(org.eclipse.jface.viewers.CellEditor)

getLabel

protected NodeFigure getLabel()
Returns the nodeFigure figure.


setLabel

protected void setLabel(NodeFigure stickyNote)
Sets the node figure.

Parameters:
nodeFigure - The nodeFigure to set


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.