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 String
EMF_PROFILE_APPLICATION_FILE_EXTENSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceSet
getResourceSet(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 noResourceSet
can be resolved, anull
will be returned, so the registry will use fall back resource set instead.- Parameters:
workbenchPart
- to resolve resource set.- Returns:
- the resource set.
-
-