|
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.files.impl.SystemFileAPIProviderImpl
Where to start when looking to traverse a remote file system.
Field Summary | |
---|---|
static String |
Copyright
|
protected boolean |
directoryMode
|
protected SystemRegistry |
sr
|
Fields inherited from class com.ibm.etools.systems.core.ui.view.SystemAbstractAPIProvider |
---|
canceledObject, emptyList, errorObject, msgList, nullObject, shell, viewer |
Fields inherited from interface com.ibm.etools.systems.files.SystemFileAPIProvider |
---|
copyright |
Constructor Summary | |
---|---|
SystemFileAPIProviderImpl(boolean directoryMode)
Constructor for SystemFileAPIProvider |
Method Summary | |
---|---|
Object[] |
getConnectionChildren(SystemConnection selectedConnection)
This method is called by the connection adapter when the user expands a connection. |
int |
getConnectionCount()
Return a count of all connections which have at least one subsystem that implements/extends RemoteFileSubSystem |
SystemConnection[] |
getConnections()
Return all connections which have at least one subsystem that implements/extends RemoteFileSubSystem |
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
We return true if there are any connections containing a remote file subsystem, for any active profile. |
boolean |
isDirectoriesOnly()
Get the directories-only mode. |
boolean |
showActionBar()
Return true to show the action bar (ie, toolbar) above the viewer. |
boolean |
showActions()
Return true to show right-click popup actions on objects in the tree. |
boolean |
showButtonBar()
Return true to show the button bar above the viewer. |
Methods inherited from class com.ibm.etools.systems.core.ui.view.SystemAbstractAPIProvider |
---|
checkForNull, getAdapter, getAdapter, getCancelledMessageObject, getFailedMessageObject, getRemoteAdapter, getShell, getViewer, setShell, setViewer, showingConnections |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.systems.core.ui.view.ISystemViewInputProvider |
---|
getAdapter, getShell, getViewer, setShell, setViewer, showingConnections |
Field Detail |
public static final String Copyright
protected SystemRegistry sr
protected boolean directoryMode
Constructor Detail |
public SystemFileAPIProviderImpl(boolean directoryMode)
directoryMode
- true if you only want to traverse directories, false for both files and directories.Method Detail |
public boolean isDirectoriesOnly()
isDirectoriesOnly
in interface SystemFileAPIProvider
public Object[] getSystemViewRoots()
getSystemViewRoots
in interface ISystemViewInputProvider
public boolean hasSystemViewRoots()
getSystemViewRoots()
will return a non-empty list
We return true if there are any connections containing a remote file subsystem, for any active profile.
hasSystemViewRoots
in interface ISystemViewInputProvider
public Object[] getConnectionChildren(SystemConnection selectedConnection)
getConnectionChildren
in interface ISystemViewInputProvider
public boolean hasConnectionChildren(SystemConnection selectedConnection)
hasConnectionChildren
in interface ISystemViewInputProvider
public boolean showActionBar()
showActionBar
in interface ISystemViewInputProvider
showActionBar
in class SystemAbstractAPIProvider
public boolean showButtonBar()
showButtonBar
in interface ISystemViewInputProvider
showButtonBar
in class SystemAbstractAPIProvider
public boolean showActions()
showActions
in interface ISystemViewInputProvider
showActions
in class SystemAbstractAPIProvider
public SystemConnection[] getConnections()
getConnections
in interface SystemFileAPIProvider
public int getConnectionCount()
getConnectionCount
in interface SystemFileAPIProvider
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |