Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormgolubev2012-05-02 09:47:39 +0000
committermgolubev2012-05-02 09:47:39 +0000
commitef2ba87ac9722324c91a6fd0bf653cfe92f82872 (patch)
treeadfe042096eed834a9feee15b4377840107f15c2
parentc9635af06016248912e52407673bcca47c9b564e (diff)
downloadorg.eclipse.gmf-tooling-ef2ba87ac9722324c91a6fd0bf653cfe92f82872.tar.gz
org.eclipse.gmf-tooling-ef2ba87ac9722324c91a6fd0bf653cfe92f82872.tar.xz
org.eclipse.gmf-tooling-ef2ba87ac9722324c91a6fd0bf653cfe92f82872.zip
Ensure auto-created layers has enablement
-rw-r--r--examples/org.eclipse.gmf.examples.taipan.gmf.editor/custom-src/org/eclipse/gmf/examples/subdiagrams/SubDiagramManagerImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/custom-src/org/eclipse/gmf/examples/subdiagrams/SubDiagramManagerImpl.java b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/custom-src/org/eclipse/gmf/examples/subdiagrams/SubDiagramManagerImpl.java
index 782d67380..0cd500cbe 100644
--- a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/custom-src/org/eclipse/gmf/examples/subdiagrams/SubDiagramManagerImpl.java
+++ b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/custom-src/org/eclipse/gmf/examples/subdiagrams/SubDiagramManagerImpl.java
@@ -55,6 +55,9 @@ public class SubDiagramManagerImpl implements SubDiagramManager {
support.getLayers().add(layerA);
support.getLayers().add(layerB);
+ //
+
+ support.ensureAllSubDiagramsHaveEnablementForAllLayers();
}
private final Resource myDiagramResource;

Back to the top