Class ProfileApplicationManager
java.lang.Object
org.modelversioning.emfprofile.application.registry.internal.ProfileApplicationManager
Profile application manager manages profiles' applications of modelled ecore resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createNewProfileApplication
(IFile profileApplicationFile, Collection<Profile> profiles) Creates new profile applicationvoid
dispose()
boolean
loadProfileApplication
(IFile profileApplicationFile) Loads an existing profile application.void
removeProfileApplication
(ProfileApplicationDecorator profileApplication)
-
Constructor Details
-
ProfileApplicationManager
-
-
Method Details
-
getProfileApplications
-
hasProfileApplications
public boolean hasProfileApplications() -
createNewProfileApplication
public void createNewProfileApplication(IFile profileApplicationFile, Collection<Profile> profiles) throws CoreException, IOException Creates new profile application- Parameters:
profileApplicationFile
-profiles
-- Throws:
CoreException
IOException
-
loadProfileApplication
public ProfileApplicationDecorator loadProfileApplication(IFile profileApplicationFile) throws CoreException, IOException Loads an existing profile application.- Parameters:
workbenchPart
- to use.profileApplicationFile
- to load.- Returns:
- profile application decorator
- Throws:
CoreException
IOException
-
removeProfileApplication
-
dispose
public void dispose()
-