|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.ui.view.SystemResourceSelectionForm
| Field Summary | |
|---|---|
protected SystemPropertySheetForm |
_ps
|
protected String |
_verbage
|
protected Object |
caller
|
protected boolean |
callerInstanceOfSystemPromptDialog
|
protected boolean |
callerInstanceOfWizardPage
|
protected IHost |
outputConnection
|
protected Object[] |
outputObjects
|
protected Object |
previousSelection
|
protected static int |
PROMPT_WIDTH
|
protected Label |
verbageLabel
|
| Constructor Summary | |
|---|---|
SystemResourceSelectionForm(Shell shell,
Composite parent,
Object caller,
SystemResourceSelectionInputProvider inputProvider,
String verbage,
boolean multipleSelection,
ISystemMessageLine msgLine)
|
|
| Method Summary | |
|---|---|
void |
applyViewerFilter(SystemActionViewerFilter filter)
|
protected void |
clearErrorMessage()
|
void |
connectionChanged(IHost connection)
|
void |
createControls(Composite parent)
|
protected ISystemViewElementAdapter |
getAdapter(Object selection)
|
protected Object |
getFirstSelection(ISelection selection)
Return first item currently selected. |
Control |
getInitialFocusControl()
|
Object[] |
getOutputObjects()
|
protected ISystemRemoteElementAdapter |
getRemoteAdapter(Object selection)
|
protected ISystemRemoteElementAdapter[] |
getRemoteAdapters(ISelection selection)
|
IHost |
getSelectedConnection()
Return selected connection |
Object |
getSelectedObject()
Return first selected object |
Object[] |
getSelectedObjects()
Return all selected objects. |
protected Object[] |
getSelections(ISelection selection)
Return all items currently selected. |
boolean |
isPageComplete()
This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons. |
void |
selectionChanged(SelectionChangedEvent e)
User selected something in the _systemViewForm. |
protected void |
setErrorMessage(String msg)
|
protected void |
setErrorMessage(SystemMessage msg)
|
void |
setMessage(String message)
Set the message shown as the text at the top of the form. |
void |
setMessageLine(ISystemMessageLine msgLine)
|
void |
setPageComplete()
Inform caller of page-complete status of this form |
protected void |
setPathText(String text)
|
boolean |
setPreSelection(Object selection)
|
void |
setSelectionTreeToolTipText(String tip)
Set the tooltip text for the remote systems tree from which an item is selected. |
void |
setSelectionValidator(IValidatorRemoteSelection selectionValidator)
Specify a validator to use when the user selects a remote file or folder. |
void |
setShowPropertySheet(boolean show)
Show the property sheet on the right hand side, to show the properties of the selected object. |
void |
setVerbage(String verbage)
|
boolean |
toggleShowPropertySheet(Shell shell,
Control contents)
Show or hide the property sheet. |
boolean |
verify()
Completes processing of the wizard page or dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final int PROMPT_WIDTH
protected SystemPropertySheetForm _ps
protected Object previousSelection
protected Object caller
protected boolean callerInstanceOfWizardPage
protected boolean callerInstanceOfSystemPromptDialog
protected String _verbage
protected Label verbageLabel
protected IHost outputConnection
protected Object[] outputObjects
| Constructor Detail |
public SystemResourceSelectionForm(Shell shell,
Composite parent,
Object caller,
SystemResourceSelectionInputProvider inputProvider,
String verbage,
boolean multipleSelection,
ISystemMessageLine msgLine)
| Method Detail |
public void setMessageLine(ISystemMessageLine msgLine)
public Object getSelectedObject()
public Object[] getSelectedObjects()
#setMultipleSelectionMode(boolean)public void createControls(Composite parent)
public Control getInitialFocusControl()
public void applyViewerFilter(SystemActionViewerFilter filter)
public boolean verify()
protected ISystemViewElementAdapter getAdapter(Object selection)
protected ISystemRemoteElementAdapter getRemoteAdapter(Object selection)
protected ISystemRemoteElementAdapter[] getRemoteAdapters(ISelection selection)
public void connectionChanged(IHost connection)
public void setVerbage(String verbage)
public boolean setPreSelection(Object selection)
protected void setPathText(String text)
public Object[] getOutputObjects()
public IHost getSelectedConnection()
protected Object getFirstSelection(ISelection selection)
protected Object[] getSelections(ISelection selection)
public boolean toggleShowPropertySheet(Shell shell,
Control contents)
shell - Use getShell() in your dialog or wizard pagecontents - Use getContents() in your dialog or wizard page
public void selectionChanged(SelectionChangedEvent e)
selectionChanged in interface ISelectionChangedListenerpublic boolean isPageComplete()
public void setPageComplete()
public void setShowPropertySheet(boolean show)
Default is false
public void setSelectionValidator(IValidatorRemoteSelection selectionValidator)
protected void clearErrorMessage()
protected void setErrorMessage(String msg)
protected void setErrorMessage(SystemMessage msg)
public void setMessage(String message)
public void setSelectionTreeToolTipText(String tip)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||