public class DiscoverJavaModelFromProject extends AbstractDiscoverJavaModelFromProject<IProject>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
DiscoverJavaModelFromProject() |
Modifier and Type | Method and Description |
---|---|
static ElementsToAnalyze |
getElementsToAnalyzeInitialValue(IProject project)
This initializer method is implemented in order to set the IJavaProject
on the instance of ElementsToAnalyze.
|
boolean |
isApplicableTo(IProject project)
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(IProject project)
IDiscoverer
Some usual implementations are proposed on AbstractDiscoverer
.
project
- the selected object.true
if the selected object is managed by this
discoverer, false
otherwise.@ParameterInitialValue(name="ELEMENTS_TO_ANALYZE") public static ElementsToAnalyze getElementsToAnalyzeInitialValue(IProject project)