X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.template2d.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Ftemplate2d%2Fui%2Ffunction%2FMonitorInfo.java;h=b266c18ff91e3a726b715f875fc76f9760c9f073;hb=f496d2407d0f78557e323986a04eb2b3020d4eff;hp=8d15c1e00a15b2af82bcfb87a904763f3717b41a;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.template2d.ui/src/org/simantics/modeling/template2d/ui/function/MonitorInfo.java b/bundles/org.simantics.modeling.template2d.ui/src/org/simantics/modeling/template2d/ui/function/MonitorInfo.java index 8d15c1e00..b266c18ff 100644 --- a/bundles/org.simantics.modeling.template2d.ui/src/org/simantics/modeling/template2d/ui/function/MonitorInfo.java +++ b/bundles/org.simantics.modeling.template2d.ui/src/org/simantics/modeling/template2d/ui/function/MonitorInfo.java @@ -1,70 +1,70 @@ -/******************************************************************************* - * 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; - } - - -} +/******************************************************************************* + * 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; + } + + +}