com.opnworks.timesheet.client.views
Class TimesheetCellModifier

java.lang.Object
  extended bycom.opnworks.timesheet.client.views.TimesheetCellModifier
All Implemented Interfaces:
org.eclipse.jface.viewers.ICellModifier

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

This class implements an ICellModifier An ICellModifier is called when the user modifes a cell in the tableViewer

Author:
Mirasol OpnWorks

Constructor Summary
TimesheetCellModifier(TimesheetView timesheetView)
          Constructor
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimesheetCellModifier

public TimesheetCellModifier(TimesheetView timesheetView)
Constructor

Parameters:
timesheetView - Description of Parameter
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object element,
                                 java.lang.String property)
Specified by:
getValue in interface org.eclipse.jface.viewers.ICellModifier
Parameters:
element - Description of Parameter
property - Description of Parameter
Returns:
The Value value
See Also:
ICellModifier.getValue(java.lang.Object, java.lang.String)

canModify

public boolean canModify(java.lang.Object element,
                         java.lang.String property)
Specified by:
canModify in interface org.eclipse.jface.viewers.ICellModifier
Parameters:
element - Description of Parameter
property - Description of Parameter
Returns:
Description of the Returned Value
See Also:
ICellModifier.canModify(java.lang.Object, java.lang.String)

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
Parameters:
element - Description of Parameter
property - Description of Parameter
value - Description of Parameter
See Also:
ICellModifier.modify(java.lang.Object, java.lang.String, java.lang.Object)