Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/templates/util/interface/CppInterfaceIncludeDeclaration.util.jet')
-rw-r--r--extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/templates/util/interface/CppInterfaceIncludeDeclaration.util.jet29
1 files changed, 0 insertions, 29 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/templates/util/interface/CppInterfaceIncludeDeclaration.util.jet b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/templates/util/interface/CppInterfaceIncludeDeclaration.util.jet
deleted file mode 100644
index 3984fdbb0f3..00000000000
--- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/templates/util/interface/CppInterfaceIncludeDeclaration.util.jet
+++ /dev/null
@@ -1,29 +0,0 @@
-<%@ jet package = "org.eclipse.papyrus.cpp.codegen.jet.util"
- skeleton = "../../generator.skeleton"
- imports = "org.eclipse.uml2.uml.NamedElement org.eclipse.uml2.uml.Package org.eclipse.papyrus.cpp.codegen.Activator Cpp.* org.eclipse.papyrus.cpp.codegen.utils.GenUtils"
- class = "CppInterfaceIncludeDeclaration"
-%>
-<%
-//////////////////////////////////////////////////////////////////////////////////////////
-// Java preparation
-//////////////////////////////////////////////////////////////////////////////////////////
-
-
- // Retrieve header file suffix
- String headerFileSuffix = Activator.getDefault().getPluginPreferences().getString("headSuffix");
-
- // Retrieve the interface
- NamedElement currentNE = (NamedElement) argument;
- String iInterfacePath = "";
- Package nearestPkg = currentNE.getNearestPackage();
- String iInterfaceName = currentNE.getName();
-
- if ( //!(nearestPkg.getUml2Package() instanceof org.eclipse.uml2.uml.Model)
- /*&&*/ !(GenUtils.hasStereotype(nearestPkg, CppRoot.class))) {
- iInterfacePath = GenUtils.getFullPath (nearestPkg) + "/";
- }
-
-//////////////////////////////////////////////////////////////////////////////////////////
-// The following part contains the template
-//////////////////////////////////////////////////////////////////////////////////////////%>
-#include <<%= iInterfacePath %><%= iInterfaceName %>.<%= headerFileSuffix %>>

Back to the top