uk.ac.kcl.cch.jb.pliny.parts
Class PlinyFieldLocator

java.lang.Object
  extended byuk.ac.kcl.cch.jb.pliny.parts.PlinyFieldLocator
All Implemented Interfaces:
org.eclipse.gef.tools.CellEditorLocator

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

adapts the GEF CellEditorLocator to meet the need of Pliny's dikrect-editable items.

Author:
John Bradley

Constructor Summary
PlinyFieldLocator(org.eclipse.draw2d.Figure theFigure)
           
 
Method Summary
 void relocate(org.eclipse.jface.viewers.CellEditor celleditor)
           
protected  void setLabel(org.eclipse.draw2d.Figure theFigure)
          Stores the AnnotationFigure figure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlinyFieldLocator

public PlinyFieldLocator(org.eclipse.draw2d.Figure theFigure)
Method Detail

relocate

public void relocate(org.eclipse.jface.viewers.CellEditor celleditor)
Specified by:
relocate in interface org.eclipse.gef.tools.CellEditorLocator

setLabel

protected void setLabel(org.eclipse.draw2d.Figure theFigure)
Stores the AnnotationFigure figure.

Parameters:
theFigure - the figure to which this item is to attach.