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