X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.threadlog%2Fsrc%2Forg%2Fsimantics%2Fthreadlog%2Fui%2FLane.java;h=8b3a99f5600c28db72dcca75ef6ca2da8dffabca;hb=dec69b85e6e2a6d89e7ff0ef9561178924ae4b5b;hp=2c06e4185943a6b04ceaabe05fecb9e8986ed039;hpb=2531cdf245f42bce854d43f4d49a23983c79db96;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.threadlog/src/org/simantics/threadlog/ui/Lane.java b/bundles/org.simantics.threadlog/src/org/simantics/threadlog/ui/Lane.java index 2c06e4185..8b3a99f56 100644 --- a/bundles/org.simantics.threadlog/src/org/simantics/threadlog/ui/Lane.java +++ b/bundles/org.simantics.threadlog/src/org/simantics/threadlog/ui/Lane.java @@ -1,27 +1,27 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 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.threadlog.ui; - -import java.util.ArrayList; -import java.util.List; - -public class Lane { - List intervals = new ArrayList(); - - public void addInterval(Interval interval) { - intervals.add(interval); - } - - public double getEnd() { - return intervals.get(intervals.size()-1).end; - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 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.threadlog.ui; + +import java.util.ArrayList; +import java.util.List; + +public class Lane { + List intervals = new ArrayList(); + + public void addInterval(Interval interval) { + intervals.add(interval); + } + + public double getEnd() { + return intervals.get(intervals.size()-1).end; + } +}