eu.esdihumboldt.hale.ui.util.viewer
Class ReadOnlyEditingSupport
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
eu.esdihumboldt.hale.ui.util.viewer.ReadOnlyEditingSupport
public class ReadOnlyEditingSupport
- extends org.eclipse.jface.viewers.EditingSupport
Provides text editors to allow copying the string values of the cells
- Author:
- Simon Templer
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Constructor Summary |
ReadOnlyEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer,
org.eclipse.jface.viewers.ILabelProvider labelProvider)
|
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 |
ReadOnlyEditingSupport
public ReadOnlyEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer,
org.eclipse.jface.viewers.ILabelProvider labelProvider)
- Parameters:
viewer
- the viewerlabelProvider
- the label provider
canEdit
protected boolean canEdit(Object element)
- Specified by:
canEdit
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.canEdit(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(Object)
getValue
protected Object getValue(Object element)
- Specified by:
getValue
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.getValue(Object)
setValue
protected void setValue(Object element,
Object value)
- Specified by:
setValue
in class org.eclipse.jface.viewers.EditingSupport
- See Also:
EditingSupport.setValue(Object, Object)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d