com.ibm.etools.systems.core.ui.view
Class SystemTableTreeViewProvider
java.lang.Object
ContainerContentProvider
com.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
SystemTableTreeViewProvider
public SystemTableTreeViewProvider(SystemTableTreeView view)
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.
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.