analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / views / uml2sd / ITimeCompressionListener.java
1 /**********************************************************************
2 * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
11 **********************************************************************/
12
13 package org.eclipse.tracecompass.tmf.ui.views.uml2sd;
14
15 import org.eclipse.tracecompass.tmf.ui.views.uml2sd.core.Lifeline;
16 import org.eclipse.tracecompass.tmf.ui.views.uml2sd.drawings.IColor;
17
18 /**
19 * <p>
20 * Listener interface for the time compression bar to notify about dela selection.
21 * </p>
22 *
23 * @author sveyrier
24 * @version 1.0
25 */
26 public interface ITimeCompressionListener {
27
28 /**
29 * Notifies listeners about a selected delta.
30 *
31 * @param lifeline
32 * The current lifeline.
33 * @param startEvent
34 * The start event selected.
35 * @param nbEvent
36 * A number of events.
37 * @param color
38 * The current color to use.
39 */
40 void deltaSelected(Lifeline lifeline, int startEvent, int nbEvent, IColor color);
41
42 }
This page took 0.041493 seconds and 5 git commands to generate.