|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.remotebuild.util.SelectionUtil
public class SelectionUtil
Utilities for examinining IStructuredSelections of AbstractISeriesResources.
Constructor Summary | |
---|---|
SelectionUtil()
|
Method Summary | |
---|---|
static List<AbstractISeriesProject> |
getProjects(List groups)
Extract the list of projects from a list of groups as defined in groupByProject. |
static List |
groupByProject(IStructuredSelection selection)
|
static IStructuredSelection |
makeSelection(List groups)
Make a selection from a list of groups as defined in groupByProject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionUtil()
Method Detail |
---|
public static List groupByProject(IStructuredSelection selection)
selection
- the IStructuredSelection to be examined. The selection is
assumed to be in tree order so that projects and their resources appear together in
the selection and projects precede their owned resources in the selection.
public static IStructuredSelection makeSelection(List groups)
groups
- the list of resources grouped by project.
public static List<AbstractISeriesProject> getProjects(List groups)
groups
-
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |