|
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.SystemEmptyListAPIProviderImpl
This class is a provider of root nodes to the remote systems tree viewer part. It is a special-case provider when we want the list to be empty.
| Field Summary | |
|---|---|
protected Object[] |
emptyList
|
| Fields inherited from class org.eclipse.rse.ui.view.SystemAbstractAPIProvider |
|---|
canceledObject, errorObject, msgList, nullObject, shell, sr, viewer |
| Constructor Summary | |
|---|---|
SystemEmptyListAPIProviderImpl()
Constructor |
|
| Method Summary | |
|---|---|
Object[] |
getConnectionChildren(IHost selectedConnection)
This method is called by the connection adapter when the user expands a connection. |
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 false. |
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 org.eclipse.rse.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 org.eclipse.rse.ui.view.ISystemViewInputProvider |
|---|
getAdapter, getShell, getViewer, setShell, setViewer, showingConnections |
| Field Detail |
protected Object[] emptyList
| Constructor Detail |
public SystemEmptyListAPIProviderImpl()
| Method Detail |
public Object[] getSystemViewRoots()
We return an empty list.
getSystemViewRoots in interface ISystemViewInputProviderpublic boolean hasSystemViewRoots()
getSystemViewRoots() will return a non-empty list
We return false.
hasSystemViewRoots in interface ISystemViewInputProviderISystemViewInputProvider.getSystemViewRoots() will return a non-empty listpublic Object[] getConnectionChildren(IHost selectedConnection)
We return an empty list
getConnectionChildren in interface ISystemViewInputProviderselectedConnection - the connection undergoing expansion
public boolean hasConnectionChildren(IHost selectedConnection)
we return false
hasConnectionChildren in interface ISystemViewInputProviderselectedConnection - the connection being shown in the viewer
public boolean showActionBar()
showActionBar in interface ISystemViewInputProvidershowActionBar in class SystemAbstractAPIProviderpublic boolean showButtonBar()
showButtonBar in interface ISystemViewInputProvidershowButtonBar in class SystemAbstractAPIProviderpublic 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 | |||||||||||