Class IvmlModelAccessor
- java.lang.Object
-
- net.ssehub.easy.dslCore.TopLevelModelAccessor.AbstractDefaultModelAccessor<Project>
-
- net.ssehub.easy.producer.ui.internal.IvmlModelAccessor
-
- All Implemented Interfaces:
TopLevelModelAccessor.IModelAccessor<Project>
public class IvmlModelAccessor extends TopLevelModelAccessor.AbstractDefaultModelAccessor<Project>
Implements a model accessor for the top level IVML project.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXTENSIONstatic IvmlModelAccessorINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateIvmlModelAccessor()Prevents external creation (singleton).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelInfo<Project>getModelInfo(java.lang.String projectName, java.lang.Object project)Accesses the model info.ModelManagement<Project>getModelManagement()Returns the model management instance.java.lang.StringgetPathKindHint()Returns the name of the path kind to be used.-
Methods inherited from class net.ssehub.easy.dslCore.TopLevelModelAccessor.AbstractDefaultModelAccessor
addLocation, registerLoader, removeLocation, unregisterLoader
-
-
-
-
Field Detail
-
INSTANCE
public static final IvmlModelAccessor INSTANCE
-
EXTENSION
public static final java.lang.String EXTENSION
-
-
Method Detail
-
getModelInfo
public ModelInfo<Project> getModelInfo(java.lang.String projectName, java.lang.Object project)
Description copied from interface:TopLevelModelAccessor.IModelAccessorAccesses the model info. The implementation shall ensure that the returned info contains a resolved model, if possible.- Parameters:
projectName- the name of the containing project (EASy convention)project- an optional instance to access the top level model from some EASy instance- Returns:
- the model info (may be null if the model does not exist)
-
getModelManagement
public ModelManagement<Project> getModelManagement()
Description copied from interface:TopLevelModelAccessor.IModelAccessorReturns the model management instance.- Returns:
- the model management instance
-
getPathKindHint
public java.lang.String getPathKindHint()
Description copied from interface:TopLevelModelAccessor.IModelAccessorReturns the name of the path kind to be used.- Returns:
- the name of the path kind
-
-