public class DiscoverUmlModelFromKdmModel extends AbstractModelDiscoverer<IFile>
Constructor and Description |
---|
DiscoverUmlModelFromKdmModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicableTo(IFile file)
To determine if the source object can be handled by the discoverer.
|
void |
setCustomTransformation(IFile file) |
discoverElement, getDefaultTargetURI, getTargetModel, getTargetURI, setSerializeTarget, setTargetModel, setTargetURI
isAFolder, isAJavaProject, isAnIFileWithExtension, isAProject, setRefreshSourceBeforeDiscovery
@Parameter(name="CUSTOM_TRANSFORMATION", description="A .asm file (compiled by ATL) containing a custom transformation to use instead of the default KDM to UML transformation.") public void setCustomTransformation(IFile file)
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.