IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testeditor.main
Class BuiltinDatasources

java.lang.Object
  extended by com.ibm.rational.test.lt.testeditor.main.BuiltinDatasources
All Implemented Interfaces:
IBaseLabelProvider, IContentProvider, ILabelProvider, IStructuredContentProvider, ITreeContentProvider

public class BuiltinDatasources
extends Object
implements ITreeContentProvider, ILabelProvider


Constructor Summary
BuiltinDatasources(LoadTestEditor testEditor)
           
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
 void clearOptions()
           
 void dispose()
           
static String getCategoryId(IConfigurationElement c)
           
static Image getCategoryImage(IConfigurationElement c)
           
static String getCategorylabel(IConfigurationElement c)
           
 Object[] getChildren(Object parentElement)
           
 Object[] getElements(Object inputElement)
           
 Image getImage(Object element)
           
 ImageDescriptor getImageDescriptor(Object object)
           
 Object getLastSelection()
           
 Object getParent(Object element)
           
 String getSectionDescripton(com.ibm.rational.test.common.models.behavior.cbdata.BuiltInDataSource bids)
           
 String getText(Object element)
           
 boolean hasChildren(Object element)
           
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
           
 boolean isLabelProperty(Object element, String property)
           
 boolean isShowExistsing()
           
 void removeListener(ILabelProviderListener listener)
           
 void setDefaultSelection(Object lastSelection)
           
 void setShowExistsing(boolean showExistsing)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuiltinDatasources

public BuiltinDatasources(LoadTestEditor testEditor)
Method Detail

getChildren

public Object[] getChildren(Object parentElement)
Specified by:
getChildren in interface ITreeContentProvider

getParent

public Object getParent(Object element)
Specified by:
getParent in interface ITreeContentProvider

hasChildren

public boolean hasChildren(Object element)
Specified by:
hasChildren in interface ITreeContentProvider

getImage

public Image getImage(Object element)
Specified by:
getImage in interface ILabelProvider

getImageDescriptor

public ImageDescriptor getImageDescriptor(Object object)

getText

public String getText(Object element)
Specified by:
getText in interface ILabelProvider

getElements

public Object[] getElements(Object inputElement)
Specified by:
getElements in interface IStructuredContentProvider
Specified by:
getElements in interface ITreeContentProvider

dispose

public void dispose()
Specified by:
dispose in interface IBaseLabelProvider
Specified by:
dispose in interface IContentProvider

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)
Specified by:
inputChanged in interface IContentProvider

addListener

public void addListener(ILabelProviderListener listener)
Specified by:
addListener in interface IBaseLabelProvider

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)
Specified by:
isLabelProperty in interface IBaseLabelProvider

removeListener

public void removeListener(ILabelProviderListener listener)
Specified by:
removeListener in interface IBaseLabelProvider

setDefaultSelection

public void setDefaultSelection(Object lastSelection)
Parameters:
lastSelection -

getLastSelection

public Object getLastSelection()
Returns:
Object

getCategoryId

public static String getCategoryId(IConfigurationElement c)

getCategorylabel

public static String getCategorylabel(IConfigurationElement c)

getCategoryImage

public static Image getCategoryImage(IConfigurationElement c)

isShowExistsing

public boolean isShowExistsing()

setShowExistsing

public void setShowExistsing(boolean showExistsing)

clearOptions

public void clearOptions()

getSectionDescripton

public String getSectionDescripton(com.ibm.rational.test.common.models.behavior.cbdata.BuiltInDataSource bids)

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.