]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.charts/src/org/simantics/charts/query/ChartAndSubscriptionItemData.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.charts / src / org / simantics / charts / query / ChartAndSubscriptionItemData.java
index f022dcce0591438d90b6679f1a103d49451635ad..9438e404ba05d530cdeb94faddcb1f22439867a4 100644 (file)
@@ -1,59 +1,59 @@
-/*******************************************************************************\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 implementation\r
- *******************************************************************************/\r
-package org.simantics.charts.query;\r
-\r
-import org.simantics.charts.ui.ChartAndSubscriptionItemDialog;\r
-import org.simantics.databoard.annotations.Optional;\r
-import org.simantics.databoard.util.Bean;\r
-import org.simantics.trend.configuration.Scale;\r
-import org.simantics.trend.configuration.TrendItem.DrawMode;\r
-\r
-/**\r
- * This class wraps Chart Item and referenced Subscription Item data. \r
- * \r
- * @author toni.kalajainen\r
- */\r
-public class ChartAndSubscriptionItemData extends Bean {\r
-\r
-       // Input\r
-       public int index;\r
-       @Optional public String chartName;\r
-       @Optional public String variableReference;\r
-       @Optional public String label;\r
-       @Optional public String[] subscriptions;\r
-       \r
-       public boolean binaryMode;\r
-       public boolean hasSubscriptionItem;\r
-       \r
-       /**\r
-        * Workaround: there's currently no proper support for modifying the following attributes\r
-        * <ul>\r
-        * <li>sampling interval</li>\r
-        * <li>deadband</li>\r
-        * </ul>\r
-        * on the fly so by default we simply do not allow it. Set this to\r
-        * <code>true</code> before opening {@link ChartAndSubscriptionItemDialog}\r
-        * to allow the user to edit the listed values.\r
-        */\r
-       public boolean mutableCollectionSettings = false;\r
-       \r
-       // Output\r
-       @Optional public String subscription = "Default";\r
-       @Optional public String unit = "";\r
-       @Optional public Double min, max, deadband, interval, gain, bias;\r
-       @Optional public DrawMode drawmode;\r
-       @Optional public Scale scale;\r
-\r
-       @Optional public Float strokeWidth;\r
-       @Optional public float[] color;\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 implementation
+ *******************************************************************************/
+package org.simantics.charts.query;
+
+import org.simantics.charts.ui.ChartAndSubscriptionItemDialog;
+import org.simantics.databoard.annotations.Optional;
+import org.simantics.databoard.util.Bean;
+import org.simantics.trend.configuration.Scale;
+import org.simantics.trend.configuration.TrendItem.DrawMode;
+
+/**
+ * This class wraps Chart Item and referenced Subscription Item data. 
+ * 
+ * @author toni.kalajainen
+ */
+public class ChartAndSubscriptionItemData extends Bean {
+
+       // Input
+       public int index;
+       @Optional public String chartName;
+       @Optional public String variableReference;
+       @Optional public String label;
+       @Optional public String[] subscriptions;
+       
+       public boolean binaryMode;
+       public boolean hasSubscriptionItem;
+       
+       /**
+        * Workaround: there's currently no proper support for modifying the following attributes
+        * <ul>
+        * <li>sampling interval</li>
+        * <li>deadband</li>
+        * </ul>
+        * on the fly so by default we simply do not allow it. Set this to
+        * <code>true</code> before opening {@link ChartAndSubscriptionItemDialog}
+        * to allow the user to edit the listed values.
+        */
+       public boolean mutableCollectionSettings = false;
+       
+       // Output
+       @Optional public String subscription = "Default";
+       @Optional public String unit = "";
+       @Optional public Double min, max, deadband, interval, gain, bias;
+       @Optional public DrawMode drawmode;
+       @Optional public Scale scale;
+
+       @Optional public Float strokeWidth;
+       @Optional public float[] color;
+
+}