Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.search
Class SearchResultInputElementAdapter

java.lang.Object
  extended by AbstractSystemViewAdapter
      extended by com.ibm.etools.iseries.rse.ui.search.SearchResultInputElementAdapter

public class SearchResultInputElementAdapter
extends AbstractSystemViewAdapter

This class represents an adapter for an iSeries search result set.


Field Summary
static String Copyright
           
 
Constructor Summary
SearchResultInputElementAdapter()
          Constructor for ISeriesSearchResultInputElementAdapter.
 
Method Summary
 void addActions(SystemMenuManager menu, IStructuredSelection selection, Shell parent, String menuGroup)
           
 String getAbsoluteName(Object element)
          Return the absolute name, versus just display name, of this object
 Object[] getChildren(IAdaptable element, IProgressMonitor monitor)
           
 ImageDescriptor getImageDescriptor(Object element)
           
 Object getParent(Object element)
           
 String getText(Object element)
           
 String getType(Object element)
           
 boolean hasChildren(IAdaptable element)
          Return true if this object has children.
protected  IPropertyDescriptor[] internalGetPropertyDescriptors()
          Return our unique property descriptors
 Object internalGetPropertyValue(Object key)
          Return our unique property values
 boolean remove(Object element, Object child)
           
 boolean removeAllChildren(Object element)
           
 
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

SearchResultInputElementAdapter

public SearchResultInputElementAdapter()
Constructor for ISeriesSearchResultInputElementAdapter.

Method Detail

getImageDescriptor

public ImageDescriptor getImageDescriptor(Object element)
See Also:
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getImageDescriptor(Object, boolean)

getParent

public Object getParent(Object element)
See Also:
IWorkbenchAdapter

getText

public String getText(Object element)
See Also:
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getText(Object)

getAbsoluteName

public String getAbsoluteName(Object element)
Return the absolute name, versus just display name, of this object


getType

public String getType(Object element)
See Also:
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getType(Object)

addActions

public void addActions(SystemMenuManager menu,
                       IStructuredSelection selection,
                       Shell parent,
                       String menuGroup)
See Also:
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#addActions(SystemMenuManager, IStructuredSelection, Shell, String)

hasChildren

public boolean hasChildren(IAdaptable element)
Return true if this object has children.


getChildren

public Object[] getChildren(IAdaptable element,
                            IProgressMonitor monitor)
See Also:
IWorkbenchAdapter

internalGetPropertyDescriptors

protected IPropertyDescriptor[] internalGetPropertyDescriptors()
Return our unique property descriptors


internalGetPropertyValue

public Object internalGetPropertyValue(Object key)
Return our unique property values


remove

public boolean remove(Object element,
                      Object child)
See Also:
com.ibm.etools.systems.core.ui.view.ISystemRemoveElementAdapter#remove(java.lang.Object, java.lang.Object)

removeAllChildren

public boolean removeAllChildren(Object element)
See Also:
com.ibm.etools.systems.core.ui.view.ISystemRemoveElementAdapter#removeAllChildren(java.lang.Object)

Rational Developer for Power Systems Software
V7.6

Copyright 2011 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.