]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/extension/ComparableContextContributorBindingExtensionManager.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.common / src / org / simantics / browsing / ui / common / extension / ComparableContextContributorBindingExtensionManager.java
index 15c55bbc279f0ed6f0c7ae14c8d746ff6bedd51d..ccb47308e93548464e72c239b0cf4c5c470b95a6 100644 (file)
@@ -1,48 +1,48 @@
-/*******************************************************************************\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.browsing.ui.common.extension;\r
-\r
-import org.simantics.browsing.ui.common.extension.internal.ComparableContextContributorReferenceBinding;\r
-import org.simantics.browsing.ui.common.extension.internal.ContributorReferenceBinding;\r
-import org.simantics.browsing.ui.content.ComparableContextFactory;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class ComparableContextContributorBindingExtensionManager extends ContributorBindingExtensionManager<ComparableContextFactory> {\r
-\r
-    private static ComparableContextContributorBindingExtensionManager INSTANCE;\r
-    \r
-    public static synchronized ComparableContextContributorBindingExtensionManager getInstance() {\r
-        if (INSTANCE == null)\r
-            INSTANCE = new ComparableContextContributorBindingExtensionManager();\r
-        return INSTANCE;\r
-    }\r
-\r
-    public static synchronized void dispose() {\r
-        if (INSTANCE != null) {\r
-            INSTANCE.close();\r
-            INSTANCE = null;\r
-        }\r
-    }\r
-\r
-    @Override\r
-    String getExtensionPointName() {\r
-       return "comparableContextBinding";\r
-    }\r
-    \r
-    @Override\r
-    ContributorReferenceBinding<ComparableContextFactory> createReferenceBinding(double preference, String browseContext, String factoryId) {\r
-       return new ComparableContextContributorReferenceBinding(preference, browseContext, factoryId);\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.browsing.ui.common.extension;
+
+import org.simantics.browsing.ui.common.extension.internal.ComparableContextContributorReferenceBinding;
+import org.simantics.browsing.ui.common.extension.internal.ContributorReferenceBinding;
+import org.simantics.browsing.ui.content.ComparableContextFactory;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class ComparableContextContributorBindingExtensionManager extends ContributorBindingExtensionManager<ComparableContextFactory> {
+
+    private static ComparableContextContributorBindingExtensionManager INSTANCE;
+    
+    public static synchronized ComparableContextContributorBindingExtensionManager getInstance() {
+        if (INSTANCE == null)
+            INSTANCE = new ComparableContextContributorBindingExtensionManager();
+        return INSTANCE;
+    }
+
+    public static synchronized void dispose() {
+        if (INSTANCE != null) {
+            INSTANCE.close();
+            INSTANCE = null;
+        }
+    }
+
+    @Override
+    String getExtensionPointName() {
+       return "comparableContextBinding";
+    }
+    
+    @Override
+    ContributorReferenceBinding<ComparableContextFactory> createReferenceBinding(double preference, String browseContext, String factoryId) {
+       return new ComparableContextContributorReferenceBinding(preference, browseContext, factoryId);
+    }
+
+}