com.ibm.etools.iseries.perspective.model
Class AbstractISeriesParent
java.lang.Object
com.ibm.etools.iseries.perspective.model.AbstractISeriesResource
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.
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 |
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 |
AbstractISeriesParent
public AbstractISeriesParent()
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.
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.