Modifier and Type | Class and Description |
---|---|
static interface |
SelectFileControl.IFilter |
static interface |
SelectFileControl.ISelectionListener |
Constructor and Description |
---|
SelectFileControl(Composite parentComposite,
boolean onlyExisting,
SelectFileControl.IFilter resourceFilter) |
SelectFileControl(Composite parentComposite,
String fileName,
String defaultFileName,
boolean onlyExisting,
SelectFileControl.IFilter resourceFilter) |
Modifier and Type | Method and Description |
---|---|
void |
addSelectionListener(SelectFileControl.ISelectionListener listener) |
IFile |
getSelectedFile() |
IPath |
getSelectedPath() |
TreeViewer |
getViewer() |
void |
removeSelectionListener(SelectFileControl.ISelectionListener listener) |
void |
selectFileByPath(String path) |
void |
setSelection(ISelection selection) |
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
isAutoScalable
public SelectFileControl(Composite parentComposite, boolean onlyExisting, SelectFileControl.IFilter resourceFilter)
public SelectFileControl(Composite parentComposite, String fileName, String defaultFileName, boolean onlyExisting, SelectFileControl.IFilter resourceFilter)
public void addSelectionListener(SelectFileControl.ISelectionListener listener)
public void removeSelectionListener(SelectFileControl.ISelectionListener listener)
public void setSelection(ISelection selection)
public TreeViewer getViewer()
public IPath getSelectedPath()
public IFile getSelectedFile()
public void selectFileByPath(String path)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.