Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java23
1 files changed, 7 insertions, 16 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java
index ee4d20d4428..809d1163451 100644
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java
+++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java
@@ -1,28 +1,21 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * 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:
- * Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
- *****************************************************************************/
+/**
+ */
package org.eclipse.papyrus.RobotML.util;
import java.util.Map;
import org.eclipse.emf.ecore.EPackage;
+
import org.eclipse.emf.ecore.resource.Resource;
+
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
import org.eclipse.papyrus.RobotML.RobotMLPackage;
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public class RobotMLXMLProcessor extends XMLProcessor {
@@ -31,24 +24,22 @@ public class RobotMLXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RobotMLXMLProcessor() {
super((EPackage.Registry.INSTANCE));
RobotMLPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the RobotMLResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected Map<String, Resource.Factory> getRegistrations() {
- if(registrations == null) {
+ if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new RobotMLResourceFactoryImpl());
registrations.put(STAR_EXTENSION, new RobotMLResourceFactoryImpl());

Back to the top