Interface IProfileRegistry
-
- All Known Implementing Classes:
ProfileRegistry
public interface IProfileRegistry
Registry for all availableprofiles
.
-
-
Field Summary
Fields Modifier and Type Field Description static IProfileRegistry
eINSTANCE
The singleton instance.static String
PROFILE_EXTENSION_POINT_ID
static String
PROFILE_EXTENSION_POINT_RESOURCE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addObserver(Observer observer)
Collection<IProfileProvider>
getRegisteredProfileProviders()
Returns an unmodifiable collection of all registered profile providers.Collection<Profile>
getRegisteredProfiles()
Returns an unmodifiable collection of all registered profiles.void
registerProfile(IProfileProvider profileProvider)
Registers the specified profile.void
unregisterProfile(IProfileProvider profileProvider)
Removes the specified profile from the registry.
-
-
-
Field Detail
-
PROFILE_EXTENSION_POINT_ID
static final String PROFILE_EXTENSION_POINT_ID
- See Also:
- Constant Field Values
-
PROFILE_EXTENSION_POINT_RESOURCE_NAME
static final String PROFILE_EXTENSION_POINT_RESOURCE_NAME
- See Also:
- Constant Field Values
-
eINSTANCE
static final IProfileRegistry eINSTANCE
The singleton instance.
-
-
Method Detail
-
getRegisteredProfiles
Collection<Profile> getRegisteredProfiles()
Returns an unmodifiable collection of all registered profiles.- Returns:
- all registered profiles.
-
getRegisteredProfileProviders
Collection<IProfileProvider> getRegisteredProfileProviders()
Returns an unmodifiable collection of all registered profile providers.- Returns:
- all registered profile providers.
-
registerProfile
void registerProfile(IProfileProvider profileProvider)
Registers the specified profile.- Parameters:
profileProvider
- provider for the profile to register.
-
unregisterProfile
void unregisterProfile(IProfileProvider profileProvider)
Removes the specified profile from the registry.- Parameters:
profileProvider
- provider for the profile to register.
-
addObserver
void addObserver(Observer observer)
- Parameters:
observer
-- See Also:
Observable.addObserver(Observer)
-
-