Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / provider / ISDCollapseProvider.java
1 /**********************************************************************
2 * Copyright (c) 2005, 2006, 2011 IBM Corporation and others.
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 * $Id: ISDCollapseProvider.java,v 1.2 2006/09/20 20:56:26 ewchan Exp $
8 *
9 * Contributors:
10 * IBM - Initial API and implementation
11 * Bernd Hufmann - Updated for TMF
12 **********************************************************************/
13 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
14
15 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline;
16
17 /**
18 * Sequence diagram loaders which want to support Drag and Drop collapsing in the sequence diagram must implement this
19 * interface and register this implementation using SDViewer.setCollapsingProvider();
20 *
21 * @author sveyrier
22 */
23 public interface ISDCollapseProvider {
24
25 /**
26 * Called back when the sequence diagram is requesting 2 lifelines collapsing
27 *
28 * @param lifeline1 - One of the lifeline to collapse
29 * @param lifeline2 - The other lifeline to collapse with
30 */
31 public void collapseTwoLifelines(Lifeline lifeline1, Lifeline lifeline2);
32
33 }
This page took 0.031657 seconds and 6 git commands to generate.