|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.ui.SystemWidgetHelpers
org.eclipse.rse.files.ui.widgets.SystemFileWidgetHelpers
public class SystemFileWidgetHelpers
Static methods that can be used when writing SWT GUI code. They simply make it more productive.
Field Summary |
---|
Fields inherited from class org.eclipse.rse.ui.SystemWidgetHelpers |
---|
previousLabel, traceHelpIDs |
Constructor Summary | |
---|---|
SystemFileWidgetHelpers()
|
Method Summary | |
---|---|
static SystemRemoteFolderCombo |
createFolderCombo(Composite parent,
SelectionListener listener,
int horizontalSpan,
String historyKey,
boolean readOnly)
Creates a new remote system folder combobox instance and sets the default layout data, with tooltip text. |
static SystemQualifiedRemoteFolderCombo |
createQualifiedDirectoryCombo(Composite parent,
SelectionListener listener,
int horizontalSpan,
String historyKey)
Creates a new remote system directory combobox instance and sets the default layout data, with tooltip text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemFileWidgetHelpers()
Method Detail |
---|
public static SystemRemoteFolderCombo createFolderCombo(Composite parent, SelectionListener listener, int horizontalSpan, String historyKey, boolean readOnly)
Assign the listener to the passed in implementer of Listener.
A remote system folder combobox is one that mimics the local folder selection combobox, but works with remote file systems instead. It has a label, a historical dropdown, and a browse button.
parent
- composite to put the combo into.listener
- object to listen for selection events. Can be null.
If you want to listen for modify events, call addListener(SWT.Modify,this) on your own.historyKey
- The key with which to remember/restore the history for this combo. Pass null to use the overall default.horizontalSpan
- number of columns this should spanreadOnly
- true if the combo is to be readonlypublic static SystemQualifiedRemoteFolderCombo createQualifiedDirectoryCombo(Composite parent, SelectionListener listener, int horizontalSpan, String historyKey)
Assign the listener to the passed in implementer of Listener.
A remote system qualified-directory combobox is one that mimics the local directory selection combobox, but works with remote file systems instead. It has a label, a historical dropdown, and a browse button.
parent
- composite to put the combo into.listener
- object to listen for selection events. Can be null.
If you want to listen for modify events, call addListener(SWT.Modify,this) on your own.historyKey
- The key with which to remember/restore the history for this combo. Pass null to use the overall default.horizontalSpan
- number of columns this should span
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |