iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.views
Class ISeriesEditorTreeContentProvider

java.lang.Object
  extended bycom.ibm.etools.iseries.editor.views.ISeriesEditorTreeContentProvider
All Implemented Interfaces:
IContentProvider, IStructuredContentProvider, ITreeContentProvider

public class ISeriesEditorTreeContentProvider
extends Object
implements ITreeContentProvider

This content provider deals with LanguageModelElements


Field Summary
static String Copyright
           
 
Constructor Summary
ISeriesEditorTreeContentProvider()
           
 
Method Summary
 void dispose()
          Does nothing.
 Object[] getChildren(Object element)
          Returns an array of child elements parented by the given element.
 Object[] getElements(Object element)
          Returns an array of child elements parented by the given element.
 Object getParent(Object element)
          Returns the parent of this element.
 boolean hasChildren(Object element)
          Returns whether the given element contains children.
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
          Does nothing.
 boolean isDeleted(Object element)
          Always returns false.
 
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

ISeriesEditorTreeContentProvider

public ISeriesEditorTreeContentProvider()
Method Detail

dispose

public void dispose()
Does nothing.

Specified by:
dispose in interface IContentProvider

getChildren

public Object[] getChildren(Object element)
Returns an array of child elements parented by the given element.

Specified by:
getChildren in interface ITreeContentProvider

getElements

public Object[] getElements(Object element)
Returns an array of child elements parented by the given element.

Specified by:
getElements in interface IStructuredContentProvider

getParent

public Object getParent(Object element)
Returns the parent of this element.

Specified by:
getParent in interface ITreeContentProvider

hasChildren

public boolean hasChildren(Object element)
Returns whether the given element contains children.

Specified by:
hasChildren in interface ITreeContentProvider

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)
Does nothing.

Specified by:
inputChanged in interface IContentProvider

isDeleted

public boolean isDeleted(Object element)
Always returns false.


iSeries Remote Systems
v6.0.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.