@Deprecated public abstract class DefaultDiscoverer extends AbstractRegionDiscoverer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JAVA_FILE_EXTENSION
Deprecated.
|
static DiscoveryParameter |
PARAMETER_BROWSE_RESULT
Deprecated.
A parameter key for indicating to open the result model in a editor (no
effect if parameter PARAMETER_SILENT_MODE is set to false)
|
static DiscoveryParameter |
PARAMETER_LOG_JAVA_ANALYSIS_WARNINGS
Deprecated.
A parameter key for indicating to log warnings from java analysis.
|
static DiscoveryParameter |
PARAMETER_OVERWRITE_RESULT
Deprecated.
A parameter key for indicating to overwrite the output result file if it
exists.
|
static DiscoveryParameter |
PARAMETER_SILENT_MODE
Deprecated.
A parameter key for indicating to work without user interaction.
|
static DiscoveryParameter |
PARAMETER_TARGET_RESOURCE
Deprecated.
A parameter key for indicating a target Resource instance.
|
| Constructor and Description |
|---|
DefaultDiscoverer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
discoverElement(java.lang.Object source,
URI target)
Deprecated.
Discovers a Java model and open MoDisco editor or default editor.
|
JavaFactory |
getEFactory()
Deprecated.
|
Resource |
getResource(java.lang.String resourceName,
IJavaProject javaProject)
Deprecated.
|
Resource |
getResourceResult()
Deprecated.
|
void |
saveResource(URI target,
IPath path,
Resource resource,
IProgressMonitor monitor)
Deprecated.
|
void |
setResourceResult(Resource resourceResult)
Deprecated.
|
addSourceVisitListener, getListSourceVisitListener, notifyRegionSourceVisit, notifyRegionSourceVisit, removeSourceVisitListenerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDiscovererParameters, isApplicableTopublic static final java.lang.String JAVA_FILE_EXTENSION
public static final DiscoveryParameter PARAMETER_SILENT_MODE
public static final DiscoveryParameter PARAMETER_TARGET_RESOURCE
public static final DiscoveryParameter PARAMETER_BROWSE_RESULT
public static final DiscoveryParameter PARAMETER_OVERWRITE_RESULT
public static final DiscoveryParameter PARAMETER_LOG_JAVA_ANALYSIS_WARNINGS
UnresolvedItem)public Resource getResourceResult()
public void setResourceResult(Resource resourceResult)
public Resource getResource(java.lang.String resourceName,
IJavaProject javaProject)
public Resource discoverElement(java.lang.Object source,
URI target)
source - a IJavaProject instancetarget - should be null here.public void saveResource(URI target,
IPath path,
Resource resource,
IProgressMonitor monitor)
throws java.io.IOException
java.io.IOExceptionpublic JavaFactory getEFactory()