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.ui.IActionBars; | |
17 | ||
18 | /** | |
df0b8ff4 BH |
19 | * Interface for providing an extended action bar provider. |
20 | * | |
73005152 BH |
21 | * Sequence Diagram loaders which implement this interface provide their own action to the action bar. |
22 | * | |
23 | * Action provider are associated to a Sequence Diagram SDWidget calling SDViewer.setExtendedActionBarProvider() | |
24 | * | |
df0b8ff4 BH |
25 | * @version 1.0 |
26 | * @author sveyrier | |
73005152 BH |
27 | */ |
28 | public interface ISDExtendedActionBarProvider { | |
29 | ||
30 | /** | |
31 | * The caller is supposed to add its own actions in the cool bar and the drop-down menu.<br> | |
32 | * See examples in SDView.createCoolbarContent(). | |
33 | * | |
34 | * @param bar the bar | |
35 | */ | |
36 | void supplementCoolbarContent(IActionBars bar); | |
37 | ||
38 | } |