IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework
Class PatternsFrameworkPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended bycom.ibm.xtools.patterns.framework.PatternsFrameworkPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public final class PatternsFrameworkPlugin
extends org.eclipse.core.runtime.Plugin

The patterns framework plug-in class. This class is used by the patterns framework library and also serves as the class representing the plug-in.


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
PatternsFrameworkPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
          Creates a new plug-in runtime object.
 
Method Summary
static PatternsFrameworkPlugin getDefault()
          Static accessor method for retrieving the default shared instance of this plug-in.
static String getPluginId()
          Retrieves the unique identifier of this plug-in.
static org.eclipse.core.resources.IWorkspace getWorkspace()
          Returns the workspace instance.
 
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

PatternsFrameworkPlugin

public PatternsFrameworkPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Creates a new plug-in runtime object.

Method Detail

getDefault

public static PatternsFrameworkPlugin getDefault()
Static accessor method for retrieving the default shared instance of this plug-in.

Returns:
the single default shared instance is returned for this plug-in

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.

getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()
Returns the workspace instance.

Returns:
The workspace for this plug-in.
See Also:
ResourcesPlugin.getWorkspace()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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