IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.profile.management
Class ProfileManagementPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended bycom.ibm.xtools.ras.profile.management.ProfileManagementPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Provides access to the IArtifactManagerFactory, IArtifactFilterFactory and IRelatedAssetManager interfaces used to help manage Asset instances.


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
ProfileManagementPlugin()
          The default constructor.
 
Method Summary
static IRelatedAssetManager createRelatedAssetManager(Asset theAsset)
          Creates a new instance of IRelatedAssetManager using theAsset as the Asset to manage.
static IArtifactFilterFactory getArtifactFilterFactory()
          Retrieves the shared instance of the IArtifactFilterFactory
static IArtifactManagerFactory getArtifactManagerFactory()
          Retrieves the shared instance of the IArtifactManagerFactory
static ProfileManagementPlugin getDefault()
          Retrieves the shared instance of the RAS Profile Management plugin.
static String getPluginId()
          Retrieves the unique identifier of this plug-in.
 
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

ProfileManagementPlugin

public ProfileManagementPlugin()
The default constructor.

Method Detail

getDefault

public static ProfileManagementPlugin getDefault()
Retrieves the shared instance of the RAS Profile Management plugin.

Returns:
Returns the shared instance.

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.

getArtifactManagerFactory

public static IArtifactManagerFactory getArtifactManagerFactory()
Retrieves the shared instance of the IArtifactManagerFactory

Returns:
the artifact manager factory

getArtifactFilterFactory

public static IArtifactFilterFactory getArtifactFilterFactory()
Retrieves the shared instance of the IArtifactFilterFactory

Returns:
the artifact filter factory

createRelatedAssetManager

public static IRelatedAssetManager createRelatedAssetManager(Asset theAsset)
                                                      throws IllegalArgumentException
Creates a new instance of IRelatedAssetManager using theAsset as the Asset to manage.

Parameters:
theAsset - the Asset to manage
Returns:
a new instance of an IRelatedAssetManager
Throws:
IllegalArgumentException - if theAsset is null.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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