/**********************************************************************
- * Copyright (c) 2005, 2006, 2011 IBM Corporation and others.
+ * Copyright (c) 2005, 2012 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
- * $Id: ITimeCompressionListener.java,v 1.2 2006/09/20 20:56:25 ewchan Exp $
- *
- * Contributors:
- * IBM - Initial API and implementation
- * Bernd Hufmann - Updated for TMF
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ * Bernd Hufmann - Updated for TMF
**********************************************************************/
+
package org.eclipse.linuxtools.tmf.ui.views.uml2sd;
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline;
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor;
/**
+ * <p>
+ * Listener interface for the time compression bar to notify about dela selection.
+ * </p>
+ *
* @author sveyrier
- *
+ * @version 1.0
*/
public interface ITimeCompressionListener {
+ /**
+ * Notifies listeners about a selected delta.
+ *
+ * @param lifeline
+ * The current lifeline.
+ * @param startEvent
+ * The start event selected.
+ * @param nbEvent
+ * A number of events.
+ * @param color
+ * The current color to use.
+ */
public void deltaSelected(Lifeline lifeline, int startEvent, int nbEvent, IColor color);
}