org.argouml.profile
Class ProfileFacade
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileFacade
public ProfileFacade()
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