~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/ITimeCompressionListener.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2012-06-29 12:07:30 UTC
  • Revision ID: package-import@ubuntu.com-20120629120730-bfri1xys1i71dpn6
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

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