Class ProfileApplicationConstantsAndUtil
- java.lang.Object
-
- org.modelversioning.emfprofile.application.registry.ui.ProfileApplicationConstantsAndUtil
-
public final class ProfileApplicationConstantsAndUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMF_PROFILE_APPLICATION_FILE_EXTENSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceSetgetResourceSet(IWorkbenchPart workbenchPart)Returns the resolved resource set from the editing domain of the suppliedworkbenchPart.
-
-
-
Field Detail
-
EMF_PROFILE_APPLICATION_FILE_EXTENSION
public static final String EMF_PROFILE_APPLICATION_FILE_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResourceSet
public static final ResourceSet getResourceSet(IWorkbenchPart workbenchPart)
Returns the resolved resource set from the editing domain of the suppliedworkbenchPart. If noResourceSetcan be resolved, anullwill be returned, so the registry will use fall back resource set instead.- Parameters:
workbenchPart- to resolve resource set.- Returns:
- the resource set.
-
-