Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-02-19 10:16:30 -0500
committerCamille Letavernier2014-02-19 10:16:57 -0500
commit5ddc40fbd0c569e3728f0805727a0e2585d63eb6 (patch)
tree41cc45439224fdabe6054b2f4d318c88f7cce843
parentd1374f5b07a3f2e2cff017a2e1e27ac3a5b5e30c (diff)
downloadorg.eclipse.papyrus-5ddc40fbd0c569e3728f0805727a0e2585d63eb6.tar.gz
org.eclipse.papyrus-5ddc40fbd0c569e3728f0805727a0e2585d63eb6.tar.xz
org.eclipse.papyrus-5ddc40fbd0c569e3728f0805727a0e2585d63eb6.zip
417396: [CSS] The CSS Engine shall support label visibility & mask
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417396 - Fix a regression in the RequirementDiagram
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.xml13
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src-gen/org/eclipse/papyrus/sysml/diagram/requirement/preferences/PackagePreferencePage.java4
2 files changed, 15 insertions, 2 deletions
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.xml b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.xml
index 55b7fabd29f..3badb73ee40 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.xml
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.xml
@@ -675,6 +675,19 @@
</object>
</editpartProvider>
</extension>
+ <extension
+ point="org.eclipse.papyrus.infra.gmfdiag.common.notationTypesMapping">
+ <diagramMappings diagramID="RequirementDiagram">
+ <mapping
+ humanReadableType="packaged elements"
+ type="7010">
+ </mapping>
+ <mapping
+ humanReadableType="packaged elements"
+ type="7016">
+ </mapping>
+ </diagramMappings>
+ </extension>
<!-- // End of user code
-->
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src-gen/org/eclipse/papyrus/sysml/diagram/requirement/preferences/PackagePreferencePage.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src-gen/org/eclipse/papyrus/sysml/diagram/requirement/preferences/PackagePreferencePage.java
index 462310d98f2..7b042d88ec1 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src-gen/org/eclipse/papyrus/sysml/diagram/requirement/preferences/PackagePreferencePage.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src-gen/org/eclipse/papyrus/sysml/diagram/requirement/preferences/PackagePreferencePage.java
@@ -36,10 +36,10 @@ public class PackagePreferencePage extends RequirementDiagramNodePreferencePage
/** Static attribute initialization */
static {
compartmentDefaultVisibilityMap = new LinkedHashMap<String, Boolean>();
- compartmentDefaultVisibilityMap.put("PackageableElementCompartment", Boolean.TRUE); //$NON-NLS-1$
+ compartmentDefaultVisibilityMap.put("packaged elements", Boolean.TRUE); //$NON-NLS-1$
compartmentTitleDefaultVisibilityMap = new LinkedHashMap<String, Boolean>();
- compartmentTitleDefaultVisibilityMap.put("PackageableElementCompartment", Boolean.TRUE); //$NON-NLS-1$
+ compartmentTitleDefaultVisibilityMap.put("packaged elements", Boolean.TRUE); //$NON-NLS-1$
// Start of user code custom static initializations

Back to the top