org.eclipse.datatools.sqltools.data.internal.ui.editor
Class TableDataCellModifier

java.lang.Object
  extended by org.eclipse.datatools.sqltools.data.internal.ui.editor.TableDataCellModifier
All Implemented Interfaces:
org.eclipse.jface.viewers.ICellModifier

public class TableDataCellModifier
extends java.lang.Object
implements org.eclipse.jface.viewers.ICellModifier


Constructor Summary
TableDataCellModifier(ITableDataEditor editor, org.eclipse.jface.viewers.TableViewer viewer)
           
 
Method Summary
 boolean canModify(java.lang.Object element, java.lang.String property)
           
 java.lang.Object getValue(java.lang.Object element, java.lang.String property)
           
 void modify(java.lang.Object element, java.lang.String property, java.lang.Object value)
           
 void setCanModify(boolean canModify)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDataCellModifier

public TableDataCellModifier(ITableDataEditor editor,
                             org.eclipse.jface.viewers.TableViewer viewer)
Method Detail

canModify

public boolean canModify(java.lang.Object element,
                         java.lang.String property)
Specified by:
canModify in interface org.eclipse.jface.viewers.ICellModifier

setCanModify

public void setCanModify(boolean canModify)

getValue

public java.lang.Object getValue(java.lang.Object element,
                                 java.lang.String property)
Specified by:
getValue in interface org.eclipse.jface.viewers.ICellModifier

modify

public void modify(java.lang.Object element,
                   java.lang.String property,
                   java.lang.Object value)
Specified by:
modify in interface org.eclipse.jface.viewers.ICellModifier