de.cau.cs.kieler.sim.kiem.properties
Class KiemPropertyTypeFile.CustomDialogCellEditor

java.lang.Object
  extended by org.eclipse.jface.viewers.CellEditor
      extended by org.eclipse.jface.viewers.TextCellEditor
          extended by de.cau.cs.kieler.sim.kiem.properties.EditableDialogCellEditor
              extended by de.cau.cs.kieler.sim.kiem.properties.KiemPropertyTypeFile.CustomDialogCellEditor
Enclosing class:
KiemPropertyTypeFile

public class KiemPropertyTypeFile.CustomDialogCellEditor
extends EditableDialogCellEditor

The Class CustomDialogCellEditor.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor
CellEditor.LayoutData
 
Field Summary
 
Fields inherited from class de.cau.cs.kieler.sim.kiem.properties.EditableDialogCellEditor
CELL_EDITOR_IMG_DOTS_BUTTON
 
Fields inherited from class org.eclipse.jface.viewers.TextCellEditor
text
 
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
 
Constructor Summary
KiemPropertyTypeFile.CustomDialogCellEditor(Composite parent, boolean isEditableParam)
          Instantiates a new custom dialog cell editor.
 
Method Summary
protected  Object openDialogBox(Control cellEditorWindow)
          Opens a dialog box under the given parent control and returns the dialog's value when it closes, or null if the dialog was canceled or no selection was made in the dialog.
 
Methods inherited from class de.cau.cs.kieler.sim.kiem.properties.EditableDialogCellEditor
createButton, createControl, deactivate, doGetValue, doSetFocus, doSetValue, focusLost, isEditable, setEditable, updateContents
 
Methods inherited from class org.eclipse.jface.viewers.TextCellEditor
dependsOnExternalFocusListener, editOccured, getLayoutData, handleDefaultSelection, isCopyEnabled, isCutEnabled, isDeleteEnabled, isPasteEnabled, isSaveAllEnabled, isSelectAllEnabled, keyReleaseOccured, performCopy, performCut, performDelete, performPaste, performSelectAll
 
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, activate, addListener, addPropertyChangeListener, create, deactivate, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, getControl, getDoubleClickTimeout, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCorrect, isDirty, isFindEnabled, isRedoEnabled, isUndoEnabled, isValueValid, markDirty, performFind, performRedo, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KiemPropertyTypeFile.CustomDialogCellEditor

public KiemPropertyTypeFile.CustomDialogCellEditor(Composite parent,
                                                   boolean isEditableParam)
Instantiates a new custom dialog cell editor.

Parameters:
parent - the parent
isEditableParam - the isEditable parameter
Method Detail

openDialogBox

protected Object openDialogBox(Control cellEditorWindow)
Description copied from class: EditableDialogCellEditor
Opens a dialog box under the given parent control and returns the dialog's value when it closes, or null if the dialog was canceled or no selection was made in the dialog.

This framework method must be implemented by concrete subclasses. It is called when the user has pressed the button and the dialog box must pop up.

Specified by:
openDialogBox in class EditableDialogCellEditor
Parameters:
cellEditorWindow - the parent control cell editor's window so that a subclass can adjust the dialog box accordingly
Returns:
the selected value, or null if the dialog was canceled or no selection was made in the dialog