Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
df0b8ff4 BH |
2 | * Copyright (c) 2005, 2006 IBM Corporation and others. |
3 | * Copyright (c) 2011, 2012 Ericsson. | |
4 | * | |
73005152 BH |
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 | |
73005152 BH |
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.handlers.provider; | |
15 | ||
16 | import org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline; | |
17 | ||
18 | /** | |
df0b8ff4 BH |
19 | * Interface for providing a collapse provider. |
20 | * | |
73005152 | 21 | * Sequence diagram loaders which want to support Drag and Drop collapsing in the sequence diagram must implement this |
df0b8ff4 | 22 | * interface and register this implementation using <code>SDView.setCollapsingProvider();</code> |
73005152 | 23 | * |
df0b8ff4 | 24 | * @version 1.0 |
73005152 BH |
25 | * @author sveyrier |
26 | */ | |
27 | public interface ISDCollapseProvider { | |
28 | ||
29 | /** | |
30 | * Called back when the sequence diagram is requesting 2 lifelines collapsing | |
31 | * | |
32 | * @param lifeline1 - One of the lifeline to collapse | |
0d9a6d76 | 33 | * @param lifeline2 - The other lifeline to collapse with |
73005152 BH |
34 | */ |
35 | public void collapseTwoLifelines(Lifeline lifeline1, Lifeline lifeline2); | |
36 | ||
37 | } |