Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.xtend.middleend.old/src/org/eclipse/xtend/middleend/old/plugin/OldXpandRegistryFactory.java')
-rw-r--r--plugins/org.eclipse.xtend.middleend.old/src/org/eclipse/xtend/middleend/old/plugin/OldXpandRegistryFactory.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/org.eclipse.xtend.middleend.old/src/org/eclipse/xtend/middleend/old/plugin/OldXpandRegistryFactory.java b/plugins/org.eclipse.xtend.middleend.old/src/org/eclipse/xtend/middleend/old/plugin/OldXpandRegistryFactory.java
new file mode 100644
index 00000000..c5d0b220
--- /dev/null
+++ b/plugins/org.eclipse.xtend.middleend.old/src/org/eclipse/xtend/middleend/old/plugin/OldXpandRegistryFactory.java
@@ -0,0 +1,36 @@
+/*
+Copyright (c) 2008 Arno Haase.
+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:
+ Arno Haase - initial API and implementation
+ */
+package org.eclipse.xtend.middleend.old.plugin;
+
+import org.eclipose.xtend.middleend.MiddleEnd;
+import org.eclipose.xtend.middleend.plugins.LanguageSpecificMiddleEnd;
+import org.eclipose.xtend.middleend.plugins.LanguageSpecificMiddleEndFactory;
+import org.eclipse.xtend.middleend.old.internal.xpand.OldXpandRegistry;
+
+
+/**
+ *
+ * @author Arno Haase (http://www.haase-consulting.com)
+ */
+public final class OldXpandRegistryFactory implements LanguageSpecificMiddleEndFactory {
+
+ public LanguageSpecificMiddleEnd create (MiddleEnd middleEnd, Object specificData) {
+ return new OldXpandRegistry (middleEnd, specificData);
+ }
+
+ public String getName () {
+ return "Xpand";
+ }
+
+ public int getPriority () {
+ return 0;
+ }
+}

Back to the top