X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.trend%2Fsrc%2Forg%2Fsimantics%2Ftrend%2Fconfiguration%2FViewProfile.java;fp=bundles%2Forg.simantics.trend%2Fsrc%2Forg%2Fsimantics%2Ftrend%2Fconfiguration%2FViewProfile.java;h=5dfe1eb31343ed524b63c1daa45c0d46f016d05e;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=f90e5cde6276c4e7cb9a05ad74318c36d20b0095;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.trend/src/org/simantics/trend/configuration/ViewProfile.java b/bundles/org.simantics.trend/src/org/simantics/trend/configuration/ViewProfile.java index f90e5cde6..5dfe1eb31 100644 --- a/bundles/org.simantics.trend/src/org/simantics/trend/configuration/ViewProfile.java +++ b/bundles/org.simantics.trend/src/org/simantics/trend/configuration/ViewProfile.java @@ -1,58 +1,58 @@ -/******************************************************************************* - * Copyright (c) 2007 VTT Technical Research Centre of Finland and others. - * 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.trend.configuration; - -import org.simantics.databoard.util.Bean; - -/** - * ViewProfile specifies a view settings of a chart. - * - * ViewProfiles can exist in different scopes: Transient, Model, Workspace - * - * @author Toni Kalajainen - */ -public class ViewProfile extends Bean { - - public String profileName; - - public boolean showMilestones; - - /** - * Whether to render the value grid in the chart or not. - */ - public boolean showGrid; - - public TimeWindow timeWindow; - - /** - * If true the momentary value hairline shall follow current - * experiment time when simulation is in running state. - */ - public boolean trackExperimentTime; - - /** - * Relative position in (0,0)x(1,1) for the momentary value view. - */ - public double valueViewPositionX = 1; - public double valueViewPositionY = 0; - - /** - * Either one color (3 values) or a vertical color gradient (6 values). - */ - public float[] backgroundColor; - - /** - * Optional grid color in RGB, 3 float values. - * By default (0,7451, 0,7451, 0,8627), i.e. (190, 190, 220) or #BEBEDC. - */ - public float[] gridColor; - -} +/******************************************************************************* + * Copyright (c) 2007 VTT Technical Research Centre of Finland and others. + * 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.trend.configuration; + +import org.simantics.databoard.util.Bean; + +/** + * ViewProfile specifies a view settings of a chart. + * + * ViewProfiles can exist in different scopes: Transient, Model, Workspace + * + * @author Toni Kalajainen + */ +public class ViewProfile extends Bean { + + public String profileName; + + public boolean showMilestones; + + /** + * Whether to render the value grid in the chart or not. + */ + public boolean showGrid; + + public TimeWindow timeWindow; + + /** + * If true the momentary value hairline shall follow current + * experiment time when simulation is in running state. + */ + public boolean trackExperimentTime; + + /** + * Relative position in (0,0)x(1,1) for the momentary value view. + */ + public double valueViewPositionX = 1; + public double valueViewPositionY = 0; + + /** + * Either one color (3 values) or a vertical color gradient (6 values). + */ + public float[] backgroundColor; + + /** + * Optional grid color in RGB, 3 float values. + * By default (0,7451, 0,7451, 0,8627), i.e. (190, 190, 220) or #BEBEDC. + */ + public float[] gridColor; + +}