public class DiscoverJavaModelFromJavaProject extends AbstractDiscoverJavaModelFromProject<IJavaProject>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
DiscoverJavaModelFromJavaProject() |
Modifier and Type | Method and Description |
---|---|
static ElementsToAnalyze |
getElementsToAnalyzeInitialValue(IJavaProject source)
This initializer method is implemented in order to set the IJavaProject
on the instance of ElementsToAnalyze.
|
boolean |
isApplicableTo(IJavaProject source)
To determine if the source object can be handled by the discoverer.
|
computeDiscoverableElements, computeElementsToDiscover, computeRequiredLibraries, computeRequiredProjects, getEFactory, setDeepAnalysis, setElementsToAnalyze, setExcludedElementsRegEx, setIncludedElementsRegEx, setIncrementalMode, setLogJavaAnalysisWarnings, toString
addSourceVisitListener, getSourceVisitListeners, notifySourceRegionVisited, notifySourceRegionVisited, removeSourceVisitListener
discoverElement, getDefaultTargetURI, getTargetModel, getTargetURI, setSerializeTarget, setTargetModel, setTargetURI
isAFolder, isAJavaProject, isAnIFileWithExtension, isAProject, setRefreshSourceBeforeDiscovery
public static final java.lang.String ID
public boolean isApplicableTo(IJavaProject source)
IDiscoverer
Some usual implementations are proposed on AbstractDiscoverer
.
source
- the selected object.true
if the selected object is managed by this
discoverer, false
otherwise.@ParameterInitialValue(name="ELEMENTS_TO_ANALYZE") public static ElementsToAnalyze getElementsToAnalyzeInitialValue(IJavaProject source)