/**********************************************************************
- * Copyright (c) 2005, 2008 IBM Corporation and others.
- * Copyright (c) 2011, 2012 Ericsson.
- *
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
* 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:
- * IBM - Initial API and implementation
- * Bernd Hufmann - Updated for TMF
+ * IBM - Initial API and implementation
+ * Bernd Hufmann - Updated for TMF
**********************************************************************/
+
package org.eclipse.linuxtools.tmf.ui.views.uml2sd.core;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
-import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
-import org.eclipse.linuxtools.tmf.core.event.TmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimestamp;
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC;
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.ISDPreferences;
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewPref;
* Return the minimum time stored in the frame taking all GraphNodes into account
*
* @return the minimum GraphNode time
+ * @since 2.0
*/
public ITmfTimestamp getMinTime() {
if (fLastExternalTimePref != SDViewPref.getInstance().excludeExternalTime()) {
*
* @param min
* The minimum timestamp
+ * @since 2.0
*/
public void setMin(ITmfTimestamp min) {
fMinTime = min;
*
* @param max
* The maximum timestamp
+ * @since 2.0
*/
public void setMax(ITmfTimestamp max) {
fMaxTime = max;
* Return the maximum time stored in the frame taking all GraphNodes into account
*
* @return the maximum GraphNode time
+ * @since 2.0
*/
public ITmfTimestamp getMaxTime() {
if (fLastExternalTimePref != SDViewPref.getInstance().excludeExternalTime()) {
* Returns the minimum time between consecutive messages.
*
* @return the minimum time between consecutive messages
+ * @since 2.0
*/
public ITmfTimestamp getSDMinTime() {
computeMaxMinTime();
* Returns the maximum time between consecutive messages.
*
* @return the maximum time between consecutive messages
+ * @since 2.0
*/
public ITmfTimestamp getSDMaxTime() {
computeMaxMinTime();