propertyManager
Class DirectoryCellEditor

java.lang.Object
  extended by org.eclipse.jface.viewers.CellEditor
      extended by org.eclipse.jface.viewers.DialogCellEditor
          extended by propertyManager.DirectoryCellEditor

public class DirectoryCellEditor
extends org.eclipse.jface.viewers.DialogCellEditor

Oct 22, 2005

Version:
1.0 This class allows the user to choose a directory by clicking a button in a table cell
Author:
Dan Phifer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor
org.eclipse.jface.viewers.CellEditor.LayoutData
 
Field Summary
(package private)  org.eclipse.swt.widgets.DirectoryDialog directoryDialog
           
 
Fields inherited from class org.eclipse.jface.viewers.DialogCellEditor
CELL_EDITOR_IMG_DOTS_BUTTON
 
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
 
Constructor Summary
DirectoryCellEditor(org.eclipse.swt.widgets.Composite parent)
          Creates a new color cell editor parented under the given control.
DirectoryCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
          Creates a new color cell editor parented under the given control.
 
Method Summary
private  org.eclipse.swt.widgets.DirectoryDialog getDirectoryDialog(org.eclipse.swt.widgets.Control cellEditorWindow)
           
protected  java.lang.Object openDialogBox(org.eclipse.swt.widgets.Control cellEditorWindow)
           
 
Methods inherited from class org.eclipse.jface.viewers.DialogCellEditor
createButton, createContents, createControl, deactivate, doGetValue, doSetFocus, doSetValue, getDefaultLabel, updateContents
 
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, activate, addListener, addPropertyChangeListener, create, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, 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
 

Field Detail

directoryDialog

org.eclipse.swt.widgets.DirectoryDialog directoryDialog
Constructor Detail

DirectoryCellEditor

public DirectoryCellEditor(org.eclipse.swt.widgets.Composite parent)
Creates a new color cell editor parented under the given control. The cell editor value is black (RGB(0,0,0)) initially, and has no validator.

Parameters:
parent - the parent control

DirectoryCellEditor

public DirectoryCellEditor(org.eclipse.swt.widgets.Composite parent,
                           int style)
Creates a new color cell editor parented under the given control. The cell editor value is black (RGB(0,0,0)) initially, and has no validator.

Parameters:
parent - the parent control
style - the style bits
Since:
2.1
Method Detail

openDialogBox

protected java.lang.Object openDialogBox(org.eclipse.swt.widgets.Control cellEditorWindow)
Specified by:
openDialogBox in class org.eclipse.jface.viewers.DialogCellEditor

getDirectoryDialog

private org.eclipse.swt.widgets.DirectoryDialog getDirectoryDialog(org.eclipse.swt.widgets.Control cellEditorWindow)