IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.type.analyzer
Class TypeAnalyzerPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended bycom.ibm.xtools.ras.type.analyzer.TypeAnalyzerPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class TypeAnalyzerPlugin
extends org.eclipse.core.runtime.Plugin

Provides access to the ITypeAnalyzer, IArtifactDescriptorManager and IArtifactDescriptorFactory interfaces.


Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
TypeAnalyzerPlugin()
          The constructor.
 
Method Summary
static IArtifactDescriptorFactory getArtifactDescriptorFactory()
          Returns the shared instance of the IArtifactDescriptorFactory interface used to create artifact descriptors for associating an artifact type with a resource.
static IArtifactDescriptorManager getArtifactDescriptorManager()
          Returns the shared instance of the IArtifactDescriptorManager interface that manages all artifact descriptors for RAS.
static TypeAnalyzerPlugin getDefault()
          Returns the shared instance.
static String getPluginId()
          Retrieves the unique identifier of this plug-in.
static ITypeAnalyzer getTypeAnalyzer()
          Returns a new instance of an ITypeAnalyzer
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeAnalyzerPlugin

public TypeAnalyzerPlugin()
The constructor. [Eclipse 3.0] Bundles have to have a default constructor.

See Also:
Plugin.Plugin()
Method Detail

getPluginId

public static String getPluginId()
Retrieves the unique identifier of this plug-in.

Returns:
A non-empty string which is unique within the plug-in registry.

getDefault

public static TypeAnalyzerPlugin getDefault()
Returns the shared instance.

Returns:
the shared type instance of the TypeAnalyzerPlugin

getTypeAnalyzer

public static ITypeAnalyzer getTypeAnalyzer()
Returns a new instance of an ITypeAnalyzer

Returns:
a new instance of an ITypeAnalyzer

getArtifactDescriptorManager

public static IArtifactDescriptorManager getArtifactDescriptorManager()
Returns the shared instance of the IArtifactDescriptorManager interface that manages all artifact descriptors for RAS.

Returns:
a shared instance of IArtifactDescriptorManager.

getArtifactDescriptorFactory

public static IArtifactDescriptorFactory getArtifactDescriptorFactory()
Returns the shared instance of the IArtifactDescriptorFactory interface used to create artifact descriptors for associating an artifact type with a resource.

Returns:
a shared instance of IArtifactDescriptorFactory.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.