Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorashatalin2006-01-12 17:19:23 +0000
committerashatalin2006-01-12 17:19:23 +0000
commit6b3eae6d24ea5dd5dedd2b6615d4f6ac75d46174 (patch)
tree64b8f05e517bcee040795f611f2f8b578cc797f1 /tests
parent7c18d23bf441ec604056d03a7ed60e6abaebc1d3 (diff)
downloadorg.eclipse.gmf-tooling-6b3eae6d24ea5dd5dedd2b6615d4f6ac75d46174.tar.gz
org.eclipse.gmf-tooling-6b3eae6d24ea5dd5dedd2b6615d4f6ac75d46174.tar.xz
org.eclipse.gmf-tooling-6b3eae6d24ea5dd5dedd2b6615d4f6ac75d46174.zip
#114178
Create shortcut functionality added
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java1
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RTSetup.java5
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java
index ae1565098..958a7b4ea 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java
@@ -67,6 +67,7 @@ public class AllTests {
protected void runTest() throws Throwable {
try {
sessionSetup.cleanup();
+ sessionSetup2.cleanup();
} catch (RuntimeException ex) {
throw ex;
} catch (Exception ex) {
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RTSetup.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RTSetup.java
index 01dd01f4c..2ef3a29c5 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RTSetup.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/RTSetup.java
@@ -121,8 +121,9 @@ public class RTSetup implements RTSource {
private void affixVisualID(View view, GenCommonBase genBase) {
EAnnotation annotation = EcoreFactory.eINSTANCE.createEAnnotation();
- annotation.setSource("VisualID");
- annotation.getDetails().put("value", String.valueOf(genBase.getVisualID()));
+ annotation.setSource("ViewIdentifier");
+ annotation.getDetails().put("modelID", String.valueOf(genBase.getDiagram().getEMFGenModel().getModelName()));
+ annotation.getDetails().put("visualID", String.valueOf(genBase.getVisualID()));
view.getEAnnotations().add(annotation);
}

Back to the top