]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.message.ui/src/org/simantics/message/ui/scheme/HttpSchemeHandler.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.message.ui / src / org / simantics / message / ui / scheme / HttpSchemeHandler.java
index 8139e75c0b2d09e3ca698c8e823e3001d00f9333..7b3adcdce68d0a33370cd78163f6e43c1c2c8100 100644 (file)
@@ -1,39 +1,39 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 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
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.message.ui.scheme;\r
-\r
-import java.net.URL;\r
-\r
-import org.eclipse.ui.PartInitException;\r
-import org.simantics.editors.BrowserInput;\r
-import org.simantics.message.AbstractMessageSchemeHandler;\r
-import org.simantics.utils.ui.workbench.WorkbenchUtils;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class HttpSchemeHandler extends AbstractMessageSchemeHandler<URL> {\r
-\r
-    public HttpSchemeHandler() {\r
-        super("http", URL.class);\r
-    }\r
-\r
-    @Override\r
-    public void doPerform(URL url) {\r
-        try {\r
-            WorkbenchUtils.openEditor("org.simantics.editors.browser", new BrowserInput(url));\r
-        } catch (PartInitException e) {\r
-            throw new RuntimeException(e);\r
-        }\r
-    }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 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:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.message.ui.scheme;
+
+import java.net.URL;
+
+import org.eclipse.ui.PartInitException;
+import org.simantics.editors.BrowserInput;
+import org.simantics.message.AbstractMessageSchemeHandler;
+import org.simantics.utils.ui.workbench.WorkbenchUtils;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class HttpSchemeHandler extends AbstractMessageSchemeHandler<URL> {
+
+    public HttpSchemeHandler() {
+        super("http", URL.class);
+    }
+
+    @Override
+    public void doPerform(URL url) {
+        try {
+            WorkbenchUtils.openEditor("org.simantics.editors.browser", new BrowserInput(url));
+        } catch (PartInitException e) {
+            throw new RuntimeException(e);
+        }
+    }
+
+}