]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.trend/src/org/simantics/trend/configuration/TimeWindow.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.trend / src / org / simantics / trend / configuration / TimeWindow.java
1 /*******************************************************************************\r
2  * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the terms of the Eclipse Public License v1.0\r
5  * which accompanies this distribution, and is available at\r
6  * http://www.eclipse.org/legal/epl-v10.html\r
7  *\r
8  * Contributors:\r
9  *     VTT Technical Research Centre of Finland - initial API and implementation\r
10  *******************************************************************************/\r
11 package org.simantics.trend.configuration;\r
12 \r
13 import org.simantics.databoard.annotations.Optional;\r
14 import org.simantics.databoard.util.Bean;\r
15 \r
16 /**\r
17  * Describes a viewport to a trend chart. \r
18  *\r
19  * @author Toni Kalajainen <toni.kalajainen@vtt.fi>\r
20  */\r
21 public class TimeWindow extends Bean {\r
22 \r
23         /** Optional start position */\r
24         public @Optional Double timeWindowStart;\r
25         \r
26         /** Optional length */\r
27         public @Optional Double timeWindowLength;\r
28         \r
29         /** Optional, percent of how much window is grown once end is reached */\r
30         public @Optional Double timeWindowIncrement;\r
31         \r
32 }\r
33 \r