org.eclipse.gmt.modisco.java.actions
Class DiscoverJavaModelFromClassFile
java.lang.Object
org.eclipse.modisco.kdm.source.extension.discovery.AbstractRegionDiscoverer
org.eclipse.gmt.modisco.java.actions.DefaultDiscoverer
org.eclipse.gmt.modisco.java.actions.DiscoverJavaModelFromClassFile
- All Implemented Interfaces:
- Discoverer
Deprecated. the whole plug-in is replaced by "org.eclipse.modisco.java.discoverer" (without the "gmt" part)
@Deprecated
public class DiscoverJavaModelFromClassFile
- extends DefaultDiscoverer
Action to discover a Java model from a a Java project.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DiscoverJavaModelFromClassFile
public DiscoverJavaModelFromClassFile()
- Deprecated.
isApplicableTo
public final 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.- See Also:
Discoverer.isApplicableTo(java.lang.Object)
discoverElement
public void discoverElement(java.lang.Object source,
java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
- Deprecated.
- Discovers a Java model.
- Specified by:
discoverElement in interface Discoverer- Overrides:
discoverElement in class DefaultDiscoverer
- Parameters:
source - a IJavaProject instanceparameters -
- SILENT_MODE : IN parameter; if not set or set to
false, the discovered model will be opened in an
editor.
- TARGET_RESOURCE : OUT parameter; the discovered model is
stored with this key.
toString
public java.lang.String toString()
- Deprecated.
- Overrides:
toString in class java.lang.Object
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.