Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
c8422608 | 2 | * Copyright (c) 2005, 2012 IBM Corporation, Ericsson |
73005152 BH |
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 | |
013a5f1c AM |
7 | * |
8 | * Contributors: | |
c8422608 AM |
9 | * IBM - Initial API and implementation |
10 | * Bernd Hufmann - Updated for TMF | |
73005152 | 11 | **********************************************************************/ |
c8422608 | 12 | |
73005152 BH |
13 | package org.eclipse.linuxtools.tmf.ui.views.uml2sd; |
14 | ||
15 | import org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline; | |
16 | import org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor; | |
17 | ||
18 | /** | |
df0b8ff4 BH |
19 | * <p> |
20 | * Listener interface for the time compression bar to notify about dela selection. | |
013a5f1c AM |
21 | * </p> |
22 | * | |
73005152 | 23 | * @author sveyrier |
df0b8ff4 | 24 | * @version 1.0 |
73005152 BH |
25 | */ |
26 | public interface ITimeCompressionListener { | |
27 | ||
df0b8ff4 BH |
28 | /** |
29 | * Notifies listeners about a selected delta. | |
013a5f1c | 30 | * |
a55887ca AM |
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. | |
df0b8ff4 | 39 | */ |
73005152 BH |
40 | public void deltaSelected(Lifeline lifeline, int startEvent, int nbEvent, IColor color); |
41 | ||
42 | } |