Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.genmodel/src/org/eclipse/etrice/core/genmodel/SetupGenmodel.java')
-rw-r--r--plugins/org.eclipse.etrice.core.genmodel/src/org/eclipse/etrice/core/genmodel/SetupGenmodel.java64
1 files changed, 32 insertions, 32 deletions
diff --git a/plugins/org.eclipse.etrice.core.genmodel/src/org/eclipse/etrice/core/genmodel/SetupGenmodel.java b/plugins/org.eclipse.etrice.core.genmodel/src/org/eclipse/etrice/core/genmodel/SetupGenmodel.java
index 06024b59c..9c1b7e27c 100644
--- a/plugins/org.eclipse.etrice.core.genmodel/src/org/eclipse/etrice/core/genmodel/SetupGenmodel.java
+++ b/plugins/org.eclipse.etrice.core.genmodel/src/org/eclipse/etrice/core/genmodel/SetupGenmodel.java
@@ -1,32 +1,32 @@
-/*******************************************************************************
- * Copyright (c) 2011 protos software gmbh (http://www.protos.de).
- * 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:
- * Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.core.genmodel;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-
-/**
- * @author Henrik Rentz-Reichert
- *
- */
-public class SetupGenmodel {
-
- public static void doSetup() {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/etrice/generator")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/etrice/generator",
- org.eclipse.etrice.core.genmodel.etricegen.ETriceGenPackage.eINSTANCE);
- }
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("rim",
- new org.eclipse.etrice.core.genmodel.etricegen.util.ETriceGenResourceFactoryImpl());
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2011 protos software gmbh (http://www.protos.de).
+ * 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:
+ * Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.core.genmodel;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.resource.Resource;
+
+/**
+ * @author Henrik Rentz-Reichert
+ *
+ */
+public class SetupGenmodel {
+
+ public static void doSetup() {
+ if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/etrice/generator")) {
+ EPackage.Registry.INSTANCE.put("http://www.eclipse.org/etrice/generator",
+ org.eclipse.etrice.core.genmodel.etricegen.ETriceGenPackage.eINSTANCE);
+ }
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("rim",
+ new org.eclipse.etrice.core.genmodel.etricegen.util.ETriceGenResourceFactoryImpl());
+ }
+}

Back to the top