org.eclipse.gmt.modisco.infra.discoverymanager
Class DiscoveryManager

java.lang.Object
  extended by AbstractUIPlugin
      extended by org.eclipse.gmt.modisco.infra.discoverymanager.DiscoveryManager

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

@Deprecated
public class DiscoveryManager
extends AbstractUIPlugin

The activator class controls the plug-in life cycle


Field Summary
static java.lang.String PLUGIN_ID
          Deprecated.  
 
Constructor Summary
DiscoveryManager()
          Deprecated. The constructor
 
Method Summary
static DiscoveryManager getDefault()
          Deprecated. Returns the shared instance
 Discoverer getDiscoverer(java.lang.String discovererName)
          Deprecated. Accessor to one discoverer registered in DiscoverersManager through extensions.
 java.util.List<DiscovererHandler> getDiscovererHandlers()
          Deprecated. Technical accessor : Accessor to all discoverers registered in DiscoverersManager through extensions.
 java.util.List<? extends Discoverer> getDiscoverers()
          Deprecated. Accessor to all discoverers registered in DiscoverersManager through extensions.
static ImageDescriptor getImageDescriptor(java.lang.String path)
          Deprecated. Returns an image descriptor for the image file at the given plug-in relative path
 void start(BundleContext context)
          Deprecated.  
 void stop(BundleContext context)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DiscoveryManager

public DiscoveryManager()
Deprecated. 
The constructor

Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getDefault

public static DiscoveryManager getDefault()
Deprecated. 
Returns the shared instance

Returns:
the shared instance

getImageDescriptor

public static ImageDescriptor getImageDescriptor(java.lang.String path)
Deprecated. 
Returns an image descriptor for the image file at the given plug-in relative path

Parameters:
path - the path
Returns:
the image descriptor

getDiscoverers

public java.util.List<? extends Discoverer> getDiscoverers()
Deprecated. 
Accessor to all discoverers registered in DiscoverersManager through extensions.

Returns:
the list of discoverers available in registry

getDiscovererHandlers

public java.util.List<DiscovererHandler> getDiscovererHandlers()
Deprecated. 
Technical accessor : Accessor to all discoverers registered in DiscoverersManager through extensions. Except that a discoverer handler provides also informations available in extension (name, path).

Returns:
the list of discoverers available in registry

getDiscoverer

public Discoverer getDiscoverer(java.lang.String discovererName)
Deprecated. 
Accessor to one discoverer registered in DiscoverersManager through extensions.

Parameters:
discovererName - name of a discoverer
Returns:
the discoverer with specified name, or null if there is no discoverer registered with specified name.