Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/src/org/eclipse/papyrus/uml/diagram/statemachine/tests/generation/CustomCommonTemplate.xtend')
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/src/org/eclipse/papyrus/uml/diagram/statemachine/tests/generation/CustomCommonTemplate.xtend32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/src/org/eclipse/papyrus/uml/diagram/statemachine/tests/generation/CustomCommonTemplate.xtend b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/src/org/eclipse/papyrus/uml/diagram/statemachine/tests/generation/CustomCommonTemplate.xtend
deleted file mode 100644
index cd0016357b5..00000000000
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.statemachine.tests/src/org/eclipse/papyrus/uml/diagram/statemachine/tests/generation/CustomCommonTemplate.xtend
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2015 Christian W. Damus and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Christian W. Damus - Initial API and implementation
- *
- ******************************************************************************/
-package org.eclipse.papyrus.uml.diagram.statemachine.tests.generation
-
-import javax.inject.Singleton
-import org.eclipse.papyrus.tests.framework.m2t.xtend.templates.TestNodeTemplate
-
-/**
- * Common utilities for the state machine custom model-to-text templates.
- */
- @Singleton
-class CustomCommonTemplate extends TestNodeTemplate {
- def smUtils() {
- 'org.eclipse.papyrus.uml.diagram.statemachine.tests.generation.StateMachineDiagramGeneratedTestsUtil'.imported
- }
-
- def customGetContainerEditPart() '''
- @Override
- protected «'org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart'.imported» getContainerEditPart() {
- return «smUtils».resolveTopRegionCompartment(super.getContainerEditPart());
- }
- '''
-}

Back to the top