]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/preferences/SubscriptionPreferenceInitializer.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / preferences / SubscriptionPreferenceInitializer.java
index 5082a1903731f9e09acde8a7505e62e508e00903..f7d1fe7c90f2a929f91d5e91e0c38fcafbdc7ce1 100644 (file)
@@ -1,33 +1,33 @@
-/*******************************************************************************\r
- * Copyright (c) 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 implementation\r
- *******************************************************************************/\r
-package org.simantics.modeling.preferences;\r
-\r
-import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;\r
-import org.eclipse.core.runtime.preferences.DefaultScope;\r
-import org.eclipse.core.runtime.preferences.IScopeContext;\r
-import org.osgi.service.prefs.Preferences;\r
-\r
-/**\r
- * @author Toni Kalajainen\r
- */\r
-public class SubscriptionPreferenceInitializer extends AbstractPreferenceInitializer {\r
-\r
-    public void initializeDefaultPreferences() {\r
-        IScopeContext context = DefaultScope.INSTANCE;\r
-        Preferences node = context.getNode(SubscriptionPreferences.P_NODE);\r
-        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_INTERVAL, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_INTERVAL);\r
-        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_DEADBAND, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_DEADBAND);\r
-        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_BIAS, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_BIAS);\r
-        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_GAIN, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_GAIN);\r
-    }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 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 implementation
+ *******************************************************************************/
+package org.simantics.modeling.preferences;
+
+import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
+import org.eclipse.core.runtime.preferences.IScopeContext;
+import org.osgi.service.prefs.Preferences;
+
+/**
+ * @author Toni Kalajainen
+ */
+public class SubscriptionPreferenceInitializer extends AbstractPreferenceInitializer {
+
+    public void initializeDefaultPreferences() {
+        IScopeContext context = DefaultScope.INSTANCE;
+        Preferences node = context.getNode(SubscriptionPreferences.P_NODE);
+        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_INTERVAL, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_INTERVAL);
+        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_DEADBAND, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_DEADBAND);
+        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_BIAS, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_BIAS);
+        node.putDouble(SubscriptionPreferences.P_SUBSCRIPTION_GAIN, SubscriptionPreferences.DEFAULT_SUBSCRIPTION_GAIN);
+    }
+
+}