org.eclipse.gmt.modisco.infra.discoverymanager.handlers
Class DiscovererHandler

java.lang.Object
  extended by org.eclipse.gmt.modisco.infra.discoverymanager.handlers.DiscovererHandler
All Implemented Interfaces:
Discoverer

Deprecated. use org.eclipse.modisco.infra.discovery.core framework

@Deprecated
public class DiscovererHandler
extends java.lang.Object
implements Discoverer

Author:
Gabriel Barbier

Constructor Summary
DiscovererHandler(Discoverer delegateParemeter)
          Deprecated.  
 
Method Summary
 Resource discoverElement(java.lang.Object source, URI target)
          Deprecated. 
 java.util.List<DiscoveryParameter> getDiscovererParameters()
          Deprecated. Get a complete list of all parameters available in this discoverer.
 Image getImageIcon()
          Deprecated.  
 java.lang.String getName()
          Deprecated.  
 java.lang.String[] getPaths()
          Deprecated.  
 boolean isApplicableTo(java.lang.Object source)
          Deprecated. To determine if the source object can be handled by the discoverer.
 void setImageIcon(Image imageIcon)
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated.  
 void setPaths(java.lang.String[] paths)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscovererHandler

public DiscovererHandler(Discoverer delegateParemeter)
Deprecated. 
Method Detail

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.

Specified by:
isApplicableTo in interface Discoverer
Parameters:
source - the selected object.
Returns:
true if the selected object is managed by this discoverer, false otherwise.

discoverElement

@Deprecated
public Resource discoverElement(java.lang.Object source,
                                           URI target)
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
Parameters:
source - the selected object.
target - the target URI (can be null)
Returns:
the EMF resource of the target model discovered from source.

setName

public void setName(java.lang.String name)
Deprecated. 
Parameters:
name - the name to set

getName

public java.lang.String getName()
Deprecated. 
Returns:
the name

setPaths

public void setPaths(java.lang.String[] paths)
Deprecated. 
Parameters:
paths - the paths to set

getPaths

public java.lang.String[] getPaths()
Deprecated. 
Returns:
the paths

setImageIcon

public void setImageIcon(Image imageIcon)
Deprecated. 

getImageIcon

public Image getImageIcon()
Deprecated. 

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 ...

Specified by:
getDiscovererParameters in interface Discoverer
Returns:
the set of parameter names provided by this discoverer.