-/*******************************************************************************\r
- * Copyright (c) 2012 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.template2d.ui.function;\r
-\r
-import org.simantics.databoard.annotations.Optional;\r
-import org.simantics.databoard.util.Bean;\r
-import org.simantics.datatypes.literal.Font;\r
-import org.simantics.datatypes.literal.RGB;\r
-import org.simantics.db.Resource;\r
-\r
-public class MonitorInfo extends Bean {\r
- private Font font = new Font("Arial", 10, "Normal");\r
- private RGB.Integer color = new RGB.Integer(0,0,0);\r
- private String text = new String("");\r
- private double[] transform = new double[]{1.0,0,0,1.0,0,0};\r
- \r
- @Optional\r
- private Resource resource = null;\r
- \r
- public Resource getResource() {\r
- return resource;\r
- }\r
-\r
- public void setResource(Resource resource) {\r
- this.resource = resource;\r
- }\r
-\r
- public String getText() {\r
- return text;\r
- }\r
-\r
- public void setText(String text) {\r
- this.text = text;\r
- }\r
-\r
- public Font getFont() {\r
- return font;\r
- }\r
-\r
- public void setFont(Font dataFont) {\r
- this.font = dataFont;\r
- }\r
-\r
- public RGB.Integer getColor() {\r
- return color;\r
- }\r
-\r
- public void setColor(RGB.Integer color) {\r
- this.color = color;\r
- }\r
- \r
- public double[] getTransform() {\r
- return transform;\r
- }\r
-\r
- public void setTransform(double[] transform) {\r
- this.transform = transform;\r
- }\r
-\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2012 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.template2d.ui.function;
+
+import org.simantics.databoard.annotations.Optional;
+import org.simantics.databoard.util.Bean;
+import org.simantics.datatypes.literal.Font;
+import org.simantics.datatypes.literal.RGB;
+import org.simantics.db.Resource;
+
+public class MonitorInfo extends Bean {
+ private Font font = new Font("Arial", 10, "Normal");
+ private RGB.Integer color = new RGB.Integer(0,0,0);
+ private String text = new String("");
+ private double[] transform = new double[]{1.0,0,0,1.0,0,0};
+
+ @Optional
+ private Resource resource = null;
+
+ public Resource getResource() {
+ return resource;
+ }
+
+ public void setResource(Resource resource) {
+ this.resource = resource;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public Font getFont() {
+ return font;
+ }
+
+ public void setFont(Font dataFont) {
+ this.font = dataFont;
+ }
+
+ public RGB.Integer getColor() {
+ return color;
+ }
+
+ public void setColor(RGB.Integer color) {
+ this.color = color;
+ }
+
+ public double[] getTransform() {
+ return transform;
+ }
+
+ public void setTransform(double[] transform) {
+ this.transform = transform;
+ }
+
+
+}