Class ProfileRegistry
java.lang.Object
java.util.Observable
org.modelversioning.emfprofile.registry.internal.ProfileRegistry
- All Implemented Interfaces:
IProfileRegistry
-
Field Summary
Fields inherited from interface org.modelversioning.emfprofile.registry.IProfileRegistry
eINSTANCE, PROFILE_EXTENSION_POINT_ID, PROFILE_EXTENSION_POINT_RESOURCE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doRegisterProfile
(IProfileProvider profileProvider) protected void
doUnregisterProfile
(IProfileProvider profileProvider) Returns an unmodifiable collection of all registered profile providers.Returns an unmodifiable collection of all registered profiles.protected Collection<ProjectProfileProvider>
void
registerProfile
(IProfileProvider profileProvider) Registers the specified profile.void
unregisterProfile
(IProfileProvider profileProvider) Removes the specified profile from the registry.Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.modelversioning.emfprofile.registry.IProfileRegistry
addObserver
-
Constructor Details
-
ProfileRegistry
public ProfileRegistry()
-
-
Method Details
-
getRegisteredProfiles
Description copied from interface:IProfileRegistry
Returns an unmodifiable collection of all registered profiles.- Specified by:
getRegisteredProfiles
in interfaceIProfileRegistry
- Returns:
- all registered profiles.
-
getRegisteredProfileProviders
Description copied from interface:IProfileRegistry
Returns an unmodifiable collection of all registered profile providers.- Specified by:
getRegisteredProfileProviders
in interfaceIProfileRegistry
- Returns:
- all registered profile providers.
-
registerProfile
Description copied from interface:IProfileRegistry
Registers the specified profile.- Specified by:
registerProfile
in interfaceIProfileRegistry
- Parameters:
profileProvider
- provider for the profile to register.
-
doRegisterProfile
-
unregisterProfile
Description copied from interface:IProfileRegistry
Removes the specified profile from the registry.- Specified by:
unregisterProfile
in interfaceIProfileRegistry
- Parameters:
profileProvider
- provider for the profile to register.
-
doUnregisterProfile
-
getRegisteredProjectProfileProviders
-