org.eclipse.gmt.modisco.java.actions
Class BrowseJavaCode

java.lang.Object
  extended by org.eclipse.gmt.modisco.infra.discoverymanager.AbstractDiscovererImpl
      extended by org.eclipse.gmt.modisco.java.actions.BrowseJavaCode
All Implemented Interfaces:
Discoverer

Deprecated. the whole plug-in is replaced by "org.eclipse.modisco.java.discoverer" (without the "gmt" part)

@Deprecated
public class BrowseJavaCode
extends AbstractDiscovererImpl

Author:
Gabriel Barbier

Constructor Summary
BrowseJavaCode()
          Deprecated.  
 
Method Summary
 void browseJavaCode(ASTNode node)
          Deprecated.  
 void discoverElement(java.lang.Object source, java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
          Deprecated. Execute the discovery task from the selected object.
 boolean isApplicableTo(java.lang.Object source)
          Deprecated. To determine if the source object can be handled by the discoverer.
 
Methods inherited from class org.eclipse.gmt.modisco.infra.discoverymanager.AbstractDiscovererImpl
getDiscovererParameters, getSilentModeParameter, getTargetModelParameter, getTargetUriParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseJavaCode

public BrowseJavaCode()
Deprecated. 
Method Detail

discoverElement

public void discoverElement(java.lang.Object source,
                            java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
Deprecated. 
Description copied from interface: Discoverer
Execute the discovery task from the selected object. This is a method adapted to a common use of discoverers.

Specified by:
discoverElement in interface Discoverer
Overrides:
discoverElement in class AbstractDiscovererImpl
Parameters:
source - the selected object.
parameters - the target URI (can be null)

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.

browseJavaCode

public void browseJavaCode(ASTNode node)
Deprecated.