|
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.SystemViewAPIProviderForFilterPools
This class is a provider of root nodes to the remote systems tree viewer part. It is used when the contents are the children of a particular subsystem. Used when user right clicks on a filter pool and selects Open In New Perspective.
| Field Summary | |
|---|---|
protected ISystemFilterPool |
filterPool
|
protected ISystemFilterPoolReference |
filterPoolReference
|
protected ISubSystem |
subsystem
|
| Fields inherited from class org.eclipse.rse.ui.view.SystemAbstractAPIProvider |
|---|
canceledObject, emptyList, errorObject, msgList, nullObject, shell, sr, viewer |
| Constructor Summary | |
|---|---|
SystemViewAPIProviderForFilterPools(ISystemFilterPoolReference filterPoolReference)
Constructor |
|
| Method Summary | |
|---|---|
Object[] |
getConnectionChildren(IHost selectedConnection)
This method is called by the connection adapter when the user expands a connection. |
ISubSystem |
getSubSystem()
Get the parent subsystem object. |
ISystemFilterPool |
getSystemFilterPool()
Get the filter pool referenced by the input filter pool reference object. |
ISystemFilterPoolReference |
getSystemFilterPoolReference()
Get the input filter pool reference object. |
Object[] |
getSystemViewRoots()
Return the children objects to consistute the root elements in the system view tree. |
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()
Return true if getSystemViewRoots() will return a non-empty list
We return true if the referenced filter pool has any filters |
void |
setFilterPoolReference(ISystemFilterPoolReference filterPoolReference)
Reset the input filter pool reference object. |
boolean |
showActions()
Return true to show right-click popup actions on objects in the tree. |
| Methods inherited from class org.eclipse.rse.ui.view.SystemAbstractAPIProvider |
|---|
checkForNull, getAdapter, getAdapter, getCancelledMessageObject, getFailedMessageObject, getRemoteAdapter, getShell, getViewer, setShell, setViewer, showActionBar, showButtonBar, showingConnections |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ISubSystem subsystem
protected ISystemFilterPool filterPool
protected ISystemFilterPoolReference filterPoolReference
| Constructor Detail |
public SystemViewAPIProviderForFilterPools(ISystemFilterPoolReference filterPoolReference)
filterPoolReference - The filterpool reference object we are drilling down on.| Method Detail |
public ISubSystem getSubSystem()
public ISystemFilterPoolReference getSystemFilterPoolReference()
public ISystemFilterPool getSystemFilterPool()
public void setFilterPoolReference(ISystemFilterPoolReference filterPoolReference)
public Object[] getSystemViewRoots()
public boolean hasSystemViewRoots()
getSystemViewRoots() will return a non-empty list
We return true if the referenced filter pool has any filters
ISystemViewInputProvider.getSystemViewRoots() will return a non-empty listpublic Object[] getConnectionChildren(IHost selectedConnection)
Not applicable for us.
selectedConnection - the connection undergoing expansion
public boolean hasConnectionChildren(IHost selectedConnection)
Not applicable for us.
selectedConnection - the connection being shown in the viewer
public boolean showActions()
showActions in interface ISystemViewInputProvidershowActions in class SystemAbstractAPIProvider
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||