1
/**********************************************************************
2
* Copyright (c) 2005, 2006 IBM Corporation and others.
3
* Copyright (c) 2011, 2012 Ericsson.
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
11
* IBM - Initial API and implementation
12
* Bernd Hufmann - Updated for TMF
13
**********************************************************************/
14
package org.eclipse.linuxtools.tmf.ui.views.uml2sd.load;
16
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView;
19
* The interface all UML2SD loaders must implement.
24
public interface IUml2SDLoader {
27
* Set the viewer object to the loader that has been reloaded at the beginning
28
* of a new workbench session
30
* @param viewer The sequence diagram view
32
public void setViewer(SDView viewer);
35
* Returns title string for the UML2SD View when this loader is the one
37
* @return the string convenient for this loader
39
public String getTitleString();
42
* When another loader becomes the one the previous one is replaced It's time clean-up
43
* if needed (listeners to be removed for example)
45
public void dispose();