public class RemoteFileWidget
extends org.eclipse.swt.widgets.Composite
setBrowseMessage(String)
Modifier and Type | Field and Description |
---|---|
static int |
GROUP_FLAG |
static int |
RESTORE_BUTTON_FLAG |
Constructor and Description |
---|
RemoteFileWidget(org.eclipse.swt.widgets.Composite parent,
int style,
int flags,
java.lang.String title,
java.lang.String defaultPath) |
Modifier and Type | Method and Description |
---|---|
void |
addModifyListener(org.eclipse.swt.events.ModifyListener listener)
Add a listener that will be notified when the file path is modified.
|
java.lang.String |
getLocationPath()
Get the file location path.
|
void |
removeModifyListener(org.eclipse.swt.events.ModifyListener listener)
Remove a listener that will be notified when the file path is
modified.
|
void |
setBrowseMessage(java.lang.String message)
Set the message that will be displayed in the remote file browser
dialog.
|
void |
setConnection(IRemoteConnection conn)
Set the remote connection to use for browsing for the remote file.
|
void |
setEnabled(boolean enabled) |
void |
setLabel(java.lang.String label)
Set the label to be displayed
|
void |
setLocationPath(java.lang.String path)
Set the initial remote location that will be displayed in the widget.
|
changed, checkSubclass, 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, 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, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public static int GROUP_FLAG
public static int RESTORE_BUTTON_FLAG
public RemoteFileWidget(org.eclipse.swt.widgets.Composite parent, int style, int flags, java.lang.String title, java.lang.String defaultPath)
public void addModifyListener(org.eclipse.swt.events.ModifyListener listener)
listener
- listener to addpublic java.lang.String getLocationPath()
public void removeModifyListener(org.eclipse.swt.events.ModifyListener listener)
listener
- listener to removepublic void setBrowseMessage(java.lang.String message)
message
- message to be displayedpublic void setConnection(IRemoteConnection conn)
conn
- remote connectionpublic void setEnabled(boolean enabled)
setEnabled
in class org.eclipse.swt.widgets.Control
public void setLabel(java.lang.String label)
label
- public void setLocationPath(java.lang.String path)
path
-