|
RSE Release 3.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. |
Object[] |
getSystemViewRoots()
Return the child objects to constitute the root elements in the system view tree. |
Object |
getViewer()
Deprecated. use other methods for getting the active viewer. |
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()
Test if getSystemViewRoots() will return a non-empty list |
void |
setViewer(Object viewer)
Set the viewer in case it is needed for anything. |
boolean |
showingConnections()
|
| Method Detail |
public Object[] getSystemViewRoots()
public boolean hasSystemViewRoots()
getSystemViewRoots() will return a non-empty list
true if root elements are available, or false otherwise.public 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 setViewer(Object viewer)
viewer - the viewer
that uses this providerpublic Object getViewer()
viewer
we are currently associated with
|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||