Rational Developer for Power Systems Software
V7.6

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

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

public class SearchResultRootElement
extends Object

This class represents an iSeries search result root.


Field Summary
static String Copyright
           
 
Constructor Summary
SearchResultRootElement(IBMiConnection connection)
          Constructor for ISeriesSearchResultRootElement.
 
Method Summary
 void addChild(ISeriesSearchResultChildElement child)
          Add a child to the root.
 Object getAdapter(Class adapter)
           
 Object[] getChildren()
           
 IBMiConnection getConnection()
          Get the connection.
 String getFileName()
          Get the file name.
 ImageDescriptor getImageDescriptor()
          Get the image descriptor.
 SearchResultInputElement getInputElement()
          Get input element.
 String getLibraryName()
          Get the library name.
 String getMemberName()
          Get the member name.
 String getName()
          Get the name.
 int getNumOfChildren()
          Return the number of children of this root.
 String getText()
          Get the text.
 boolean handleDoubleClick()
          Handle double click.
 boolean hasChildren()
          Returns whether the root has children.
 void removeChild(ISeriesSearchResultChildElement child)
          Remove a child from the root.
 void setInputElement(SearchResultInputElement inputElement)
          Set input element.
 void setName(String name)
          Set the name.
 void setRootElementAdapter(SearchResultElementAdapter adapter)
          Set the root adapter of the 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

SearchResultRootElement

public SearchResultRootElement(IBMiConnection connection)
Constructor for ISeriesSearchResultRootElement.

Method Detail

setInputElement

public void setInputElement(SearchResultInputElement inputElement)
Set input element.

Parameters:
the - input element

getInputElement

public SearchResultInputElement getInputElement()
Get input element.

Returns:
the input element

getConnection

public IBMiConnection getConnection()
Get the connection.

Returns:
the connection

getChildren

public Object[] getChildren()
See Also:
com.ibm.etools.systems.core.search.ISystemSearchResultRootAdapter#getChildren()

getNumOfChildren

public int getNumOfChildren()
Return the number of children of this root.

Returns:
the number of children

hasChildren

public boolean hasChildren()
Returns whether the root has children.

Returns:
true if root has children, false otherwise

addChild

public void addChild(ISeriesSearchResultChildElement child)
Add a child to the root.

Parameters:
the - child to add

removeChild

public void removeChild(ISeriesSearchResultChildElement child)
Remove a child from the root.

Parameters:
the - child to remove

setName

public void setName(String name)
Set the name.

Parameters:
the - name of the root

getName

public String getName()
Get the name.

Parameters:
the - name of the root

getLibraryName

public String getLibraryName()
Get the library name.

Returns:
the library name

getFileName

public String getFileName()
Get the file name.

Returns:
the file name

getMemberName

public String getMemberName()
Get the member name.

Returns:
the member name

getText

public String getText()
Get the text.

Returns:
the text

getImageDescriptor

public ImageDescriptor getImageDescriptor()
Get the image descriptor.

Returns:
the image descriptor

getAdapter

public Object getAdapter(Class adapter)
See Also:
IAdaptable

handleDoubleClick

public boolean handleDoubleClick()
Handle double click.

Returns:
true if handled, false otherwise

setRootElementAdapter

public void setRootElementAdapter(SearchResultElementAdapter adapter)
Set the root adapter of the element

Parameters:
adapter -

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.