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.load; |
14 | ||
15 | import org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView; | |
16 | ||
17 | /** | |
df0b8ff4 | 18 | * The interface all UML2SD loaders must implement. |
c8422608 | 19 | * |
df0b8ff4 BH |
20 | * @version 1.0 |
21 | * @author sveyrier | |
73005152 BH |
22 | */ |
23 | public interface IUml2SDLoader { | |
24 | ||
25 | /** | |
c8422608 | 26 | * Set the viewer object to the loader that has been reloaded at the beginning |
73005152 | 27 | * of a new workbench session |
c8422608 | 28 | * |
df0b8ff4 | 29 | * @param viewer The sequence diagram view |
73005152 BH |
30 | */ |
31 | public void setViewer(SDView viewer); | |
32 | ||
33 | /** | |
df0b8ff4 | 34 | * Returns title string for the UML2SD View when this loader is the one |
c8422608 | 35 | * |
73005152 BH |
36 | * @return the string convenient for this loader |
37 | */ | |
38 | public String getTitleString(); | |
39 | ||
40 | /** | |
c8422608 | 41 | * When another loader becomes the one the previous one is replaced It's time clean-up |
73005152 BH |
42 | * if needed (listeners to be removed for example) |
43 | */ | |
44 | public void dispose(); | |
45 | ||
46 | } |