|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.analysis.core.AnalysisUtil
public final class AnalysisUtil
This utility class contains several useful methods for routine analysis functionality which can be used by any user code
| Method Summary | |
|---|---|
static AbstractAnalysisElement |
getAnalysisElement(java.lang.String elementId)
This utility method finds the AnalysisElement associated with the given unique identifier |
static IAnalysisViewer |
getAnalysisViewer(java.lang.String viewerId)
Return the analysis viewer for the specified viewer ID |
static java.util.List |
getFilteredResources(java.util.List inputResources,
java.lang.String filter)
Retrieve a list of resources matching a defined set of comma-separated content types. |
static java.util.List |
getFilteredResources(java.util.List inputResources,
java.lang.String filter,
java.lang.String requiredNature)
Retrieve a list of resources matching a defined set of comma-separated content types. |
static AnalysisProviderManager |
getProviderManager()
Return a list of registered analysis provider managers. |
static boolean |
isBusy()
Deprecated. use AnalysisHistoryFactory.instance().isBusy() |
static void |
setBusy(boolean busy)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AnalysisProviderManager getProviderManager()
public static boolean isBusy()
public static void setBusy(boolean busy)
public static IAnalysisViewer getAnalysisViewer(java.lang.String viewerId)
viewerId - The id of the viewer to find
public static AbstractAnalysisElement getAnalysisElement(java.lang.String elementId)
elementId - The unique identifier of the element to find
public static java.util.List getFilteredResources(java.util.List inputResources,
java.lang.String filter)
inputResources - A list of resources from which the filter resource set is derived.filter - A comma-separated string of resource file extensions
public static java.util.List getFilteredResources(java.util.List inputResources,
java.lang.String filter,
java.lang.String requiredNature)
inputResources - A list of resources from which the filter resource set is derived.filter - A comma-separated string of resource file extensionsrequiredNature - a String identifying the project nature required for analysis, or null if none required
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||