de.cau.cs.kieler.core.annotations.ui.properties
Class AnnotationsEditingSupport

java.lang.Object
  extended by org.eclipse.jface.viewers.EditingSupport
      extended by de.cau.cs.kieler.core.annotations.ui.properties.AnnotationsEditingSupport

public class AnnotationsEditingSupport
extends EditingSupport

Editing support for annotation values.

Rating red

Constructor Summary
AnnotationsEditingSupport(ColumnViewer viewer, AnnotationsPropertySection thepropertySection)
          Creates an editing support for annotation values.
 
Method Summary
protected  boolean canEdit(Object element)
          
protected  CellEditor getCellEditor(Object element)
          
protected  Object getValue(Object element)
          
protected  void setValue(Object element, 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
 

Constructor Detail

AnnotationsEditingSupport

public AnnotationsEditingSupport(ColumnViewer viewer,
                                 AnnotationsPropertySection thepropertySection)
Creates an editing support for annotation values.

Parameters:
viewer - the column viewer
thepropertySection - the annotations property section
Method Detail

canEdit

protected boolean canEdit(Object element)

Specified by:
canEdit in class EditingSupport

getCellEditor

protected CellEditor getCellEditor(Object element)

Specified by:
getCellEditor in class EditingSupport

getValue

protected Object getValue(Object element)

Specified by:
getValue in class EditingSupport

setValue

protected void setValue(Object element,
                        Object value)

Specified by:
setValue in class EditingSupport