]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SymbolDropHandlerEditor.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / componentTypeEditor / SymbolDropHandlerEditor.java
index 8b84767874f9e7f45a1c7f6c42bf67fa010c5daa..bd6e3debee444e94a560143b049e3cbb3d7d3c4f 100644 (file)
@@ -1,37 +1,37 @@
-/*******************************************************************************\r
- * Copyright (c) 2013, 2015 Association for Decentralized Information Management in\r
- * 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
- *     Semantum Oy - adaption to SCLModuleEditor/TextEditor\r
- *******************************************************************************/\r
-package org.simantics.modeling.ui.componentTypeEditor;\r
-\r
-import org.eclipse.swt.widgets.Display;\r
-import org.eclipse.ui.PlatformUI;\r
-import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew;\r
-\r
-/**\r
- * @author Antti Villberg\r
- */\r
-public class SymbolDropHandlerEditor extends SCLModuleEditor {\r
-\r
-    public SymbolDropHandlerEditor() {\r
-        super();\r
-    }\r
-\r
-    @Override\r
-    protected void preInitialize() {\r
-        Display display = PlatformUI.getWorkbench().getDisplay();\r
-        SCLSourceViewerConfigurationNew sourceViewerConfiguration = new SCLSourceViewerConfigurationNew(resourceManager);\r
-        setDocumentProvider(new SymbolDropHandlerDocumentProvider(sourceViewerConfiguration, display, this));\r
-        setSourceViewerConfiguration(sourceViewerConfiguration);\r
-        \r
-    }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2013, 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:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *     Semantum Oy - adaption to SCLModuleEditor/TextEditor
+ *******************************************************************************/
+package org.simantics.modeling.ui.componentTypeEditor;
+
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.PlatformUI;
+import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew;
+
+/**
+ * @author Antti Villberg
+ */
+public class SymbolDropHandlerEditor extends SCLModuleEditor {
+
+    public SymbolDropHandlerEditor() {
+        super();
+    }
+
+    @Override
+    protected void preInitialize() {
+        Display display = PlatformUI.getWorkbench().getDisplay();
+        SCLSourceViewerConfigurationNew sourceViewerConfiguration = new SCLSourceViewerConfigurationNew(resourceManager);
+        setDocumentProvider(new SymbolDropHandlerDocumentProvider(sourceViewerConfiguration, display, this));
+        setSourceViewerConfiguration(sourceViewerConfiguration);
+        
+    }
+
 }
\ No newline at end of file