Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-01-15 13:22:01 -0500
committerashatalin2009-01-15 13:22:01 -0500
commit1f07da566f48722134ad9d8b97319d87b9aacea9 (patch)
treec2d8d736105ce7e3b4da69c1c6df9afa237831f2
parentbab3edd8e05e6f25e495458d5cd93999f3b1ad3a (diff)
downloadorg.eclipse.gmf-tooling-1f07da566f48722134ad9d8b97319d87b9aacea9.tar.gz
org.eclipse.gmf-tooling-1f07da566f48722134ad9d8b97319d87b9aacea9.tar.xz
org.eclipse.gmf-tooling-1f07da566f48722134ad9d8b97319d87b9aacea9.zip
New templates root containing native libraries stabs was added. This root is important only for compilation of xpand templates in a development workspace.v20090115-1925
This root should be excluded from the deployment and should not be used on runtime.
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap4
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/.xpand-root2
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/NativeUtil.qvto25
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeLinkNotationModelRefresher.qvto1
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeNotationModelRefresher.qvto1
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/providers/NativeValidationUtils.qvto1
7 files changed, 35 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.core.resources.prefs
index 0c5821799..be0a09c8d 100644
--- a/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.core.resources.prefs
+++ b/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.core.resources.prefs
@@ -1,4 +1,5 @@
-#Wed Dec 27 13:10:57 CET 2006
+#Thu Jan 15 16:44:03 CET 2009
eclipse.preferences.version=1
encoding/templates=ISO-8859-1
encoding/templates.migrated=ISO-8859-1
+encoding/templates.nativestubs=ISO-8859-1
diff --git a/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap b/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
new file mode 100644
index 000000000..2be7d4c27
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen.lite/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="ASCII"?>
+<uriMap:MappingContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uriMap="http:///www.eclipse.org/m2m/qvt/oml/MModelUriMap/1.0.0">
+ <mapping sourceURI="http://www.eclipse.org/gmf/2008/GenModel" targetURI="platform:/resource/org.eclipse.gmf.codegen/models/gmfgen.ecore"/>
+</uriMap:MappingContainer>
diff --git a/plugins/org.eclipse.gmf.codegen.lite/.xpand-root b/plugins/org.eclipse.gmf.codegen.lite/.xpand-root
index 20d62e9b7..9afb4c23d 100644
--- a/plugins/org.eclipse.gmf.codegen.lite/.xpand-root
+++ b/plugins/org.eclipse.gmf.codegen.lite/.xpand-root
@@ -1 +1 @@
-templates.migrated, /org.eclipse.gmf.codegen/templates.migrated \ No newline at end of file
+templates.migrated, templates.nativestubs, /org.eclipse.gmf.codegen/templates.migrated \ No newline at end of file
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/NativeUtil.qvto b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/NativeUtil.qvto
new file mode 100644
index 000000000..510bb0c81
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/NativeUtil.qvto
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2009 Borland Software Corporation
+ *
+ * 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:
+ * Alexander Shatalin (Borland) - initial API and implementation
+ */
+library NativeUtil;
+
+/*
+ * This file contains a set of qvto queries duplicating corresponding queries
+ * from same native library and can be important to compile corresponding
+ * templates in a workspace.
+ *
+ * This file should NOT be deployed to final .jar - original native library
+ * implementation (registered via plugin.xml) should be used on execution time.
+ */
+
+helper validJavaIdentifier(s : String) : String {
+ return ''
+} \ No newline at end of file
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeLinkNotationModelRefresher.qvto b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeLinkNotationModelRefresher.qvto
new file mode 100644
index 000000000..a657d6110
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeLinkNotationModelRefresher.qvto
@@ -0,0 +1 @@
+/* * Copyright (c) 2009 Borland Software Corporation * * 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: * Alexander Shatalin (Borland) - initial API and implementation */ library NativeLinkNotationModelRefresher; modeltype gmfgen uses "http://www.eclipse.org/gmf/2008/GenModel"; modeltype genmodel uses "http://www.eclipse.org/emf/2002/GenModel"; /* * This file contains a set of qvto queries duplicating corresponding queries * from same native library and can be important to compile corresponding * templates in a workspace. * * This file should NOT be deployed to final .jar - original native library * implementation (registered via plugin.xml) should be used on execution time. */ helper getTypeGenLinksForFeature(gcb : gmfgen::GenCommonBase, genFeature : genmodel::GenFeature, containedLinks : Collection(gmfgen::GenLink)) : Collection(gmfgen::GenLink) { return null } helper getFeatureGenLinksForFeature(gcb : gmfgen::GenCommonBase, genFeature : genmodel::GenFeature, containedLinks : Collection(gmfgen::GenLink)) : Collection(gmfgen::GenLink) { return null } helper buildAncestorClosure(elements : Collection(gmfgen::GenCommonBase)) : Collection(gmfgen::GenCommonBase) { return null } \ No newline at end of file
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeNotationModelRefresher.qvto b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeNotationModelRefresher.qvto
new file mode 100644
index 000000000..1db43790b
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/diagram/parts/NativeNotationModelRefresher.qvto
@@ -0,0 +1 @@
+/* * Copyright (c) 2009 Borland Software Corporation * * 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: * Alexander Shatalin (Borland) - initial API and implementation */ library NativeNotationModelRefresher; modeltype gmfgen uses "http://www.eclipse.org/gmf/2008/GenModel"; modeltype genmodel uses "http://www.eclipse.org/emf/2002/GenModel"; /* * This file contains a set of qvto queries duplicating corresponding queries * from same native library and can be important to compile corresponding * templates in a workspace. * * This file should NOT be deployed to final .jar - original native library * implementation (registered via plugin.xml) should be used on execution time. */ helper getGenNodes(genContainerBase : gmfgen::GenContainerBase, genFeature : genmodel::GenFeature) : Collection(gmfgen::GenNode) { return null } \ No newline at end of file
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/providers/NativeValidationUtils.qvto b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/providers/NativeValidationUtils.qvto
new file mode 100644
index 000000000..2c223fda0
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates.nativestubs/xpt/providers/NativeValidationUtils.qvto
@@ -0,0 +1 @@
+/* * Copyright (c) 2009 Borland Software Corporation * * 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: * Alexander Shatalin (Borland) - initial API and implementation */ library NativeValidationUtils; /* * This file contains a set of qvto queries duplicating corresponding queries * from same native library and can be important to compile corresponding * templates in a workspace. * * This file should NOT be deployed to final .jar - original native library * implementation (registered via plugin.xml) should be used on execution time. */ helper toStringLiteral(strValue : String) : String { return '' } \ No newline at end of file

Back to the top