uk.ac.kcl.cch.jb.pliny.views.utils
Class ResourceExplorerCellModifier
java.lang.Object
uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerCellModifier
- All Implemented Interfaces:
- org.eclipse.jface.viewers.ICellModifier
- public class ResourceExplorerCellModifier
- extends Object
- implements org.eclipse.jface.viewers.ICellModifier
a JFace ICellModifier that manages the direct editing of the names
of item within the Resource Explorer, and ResourceExplorer-like viewParts.
- Author:
- John Bradley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceExplorerCellModifier
public ResourceExplorerCellModifier(org.eclipse.jface.viewers.TreeViewer viewer,
IResourceTreeView myPart)
canModify
public boolean canModify(Object element,
String property)
- Specified by:
canModify
in interface org.eclipse.jface.viewers.ICellModifier
getValue
public Object getValue(Object element,
String property)
- Specified by:
getValue
in interface org.eclipse.jface.viewers.ICellModifier
modify
public void modify(Object item,
String property,
Object value)
- Specified by:
modify
in interface org.eclipse.jface.viewers.ICellModifier