]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics/src/org/simantics/internal/startup/StartupExtension.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics / src / org / simantics / internal / startup / StartupExtension.java
index f55136ac829c4752e8d2ca54f4074113c3b48bb9..4927190397a71be24ca0ea135a8bffd52938f8f6 100644 (file)
@@ -1,45 +1,45 @@
-/*******************************************************************************\r
- * Copyright (c) 2015 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     Semantum Oy - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.internal.startup;\r
-\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.core.runtime.IConfigurationElement;\r
-import org.simantics.startup.IStartup;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class StartupExtension {\r
-\r
-    public static final String CLASS = "class";\r
-\r
-    // For access to createExecutableExtension(String).\r
-    private final IConfigurationElement configurationElement;\r
-\r
-    public StartupExtension(IConfigurationElement ce) {\r
-        this.configurationElement = ce;\r
-    }\r
-\r
-    public String getClassName() {\r
-        return configurationElement.getAttribute(CLASS);\r
-    }\r
-\r
-    public IStartup newInstance() throws CoreException {\r
-        return (IStartup) configurationElement.createExecutableExtension(CLASS);\r
-    }\r
-\r
-    @Override\r
-    public String toString() {\r
-        return super.toString() + " [contributor=" + configurationElement.getContributor().getName() + "]";\r
-    }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2015 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * 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:
+ *     Semantum Oy - initial API and implementation
+ *******************************************************************************/
+package org.simantics.internal.startup;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.simantics.startup.IStartup;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class StartupExtension {
+
+    public static final String CLASS = "class";
+
+    // For access to createExecutableExtension(String).
+    private final IConfigurationElement configurationElement;
+
+    public StartupExtension(IConfigurationElement ce) {
+        this.configurationElement = ce;
+    }
+
+    public String getClassName() {
+        return configurationElement.getAttribute(CLASS);
+    }
+
+    public IStartup newInstance() throws CoreException {
+        return (IStartup) configurationElement.createExecutableExtension(CLASS);
+    }
+
+    @Override
+    public String toString() {
+        return super.toString() + " [contributor=" + configurationElement.getContributor().getName() + "]";
+    }
+
 }
\ No newline at end of file