de.cau.cs.kieler.sim.kiem.properties
Class KiemPropertyTypeFile.CustomDialogCellEditor
java.lang.Object
org.eclipse.jface.viewers.CellEditor
org.eclipse.jface.viewers.TextCellEditor
de.cau.cs.kieler.sim.kiem.properties.EditableDialogCellEditor
de.cau.cs.kieler.sim.kiem.properties.KiemPropertyTypeFile.CustomDialogCellEditor
- Enclosing class:
- KiemPropertyTypeFile
public class KiemPropertyTypeFile.CustomDialogCellEditor
- extends EditableDialogCellEditor
The Class CustomDialogCellEditor.
- Rating

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 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 |
KiemPropertyTypeFile.CustomDialogCellEditor
public KiemPropertyTypeFile.CustomDialogCellEditor(Composite parent,
boolean isEditableParam)
- Instantiates a new custom dialog cell editor.
- Parameters:
parent
- the parentisEditableParam
- the isEditable parameter
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