Package | Description |
---|---|
org.polarsys.chess.core.constraint | |
org.polarsys.chess.core.internal.views | |
org.polarsys.chess.core.views |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
DynamicConstraint.check(org.eclipse.emf.common.notify.Notification notification,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Execute
#checkConstraint(Notification, DesignView) method given the current DiagramStatus.DesignView . |
abstract boolean |
DynamicConstraint.checkConstraint(org.eclipse.emf.common.notify.Notification notification,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain currentDomain)
This is the method to implement in order to perform all the checks required by this constraint.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
InternalViewUtils.checkPermission(DiagramStatus.DesignView designView,
EntryId entryId,
byte permission,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Checks the .
|
static boolean |
InternalViewUtils.checkPermission(java.lang.String viewName,
EntryId entryId,
byte permission,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Check permission.
|
static boolean |
InternalViewUtils.isElementWritable(org.eclipse.uml2.uml.Element element,
DiagramStatus.DesignView currentView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DiagramStatus.DesignView |
DiagramStatus.getCurrentView()
Gets the current view.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ViewUtils.getBaseViewName(DiagramStatus.DesignView currentView)
Returns the name of the current actual view.
|
static boolean |
ViewUtils.hasConcurrentViews(DiagramStatus.DesignView currentView)
Checks if the current view has virtual views activated.
|
static boolean |
ViewUtils.isComponentView(DiagramStatus.DesignView view)
Deprecated.
use isDesignView(pkg, CHESSProfileManager.COMPONENT_VIEW)
|
static boolean |
ViewUtils.isConcurrentView(DiagramStatus.DesignView currentView)
Checks if the current design view is a virtual view.
|
static boolean |
ViewUtils.isDependabilityAnalysisView(DiagramStatus.DesignView view)
Deprecated.
use isDesignView(pkg, CHESSProfileManager.DEPENDABILITY_ANALYSIS_VIEW)
|
static boolean |
ViewUtils.isDeploymentView(DiagramStatus.DesignView view)
Deprecated.
use
#isDesignView(DesignView, String) instead. |
static boolean |
ViewUtils.isDesignView(DiagramStatus.DesignView view,
java.lang.String name)
Checks if the current design view has the corresponding name.
|
static boolean |
ViewUtils.isElementInstantiable(org.eclipse.emf.ecore.EObject element,
java.lang.Object feature,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Checks if the current view owns (i.e.
|
static boolean |
ViewUtils.isElementWritable_(org.eclipse.emf.ecore.EObject element,
java.lang.Object feature,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Checks if the current view has write access to (i.e can edit) the element/feature passed.
|
static boolean |
ViewUtils.isElementWritable_(org.eclipse.emf.ecore.EObject element,
java.lang.Object feature,
java.lang.String viewName,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Checks if the given view has write access to (i.e can edit) the element/feature passed.
|
static boolean |
ViewUtils.isExtraFunctionalView(DiagramStatus.DesignView view)
Deprecated.
use isDesignView(pkg, CHESSProfileManager.EXTRAFUNCTIONAL_VIEW)
|
static boolean |
ViewUtils.isOnView(DiagramStatus.DesignView currentView,
java.lang.String view)
Checks if the virtual design view is enabled.
|
static boolean |
ViewUtils.isStereotypeInstantiable(org.eclipse.emf.ecore.EObject element,
java.lang.Object feature,
java.lang.Object stereotype,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Checks if the current view can create a stereotype.
|
static boolean |
ViewUtils.isStereotypeWritable(org.eclipse.emf.ecore.EObject element,
java.lang.Object feature,
java.lang.Object stereotype,
DiagramStatus.DesignView currentView,
org.polarsys.chess.chessmlprofile.Core.Domain theDomain)
Checks if the current view can edit a stereotype.
|