org.eclipse.gmt.modisco.java.actions
Class DiscoverKdmModelFromJavaModel
java.lang.Object
org.eclipse.modisco.kdm.source.extension.discovery.AbstractRegionDiscoverer
org.eclipse.gmt.modisco.java.actions.DefaultDiscoverer
org.eclipse.gmt.modisco.java.actions.DiscoverKdmModelFromJavaModel
- All Implemented Interfaces:
- Discoverer
Deprecated. the whole plug-in is replaced by "org.eclipse.modisco.java.discoverer" (without the "gmt" part)
@Deprecated
public class DiscoverKdmModelFromJavaModel
- extends DefaultDiscoverer
|
Method Summary |
Resource |
discoverElement(java.lang.Object source,
URI target)
Deprecated. Discovers a Java model and open MoDisco editor or default editor. |
java.util.List<DiscoveryParameter> |
getDiscovererParameters()
Deprecated. Get a complete list of all parameters available in this discoverer. |
boolean |
isApplicableTo(java.lang.Object source)
Deprecated. To determine if the source object can be handled by the discoverer. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PARAMETER_PATH_TO_TRANSFORMATION
public static final DiscoveryParameter PARAMETER_PATH_TO_TRANSFORMATION
- Deprecated.
- A parameter key for indicating which asm file to use for atl
transformation. The given path may be :
- A String representation which conforms to
URL
representation.
- A relative path to this current class localization.
example: "file//C:/MyPath/MyTransformation.asm"
DiscoverKdmModelFromJavaModel
public DiscoverKdmModelFromJavaModel()
- Deprecated.
discoverElement
public Resource discoverElement(java.lang.Object source,
URI target)
- Deprecated.
- Description copied from class:
DefaultDiscoverer
- Discovers a Java model and open MoDisco editor or default editor.
- Specified by:
discoverElement in interface Discoverer- Overrides:
discoverElement in class DefaultDiscoverer
- Parameters:
source - a IJavaProject instancetarget - should be null here.
- Returns:
- the EMF resource of the target model discovered from source.
getDiscovererParameters
public java.util.List<DiscoveryParameter> getDiscovererParameters()
- Deprecated.
- Description copied from interface:
Discoverer
- Get a complete list of all parameters available in this discoverer.
Further information should be provided to indicate features of each
parameter; for example, direction kind (in, out, in-out), whether the
parameter is optional or not ...
- Returns:
- the set of parameter names provided by this discoverer.
isApplicableTo
public boolean isApplicableTo(java.lang.Object source)
- Deprecated.
- Description copied from interface:
Discoverer
- To determine if the source object can be handled by the discoverer. Each
discoverer has to implement this method with its own criteria to filter
the selected object. If the source object is managed by this discoverer,
the discoverer menu will be available in the pop-up menu when users click
with the contextual button (right-click), and in the discoverer launch
configuration types.
- Parameters:
source - the selected object.
- Returns:
true if the selected object is managed by this
discoverer, false otherwise.
toString
public java.lang.String toString()
- Deprecated.
- Overrides:
toString in class java.lang.Object