Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view.scratchpad
Class SystemScratchpadViewProvider

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

public class SystemScratchpadViewProvider
extends ContainerContentProvider

This is the content and label provider for the SystemScratchpadView. This class is used both to populate the SystemScratchpadView 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
SystemScratchpadViewProvider(SystemScratchpadView view)
           
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
protected  ISystemViewElementAdapter getAdapterFor(Object object)
           
 Object[] getChildren(Object object)
           
 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)
           
 
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

SystemScratchpadViewProvider

public SystemScratchpadViewProvider(SystemScratchpadView view)
Method Detail

inputChanged

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

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)

addListener

public void addListener(ILabelProviderListener listener)

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)

removeListener

public void removeListener(ILabelProviderListener listener)

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.