Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Redor2018-01-12 13:33:49 +0000
committerLaurent Redor2018-05-03 13:40:54 +0000
commit7eda213928c99cf1e5ab1dbea74a36df73c24222 (patch)
treeabeeb01ead43f71d059841da827171963f370c69
parent41333bfd064363bf9e7998f08942becebd64ebcc (diff)
downloadorg.eclipse.sirius-7eda213928c99cf1e5ab1dbea74a36df73c24222.tar.gz
org.eclipse.sirius-7eda213928c99cf1e5ab1dbea74a36df73c24222.tar.xz
org.eclipse.sirius-7eda213928c99cf1e5ab1dbea74a36df73c24222.zip
[530431] Update standard diagram services
Update according to review on another branch (v5.1.x). Bug: 530431 Cherry-picked-from: 533318 Change-Id: I1d5a5052d7f93fa99538a5a4e02afaae84f5fc8e Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.diagram.ui/src/org/eclipse/sirius/diagram/ui/tools/api/interpreter/StandardDiagramServices.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.ui/src/org/eclipse/sirius/diagram/ui/tools/api/interpreter/StandardDiagramServices.java b/plugins/org.eclipse.sirius.diagram.ui/src/org/eclipse/sirius/diagram/ui/tools/api/interpreter/StandardDiagramServices.java
index c2748e78eb..ee9df2dc0e 100644
--- a/plugins/org.eclipse.sirius.diagram.ui/src/org/eclipse/sirius/diagram/ui/tools/api/interpreter/StandardDiagramServices.java
+++ b/plugins/org.eclipse.sirius.diagram.ui/src/org/eclipse/sirius/diagram/ui/tools/api/interpreter/StandardDiagramServices.java
@@ -39,19 +39,19 @@ import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
/**
- * Class owning methods used for service: interpreter. The service methods should be prefixed by std to avoid conflict
- * with other services.
+ * Class owning methods used for "service:" interpreter, aql interpreter or others. The service methods should be
+ * prefixed by std to avoid conflict with other services.
*
* @author <a href="mailto:laurent.redor@obeo.fr">Laurent Redor</a>
*/
public class StandardDiagramServices {
/**
- * A green color for all field representing a domain class (like in SiriusEditor.colorRegistry).
+ * A green color for all fields representing a domain class (like in SiriusEditor.colorRegistry).
*/
private static final RGB DOMAIN_CLASS_FIELD_COLOR = new RGB(204, 242, 166);
/**
- * A yellow color for all field representing an interpreted expression (like in SiriusEditor.colorRegistry).
+ * A yellow color for all fields representing an interpreted expression (like in SiriusEditor.colorRegistry).
*/
private static final RGB INTERPRETED_EXPRESSION_FIELD_COLOR = new RGB(255, 245, 181);
@@ -119,10 +119,9 @@ public class StandardDiagramServices {
return result;
}
-
/**
- * Return the list of DSemanticDecorator representing semantic element having the selected EType in the
- * <code>currentDiagram</code>.
+ * Return the list of DSemanticDecorator in the <code>currentDiagram</code> representing semantic element having the
+ * EType provided by the end-user through a dialog box.
*
* @param currentDiagram
* The current {@link DSemanticDiagram}
@@ -159,7 +158,8 @@ public class StandardDiagramServices {
}
/**
- * Return the list of DSemanticDecorator corresponding to the evaluation of an expression written by the end-user.
+ * Return the list of DSemanticDecorator corresponding to the evaluation of an expression written by the end-user in
+ * a dialog box.
*
* @param currentDiagram
* The current {@link DSemanticDiagram}

Back to the top