public class DiscoverKDMModelFromJavaModel extends AbstractModelDiscoverer<IFile>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
| Constructor and Description |
|---|
DiscoverKDMModelFromJavaModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicableTo(IFile file)
To determine if the source object can be handled by the discoverer.
|
void |
setPathToTransformation(java.lang.String pathToTransformation) |
discoverElement, getDefaultTargetURI, getTargetModel, getTargetURI, setSerializeTarget, setTargetModel, setTargetURIisAFolder, isAJavaProject, isAnIFileWithExtension, isAProject, setRefreshSourceBeforeDiscoverypublic static final java.lang.String ID
@Parameter(name="PATH_TO_TRANSFORMATION", description="Indicates which .asm file to use for the ATL transformation (specified as a java URL)") public void setPathToTransformation(java.lang.String pathToTransformation)
public boolean isApplicableTo(IFile file)
IDiscoverer
Some usual implementations are proposed on AbstractDiscoverer.
file - the selected object.true if the selected object is managed by this
discoverer, false otherwise.