|
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
com.ibm.etools.systems.files.impl.SystemFileSubSystemAPIProviderImpl
This class is a provider of root nodes to the remote systems tree viewer part. It is used when the contents are to be subset to a particular remote file subsystem instance.
Field Summary | |
---|---|
static String |
Copyright
|
protected RemoteFileSubSystem |
subsystem
|
Fields inherited from class com.ibm.etools.systems.files.impl.SystemFileAPIProviderImpl |
---|
directoryMode, 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 | |
---|---|
SystemFileSubSystemAPIProviderImpl(RemoteFileSubSystem subsystem,
boolean directoryMode)
Constructor for SystemFileAPIProvider |
Method Summary | |
---|---|
Object |
getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. |
Object[] |
getConnectionChildren(SystemConnection selectedConnection)
This method is called by the connection adapter when the user expands a connection. |
RemoteFileSubSystem |
getSubSystem()
Get the input subsystem object. |
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. |
Methods inherited from class com.ibm.etools.systems.files.impl.SystemFileAPIProviderImpl |
---|
getConnectionCount, getConnections, isDirectoriesOnly, showActionBar, showActions, showButtonBar |
Methods inherited from class com.ibm.etools.systems.core.ui.view.SystemAbstractAPIProvider |
---|
checkForNull, 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.files.SystemFileAPIProvider |
---|
getConnectionCount, getConnections, isDirectoriesOnly |
Methods inherited from interface com.ibm.etools.systems.core.ui.view.ISystemViewInputProvider |
---|
getShell, getViewer, setShell, setViewer, showActionBar, showActions, showButtonBar, showingConnections |
Field Detail |
public static final String Copyright
protected RemoteFileSubSystem subsystem
Constructor Detail |
public SystemFileSubSystemAPIProviderImpl(RemoteFileSubSystem subsystem, boolean directoryMode)
subsystem
- The remote file subsystem from which we want to list referenced filter pools, filters and file system objects.directoryMode
- true if you only want to traverse directories, false for both files and directories.Method Detail |
public RemoteFileSubSystem getSubSystem()
public Object[] getSystemViewRoots()
getSystemViewRoots
in interface ISystemViewInputProvider
getSystemViewRoots
in class SystemFileAPIProviderImpl
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
hasSystemViewRoots
in class SystemFileAPIProviderImpl
public Object[] getConnectionChildren(SystemConnection selectedConnection)
getConnectionChildren
in interface ISystemViewInputProvider
getConnectionChildren
in class SystemFileAPIProviderImpl
public boolean hasConnectionChildren(SystemConnection selectedConnection)
hasConnectionChildren
in interface ISystemViewInputProvider
hasConnectionChildren
in class SystemFileAPIProviderImpl
public Object getAdapter(Class adapterType)
getAdapter
in interface ISystemViewInputProvider
getAdapter
in class SystemAbstractAPIProvider
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |