org.topcased.modeler.uml.sequencediagram.editingsupport
Class TextEditingSupport
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
org.topcased.modeler.uml.sequencediagram.editingsupport.TextEditingSupport
public abstract class TextEditingSupport
- extends org.eclipse.jface.viewers.EditingSupport
Editing support for editing text, you should override
getValue(Object)
and setValue(Object, Object)
.
The methods were made public so that we can access it from the delegating
editing support.
Method Summary |
boolean |
canEdit(java.lang.Object element)
|
org.eclipse.jface.viewers.CellEditor |
getCellEditor(java.lang.Object element)
|
abstract java.lang.Object |
getValue(java.lang.Object element)
|
abstract void |
setValue(java.lang.Object element,
java.lang.Object value)
|
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 |
TextEditingSupport
public TextEditingSupport(org.eclipse.jface.viewers.TableViewer viewer)
TextEditingSupport
public TextEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer)
canEdit
public boolean canEdit(java.lang.Object element)
- Specified by:
canEdit
in class org.eclipse.jface.viewers.EditingSupport
getCellEditor
public org.eclipse.jface.viewers.CellEditor getCellEditor(java.lang.Object element)
- Specified by:
getCellEditor
in class org.eclipse.jface.viewers.EditingSupport
getValue
public abstract java.lang.Object getValue(java.lang.Object element)
- Specified by:
getValue
in class org.eclipse.jface.viewers.EditingSupport
setValue
public abstract void setValue(java.lang.Object element,
java.lang.Object value)
- Specified by:
setValue
in class org.eclipse.jface.viewers.EditingSupport
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.