org.argouml.profile
Class ProfileFacade

java.lang.Object
  extended by org.argouml.profile.ProfileFacade

public class ProfileFacade
extends java.lang.Object

The Facade of the profile subsystem. It provides a simplified interface to the subsystem, and access to objects of the subsystem when the methods it provides directly aren't enough.

Since:
0.25.4

Constructor Summary
ProfileFacade()
           
 
Method Summary
static void applyConfiguration(ProfileConfiguration pc)
          Applies the given ProfileConfiguration to ArgoUML
static ProfileManager getManager()
           
static boolean isInitiated()
           
static void register(Profile profile)
          Register a profile in the ProfileManager.
static void remove(Profile profile)
          Remove or unregister the profile from the ProfileManager.
static void setManager(ProfileManager profileManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileFacade

public ProfileFacade()
Method Detail

register

public static void register(Profile profile)
Register a profile in the ProfileManager.

Parameters:
profile - the profile to be registered

remove

public static void remove(Profile profile)
Remove or unregister the profile from the ProfileManager.

Parameters:
profile - the profile to be removed

getManager

public static ProfileManager getManager()
Returns:
the profile manager

setManager

public static void setManager(ProfileManager profileManager)
Parameters:
profileManager - the manager of the profiles to be used

isInitiated

public static boolean isInitiated()
Returns:
true is subsystem is initialized or false otherwise

applyConfiguration

public static void applyConfiguration(ProfileConfiguration pc)
Applies the given ProfileConfiguration to ArgoUML

Parameters:
pc - the profile configuration


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook