Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.perspective.model
Class AbstractISeriesParent

java.lang.Object
  extended by com.ibm.etools.iseries.perspective.model.AbstractISeriesResource
      extended by com.ibm.etools.iseries.perspective.model.AbstractISeriesParent
All Implemented Interfaces:
IISeriesResourceActionFilter
Direct Known Subclasses:
AbstractISeriesContainer, AbstractISeriesProject, AbstractISeriesProjectRoot

public abstract class AbstractISeriesParent
extends AbstractISeriesResource

Inserted into the AbstractISeriesResource hierarchy to complete the Component pattern so all children can be visited recursively.


Field Summary
 
Fields inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesResource
CONTAINER, Copyright, IFS_CONTAINER, IFS_MEMBER, IFS_ROOT, LOCAL, LOCAL_AND_REMOTE, MEMBER, NATIVE_LIBRARY, NATIVE_MEMBER, NATIVE_OBJECT, NATIVE_ROOT, PROJECT, PROJECT_ROOT, REMOTE
 
Fields inherited from interface com.ibm.etools.iseries.perspective.model.IISeriesResourceActionFilter
IS_LEAF_OBJECT, IS_LOCAL, IS_NATIVE, IS_SOURCE_FILE, IS_SYNCHRONIZED, METADATA_LEVEL
 
Constructor Summary
AbstractISeriesParent()
           
 
Method Summary
 List<AbstractISeriesResource> collectAllChildren()
          Return a collection of all of the AbstractISeriesResource instances in this IProject including the project itself.
 AbstractISeriesResource findiSeriesResource(IResource resource)
          Does the recursive work for finding resource within this object.
abstract  AbstractISeriesResource[] getChildren()
           
 
Methods inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesResource
accept, getAdapter, getBaseIResource, getISeriesProject, getIsLocal, getIsNative, getIsSynchronized, getLocationMask, getMarkerSeverity, getParent, getPropertiesModel, getType, refreshPropertiesModel, setIsLocal, setIsNative, setIsSynchronized, synchronize, testAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractISeriesParent

public AbstractISeriesParent()
Method Detail

getChildren

public abstract AbstractISeriesResource[] getChildren()

collectAllChildren

public List<AbstractISeriesResource> collectAllChildren()
Return a collection of all of the AbstractISeriesResource instances in this IProject including the project itself. This is done via recursion

Parameters:
project - - the containing IProject
Returns:
a collection of all of the AbstractISeriesResource instances in this IProject

findiSeriesResource

public AbstractISeriesResource findiSeriesResource(IResource resource)
Does the recursive work for finding resource within this object. This method synchronizes rootResource before doing search.


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.