]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural.ui/src/org/simantics/structural/ui/menuContributions/LinkWithEditorContribution.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.structural.ui / src / org / simantics / structural / ui / menuContributions / LinkWithEditorContribution.java
index 73ae57831f9b2ba237f0668f12f803bff9f53501..e29f396b7e5ad94294ae45e94303c0a0e6c38971 100644 (file)
@@ -1,38 +1,38 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2011 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 implementatio\r
- *******************************************************************************/\r
-package org.simantics.structural.ui.menuContributions;\r
-\r
-import org.eclipse.jface.action.ActionContributionItem;\r
-import org.eclipse.jface.preference.IPreferenceStore;\r
-import org.simantics.structural.ui.Activator;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class LinkWithEditorContribution extends ActionContributionItem {\r
-\r
-    public LinkWithEditorContribution(String preferenceKey) {\r
-        this(preferenceKey, Activator.getDefault().getPreferenceStore());\r
-    }\r
-\r
-    public LinkWithEditorContribution(String preferenceKey, IPreferenceStore preferenceStore) {\r
-        super(new LinkWithEditorAction(preferenceKey, preferenceStore));\r
-    }\r
-\r
-    public static class LinkWithEditorAction extends PreferenceCheckBoxAction {\r
-        public LinkWithEditorAction(String preferenceKey, IPreferenceStore preferenceStore) {\r
-            super("Link With Editor", preferenceKey, preferenceStore);\r
-            setImageDescriptor(Activator.SYNCED_ICON);\r
-        }\r
-    }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 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 implementatio
+ *******************************************************************************/
+package org.simantics.structural.ui.menuContributions;
+
+import org.eclipse.jface.action.ActionContributionItem;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.simantics.structural.ui.Activator;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class LinkWithEditorContribution extends ActionContributionItem {
+
+    public LinkWithEditorContribution(String preferenceKey) {
+        this(preferenceKey, Activator.getDefault().getPreferenceStore());
+    }
+
+    public LinkWithEditorContribution(String preferenceKey, IPreferenceStore preferenceStore) {
+        super(new LinkWithEditorAction(preferenceKey, preferenceStore));
+    }
+
+    public static class LinkWithEditorAction extends PreferenceCheckBoxAction {
+        public LinkWithEditorAction(String preferenceKey, IPreferenceStore preferenceStore) {
+            super("Link With Editor", preferenceKey, preferenceStore);
+            setImageDescriptor(Activator.SYNCED_ICON);
+        }
+    }
+
 }
\ No newline at end of file