|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Abstraction for any object that wishes to be a roots-provider for the SystemView tree viewer.
| Method Summary | |
|---|---|
Object |
getAdapter(Class adapterType)
|
Object[] |
getConnectionChildren(IHost selectedConnection)
This method is called by the connection adapter when the user expands a connection. |
Shell |
getShell()
|
Object[] |
getSystemViewRoots()
|
Viewer |
getViewer()
|
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()
|
void |
setShell(Shell shell)
Set the shell in case it is needed for anything. |
void |
setViewer(Viewer viewer)
Set the viewer in case it is needed for anything. |
boolean |
showActionBar()
|
boolean |
showActions()
|
boolean |
showButtonBar()
|
boolean |
showingConnections()
|
| Method Detail |
public Object[] getSystemViewRoots()
public boolean hasSystemViewRoots()
getSystemViewRoots() will return a non-empty listpublic boolean showingConnections()
public Object[] getConnectionChildren(IHost selectedConnection)
selectedConnection - the connection undergoing expansion
public boolean hasConnectionChildren(IHost selectedConnection)
selectedConnection - the connection being shown in the viewer
public Object getAdapter(Class adapterType)
getAdapter in interface IAdaptablepublic void setShell(Shell shell)
shell - the shell being used by the viewer using this providerpublic Shell getShell()
public void setViewer(Viewer viewer)
viewer - the viewer that uses this providerpublic Viewer getViewer()
public boolean showActionBar()
public boolean showButtonBar()
public boolean showActions()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||