|
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.SystemAbstractAPIProvider
org.eclipse.rse.ui.view.SystemViewConnectionSelectionInputProvider
This input provider for the System View is used when we want to merely present a
list of existing connections for the user to select from, and optionally include
the New Connection prompting connection.
Used in the SystemSelectConnectionForm class.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.view.SystemAbstractAPIProvider |
|---|
canceledObject, emptyList, errorObject, msgList, nullObject, shell, sr, viewer |
| Constructor Summary | |
|---|---|
SystemViewConnectionSelectionInputProvider()
Constructor |
|
| Method Summary | |
|---|---|
Object[] |
getConnectionChildren(IHost selectedConnection)
This method is called by the connection adapter when the user expands a connection. |
boolean |
getShowNewConnectionPrompt()
Query whether the New Connection prompt is to be shown or not. |
String[] |
getSystemTypes()
Return the system types we are restricted by |
Object[] |
getSystemViewRoots()
|
boolean |
hasConnectionChildren(IHost selectedConnection)
This method is called by the connection adapter when deciding to show a plus-sign or not beside a connection. |
boolean |
hasSystemViewRoots()
|
void |
setShowNewConnectionPrompt(boolean show)
Specify if the New Connection prompt is to be shown. |
void |
setSystemTypes(String[] systemTypes)
Set the system types to restrict by |
boolean |
showingConnections()
Return true if we are listing connections or not, so we know whether we are interested in connection-add events |
| Methods inherited from class org.eclipse.rse.ui.view.SystemAbstractAPIProvider |
|---|
checkForNull, getAdapter, getAdapter, getCancelledMessageObject, getFailedMessageObject, getRemoteAdapter, getShell, getViewer, setShell, setViewer, showActionBar, showActions, showButtonBar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemViewConnectionSelectionInputProvider()
| Method Detail |
public void setShowNewConnectionPrompt(boolean show)
public boolean getShowNewConnectionPrompt()
public void setSystemTypes(String[] systemTypes)
public String[] getSystemTypes()
public Object[] getSystemViewRoots()
ISystemViewInputProvider.getSystemViewRoots()public boolean hasSystemViewRoots()
ISystemViewInputProvider.getSystemViewRoots() will return a non-empty listISystemViewInputProvider.hasSystemViewRoots()public boolean showingConnections()
SystemAbstractAPIProvider
showingConnections in interface ISystemViewInputProvidershowingConnections in class SystemAbstractAPIProviderISystemViewInputProvider.showingConnections()public Object[] getConnectionChildren(IHost selectedConnection)
ISystemViewInputProvider
selectedConnection - the connection undergoing expansion
ISystemViewInputProvider.getConnectionChildren(org.eclipse.rse.core.model.IHost)public boolean hasConnectionChildren(IHost selectedConnection)
ISystemViewInputProvider
selectedConnection - the connection being shown in the viewer
ISystemViewInputProvider.hasConnectionChildren(org.eclipse.rse.core.model.IHost)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||