]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.charts/src/org/simantics/charts/query/ChartItemDescriptor.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.charts / src / org / simantics / charts / query / ChartItemDescriptor.java
index c1e92f9f856bf68cc78e7ac092bfab42481a7ec7..d4377f367ff8c6623cbda875330202be9f44e0e9 100644 (file)
@@ -1,47 +1,47 @@
-/*******************************************************************************\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 java.util.UUID;\r
-\r
-import org.simantics.databoard.annotations.Optional;\r
-import org.simantics.db.Resource;\r
-import org.simantics.trend.configuration.Scale;\r
-import org.simantics.trend.configuration.TrendItem.DrawMode;\r
-import org.simantics.trend.configuration.TrendItem.Renderer;\r
-\r
-/**\r
- * Descriptor for creation of a Chart Item\r
- * @author toni.kalajainen\r
- *\r
- */\r
-public class ChartItemDescriptor {\r
-\r
-    public String name = UUID.randomUUID().toString();\r
-\r
-    /**\r
-     * Subscription item to link chart item to\r
-     */\r
-    public @Optional Resource subscriptionItem = null;\r
-\r
-    public Scale scale = new Scale.Auto();\r
-    public @Optional Double min;\r
-    public @Optional Double max;\r
-    public @Optional Integer index;\r
-\r
-    public Renderer renderer = Renderer.Analog;\r
-\r
-    public DrawMode drawMode = DrawMode.getDefault();\r
-\r
-    public @Optional 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 java.util.UUID;
+
+import org.simantics.databoard.annotations.Optional;
+import org.simantics.db.Resource;
+import org.simantics.trend.configuration.Scale;
+import org.simantics.trend.configuration.TrendItem.DrawMode;
+import org.simantics.trend.configuration.TrendItem.Renderer;
+
+/**
+ * Descriptor for creation of a Chart Item
+ * @author toni.kalajainen
+ *
+ */
+public class ChartItemDescriptor {
+
+    public String name = UUID.randomUUID().toString();
+
+    /**
+     * Subscription item to link chart item to
+     */
+    public @Optional Resource subscriptionItem = null;
+
+    public Scale scale = new Scale.Auto();
+    public @Optional Double min;
+    public @Optional Double max;
+    public @Optional Integer index;
+
+    public Renderer renderer = Renderer.Analog;
+
+    public DrawMode drawMode = DrawMode.getDefault();
+
+    public @Optional float[] color; 
+
+}