Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view.team
Class SystemTeamViewContentProvider

java.lang.Object
  extended byWorkbenchContentProvider
      extended bycom.ibm.etools.systems.core.ui.view.team.SystemTeamViewContentProvider

public class SystemTeamViewContentProvider
extends WorkbenchContentProvider

Content provider for the RSE's Team view part.

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
Constructor Summary
SystemTeamViewContentProvider()
          Constructor
 
Method Summary
 void dispose()
          View is going away: dispose of any local resources
 Object[] getChildren(Object element)
          Return the children of the given node, when it is expanded
 Object[] getElements(Object element)
          Return the roots elements to display in the tree initially.
 Object getParent(Object element)
          Return the parent of the given node
protected  ISystemViewElementAdapter getSystemViewAdapter(Object o)
          Returns the implementation of ISystemViewElement for the given object.
 boolean hasChildren(Object element)
          Return true if given element has children.
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
          This hooks this content provider as an IResourceChangeListener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SystemTeamViewContentProvider

public SystemTeamViewContentProvider()
Constructor

Method Detail

getChildren

public Object[] getChildren(Object element)
Return the children of the given node, when it is expanded


getParent

public Object getParent(Object element)
Return the parent of the given node


hasChildren

public boolean hasChildren(Object element)
Return true if given element has children.


getElements

public Object[] getElements(Object element)
Return the roots elements to display in the tree initially. For us, this is the RSE singleton project.


dispose

public void dispose()
View is going away: dispose of any local resources


inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)
This hooks this content provider as an IResourceChangeListener.
We will not use parent code.

See Also:
IContentProvider#inputChanged(Viewer, Object, Object)

getSystemViewAdapter

protected ISystemViewElementAdapter getSystemViewAdapter(Object o)
Returns the implementation of ISystemViewElement for the given object. Returns null if the adapter is not defined or the object is not adaptable.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.