]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.trend/src/org/simantics/trend/impl/Milestone.java
Fixed HistoryUtil.importHistoryArchive to open file in read-only mode
[simantics/platform.git] / bundles / org.simantics.trend / src / org / simantics / trend / impl / Milestone.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2011 Association for Decentralized Information Management in
3  * Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.trend.impl;
13
14 import org.simantics.databoard.annotations.Optional;
15 import org.simantics.databoard.util.Bean;
16
17
18 public class Milestone extends Bean {
19
20     public String id;
21     public String label;
22     public @Optional String description;
23     public double time;
24     public boolean hidden;
25     
26     public Milestone() {
27         super();
28     }
29
30         public Milestone(String id, String label, String description, double time) {
31                 super();
32                 this.id = id;
33                 this.label = label;
34                 this.description = description;
35                 this.time = time;
36         }    
37     
38 }