Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/doc/org.eclipse.papyrus.uml.diagram.common.doc/resource/constraint-creation.mediawiki')
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.diagram.common.doc/resource/constraint-creation.mediawiki16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.uml.diagram.common.doc/resource/constraint-creation.mediawiki b/plugins/doc/org.eclipse.papyrus.uml.diagram.common.doc/resource/constraint-creation.mediawiki
index 16d61ff1925..87a3870aa02 100644
--- a/plugins/doc/org.eclipse.papyrus.uml.diagram.common.doc/resource/constraint-creation.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.uml.diagram.common.doc/resource/constraint-creation.mediawiki
@@ -3,7 +3,7 @@
Creation and edition comprises includes multiple use case, namely creation of a constraint and its context and setting a specification.
<center>
-[[image:PapyrusConstraint-CreationUseCase.png]]<br/>
+[[Image:images/PapyrusConstraint-CreationUseCase.png]]<br/>
</center>
== Define a constraint and its context ==
@@ -13,19 +13,19 @@ Papyrus supports the creation of UML constraints. To create a constraint, and as
* Within any Papyrus diagram select the constraint tool from the palette and then press the mouse button at the position where you want to create the constraint on the diagram canvas. The constraint should then be connected to another element on the diagram, via a ContextLink relationship, by clicking on the target element in the diagram (in two-click mode). If you are in one-click-mode (connection tool preference), press the mouse button on the constraint and keep it pressed until the context object is selected. This ContextLink relationship defines the context for which the constraint will be evaluated.
<center>
-[[Image:PapyrusConstraint-CreateViaDiagram.png]]&nbsp;&nbsp;&nbsp;[[Image:PapyrusConstraint-ContextViaDiagram.png]]<br>
+[[Image:images/PapyrusConstraint-CreateViaDiagram.png]]&nbsp;&nbsp;&nbsp;[[Image:images/PapyrusConstraint-ContextViaDiagram.png]]<br>
The constraint and context-link tools in the palette
</center>
* Within the Model Explorer via right clicking a model element and then selecting New Child -> Create a new Constraint. The context is automatically set to the parent of the constraint. The context can be changed via the Properties View if required.<br>
<center>
-[[Image:PapyrusConstraint-CreateViaME.png]]<br>
+[[Image:images/PapyrusConstraint-CreateViaME.png]]<br>
Create a constraint via the model explorer
</center>
<center>
-[[Image:PapyrusConstraint-ContextViaPropertyView.png]]<br>
+[[Image:images/PapyrusConstraint-ContextViaPropertyView.png]]<br>
Set the context via the property view
</center>
@@ -38,7 +38,7 @@ Each constraint has a specification containing a condition. Whereas it may be an
* On the diagram select a specific editor via the context menu, as shown in the following screenshot.
<center>
-[[Image:PapyrusConstraint-ChooseEditor.png]]<br>
+[[Image:images/PapyrusConstraint-ChooseEditor.png]]<br>
Explicitly choose the editor for the constraint
</center>
@@ -46,19 +46,19 @@ Use the property view to create a new or open an existing specification, as show
In the sequel, we assume that the specification is an opaque expression.
<center>
-[[Image:PapyrusConstraint-SpecViaPropertyView.png]]<br>
+[[Image:images/PapyrusConstraint-SpecViaPropertyView.png]]<br>
Open the specification via the property view
</center>
You can add the language, as in the following figure:<br>
<center>
-[[Image:PapyrusConstraint-OpaqueExpressionAddLang.png]]<br>
+[[Image:images/PapyrusConstraint-OpaqueExpressionAddLang.png]]<br>
Specify a language.
</center>
<center>
-[[Image:PapyrusConstraint-OpaqueExpressionEdit.png]]<br>
+[[Image:images/PapyrusConstraint-OpaqueExpressionEdit.png]]<br>
Write the body of the opaque expression
</center>

Back to the top