com.ibm.etools.systems.core.ui.view
Class SystemTableViewProvider
java.lang.Object
ContainerContentProvider
com.ibm.etools.systems.core.ui.view.SystemTableViewProvider
- Direct Known Subclasses:
- SystemBuildErrorViewProvider, SystemSearchTableViewProvider
- public class SystemTableViewProvider
- extends ContainerContentProvider
This is the content and label provider for the SystemTableView.
This class is used both to populate the SystemTableView but also
to resolve the icon and labels for the cells in the table.
- 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
_lastResults
protected Object[] _lastResults
_lastObject
protected Object _lastObject
_dateFormat
protected SimpleDateFormat _dateFormat
_viewer
protected Viewer _viewer
SystemTableViewProvider
public SystemTableViewProvider(SystemTableViewColumnManager columnManager)
- Constructor for table view provider where a column manager is present.
In this case, the columns are customizable by the user.
- Parameters:
columnManager
-
SystemTableViewProvider
public SystemTableViewProvider()
- Constructor for table view provider where a column manager is not present.
In this case, the column can not be customized
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)
getMaxCharsInColumnZero
public int getMaxCharsInColumnZero()
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)
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.