Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view
Class SystemTableTreeViewProvider

java.lang.Object
  extended byContainerContentProvider
      extended bycom.ibm.etools.systems.core.ui.view.SystemTableTreeViewProvider

public class SystemTableTreeViewProvider
extends ContainerContentProvider

This is the content and label provider for the SystemTableTreeView. This class is used both to populate the SystemTableTreeView but also to resolve the icon and labels for the cells in the table/tree.

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
Constructor Summary
SystemTableTreeViewProvider(SystemTableTreeView view)
           
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
 boolean flushCache()
           
protected  ISystemViewElementAdapter getAdapterFor(Object object)
           
 Object[] getCache()
           
 Object[] getCachedObjects(Object parent)
          Returns the cached objects for the given parent.
 Object[] getChildren(Object object)
           
 Image getColumnImage(Object obj, int i)
           
 String getColumnText(Object obj, int index)
           
 Object getElementAt(Object object, int i)
           
 Object[] getElements(Object object)
           
 Image getImage(Object object)
           
 Object getParent(Object object)
           
 String getText(Object object)
           
 boolean hasChildren(Object object)
           
 void inputChanged(Viewer visualPart, Object oldInput, Object newInput)
           
 boolean isDeleted(Object element)
           
 boolean isLabelProperty(Object element, String property)
           
 void removeListener(ILabelProviderListener listener)
           
 void setCache(Object[] newCache)
           
 void setCachedObjects(Object parent, Object[] children)
          Cache the objects for the given parent.
 
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

SystemTableTreeViewProvider

public SystemTableTreeViewProvider(SystemTableTreeView view)
Method Detail

inputChanged

public void inputChanged(Viewer visualPart,
                         Object oldInput,
                         Object newInput)

setCache

public void setCache(Object[] newCache)

getCache

public Object[] getCache()

flushCache

public boolean flushCache()

isDeleted

public boolean isDeleted(Object element)

getChildren

public Object[] getChildren(Object object)

getParent

public Object getParent(Object object)

hasChildren

public boolean hasChildren(Object object)

getElementAt

public Object getElementAt(Object object,
                           int i)

getAdapterFor

protected ISystemViewElementAdapter getAdapterFor(Object object)

getElements

public Object[] getElements(Object object)

getText

public String getText(Object object)

getImage

public Image getImage(Object object)

getColumnText

public String getColumnText(Object obj,
                            int index)

getColumnImage

public Image getColumnImage(Object obj,
                            int i)

addListener

public void addListener(ILabelProviderListener listener)

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)

removeListener

public void removeListener(ILabelProviderListener listener)

setCachedObjects

public void setCachedObjects(Object parent,
                             Object[] children)
Cache the objects for the given parent.

Parameters:
parent - the parent object.
children - the children to cache.

getCachedObjects

public Object[] getCachedObjects(Object parent)
Returns the cached objects for the given parent.

Parameters:
parent - the parent object.
Returns:
the cached children.

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.