pl.edu.agh.cast.importer.wizard.utils
Class DataRowEditingSupport
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
pl.edu.agh.cast.importer.wizard.utils.DataRowEditingSupport
public class DataRowEditingSupport
- extends org.eclipse.jface.viewers.EditingSupport
Support for DataRow
editing, which can be set for table viewers.
- Author:
- AGH CAST Team
Methods inherited from class org.eclipse.jface.viewers.EditingSupport |
getViewer, initializeCellEditorValue, saveCellEditorValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataRowEditingSupport
public DataRowEditingSupport(org.eclipse.jface.viewers.TableViewer viewer,
String format,
int columnIdx,
ValidationPageComposite mediator)
- The default constructor.
- Parameters:
viewer
- the table viewerformat
- the formating, which is to be used to properly format column datacolumnIdx
- the column indexmediator
- the mediating composite
canEdit
protected boolean canEdit(Object element)
-
- Specified by:
canEdit
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.canEdit(java.lang.Object)
getCellEditor
protected org.eclipse.jface.viewers.CellEditor getCellEditor(Object element)
-
- Specified by:
getCellEditor
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.getCellEditor(java.lang.Object)
getValue
protected Object getValue(Object element)
-
- Specified by:
getValue
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.getValue(java.lang.Object)
setValue
protected void setValue(Object element,
Object value)
-
- Specified by:
setValue
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.setValue(java.lang.Object, java.lang.Object)
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.