Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
ed902a2b | 2 | * Copyright (c) 2005, 2014 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 | |
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.ui.views.uml2sd.handlers.provider; |
73005152 BH |
14 | |
15 | import org.eclipse.ui.IActionBars; | |
16 | ||
17 | /** | |
df0b8ff4 | 18 | * Interface for providing an extended action bar provider. |
c8422608 | 19 | * |
73005152 | 20 | * Sequence Diagram loaders which implement this interface provide their own action to the action bar. |
c8422608 | 21 | * |
73005152 | 22 | * Action provider are associated to a Sequence Diagram SDWidget calling SDViewer.setExtendedActionBarProvider() |
c8422608 | 23 | * |
df0b8ff4 BH |
24 | * @version 1.0 |
25 | * @author sveyrier | |
73005152 BH |
26 | */ |
27 | public interface ISDExtendedActionBarProvider { | |
28 | ||
29 | /** | |
30 | * The caller is supposed to add its own actions in the cool bar and the drop-down menu.<br> | |
31 | * See examples in SDView.createCoolbarContent(). | |
c8422608 | 32 | * |
73005152 BH |
33 | * @param bar the bar |
34 | */ | |
35 | void supplementCoolbarContent(IActionBars bar); | |
36 | ||
37 | } |