|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemViewInputProvider
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 |
---|
Object[] getSystemViewRoots()
boolean hasSystemViewRoots()
getSystemViewRoots()
will return a non-empty list
true
if root elements are available, or false
otherwise.boolean showingConnections()
Object[] getConnectionChildren(IHost selectedConnection)
selectedConnection
- the connection undergoing expansion
boolean hasConnectionChildren(IHost selectedConnection)
selectedConnection
- the connection being shown in the viewer
Object getAdapter(Class adapterType)
getAdapter
in interface IAdaptable
void setViewer(Object viewer)
viewer
- the viewer
that uses this providerObject getViewer()
viewer
we are currently associated with
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |