|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.view.SystemAbstractAPIProvider
com.ibm.etools.systems.core.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 | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.systems.core.ui.view.SystemAbstractAPIProvider |
---|
canceledObject, Copyright, emptyList, errorObject, msgList, nullObject, shell, sr, viewer |
Constructor Summary | |
---|---|
SystemViewConnectionSelectionInputProvider()
Constructor |
Method Summary | |
---|---|
Object[] |
getConnectionChildren(SystemConnection 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()
Return the children objects to consistute the root elements in the system view tree |
boolean |
hasConnectionChildren(SystemConnection selectedConnection)
This method is called by the connection adapter when deciding to show a plus-sign or not beside a connection. |
boolean |
hasSystemViewRoots()
Return true if getSystemViewRoots() will return a non-empty list |
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 com.ibm.etools.systems.core.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 |
Field Detail |
public static final String copyright
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
ISystemViewInputProvider.getSystemViewRoots()
public boolean hasSystemViewRoots()
ISystemViewInputProvider
ISystemViewInputProvider.getSystemViewRoots()
will return a non-empty list
ISystemViewInputProvider.hasSystemViewRoots()
public boolean showingConnections()
SystemAbstractAPIProvider
showingConnections
in interface ISystemViewInputProvider
showingConnections
in class SystemAbstractAPIProvider
ISystemViewInputProvider.showingConnections()
public Object[] getConnectionChildren(SystemConnection selectedConnection)
ISystemViewInputProvider
ISystemViewInputProvider.getConnectionChildren(com.ibm.etools.systems.model.SystemConnection)
public boolean hasConnectionChildren(SystemConnection selectedConnection)
ISystemViewInputProvider
ISystemViewInputProvider.hasConnectionChildren(com.ibm.etools.systems.model.SystemConnection)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |