blob: be8e583d4cf472df037ae7703e2932829f427002 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*/
package org.eclipse.osbp.vaaclipse.addons.softwarefactory.maintoolbar;
import org.eclipse.osbp.xtext.action.ActionToolbar;
// TODO: Auto-generated Javadoc
/**
* The Interface IMainToolbarProvider.
*/
public interface IMainToolbarProvider {
/**
* Adds the toolbar.
*
* @param perspectiveId the perspective id
* @param toolBarModel the tool bar model
*/
void addToolbar(String perspectiveId, ActionToolbar toolBarModel);
/**
* Removes the toolbar.
*
* @param perspectiveId the perspective id
*/
void removeToolbar(String perspectiveId);
/**
* Sets the toolbar active or inactive.
*
* @param perspectiveId the perspective id
* @param active the active
*/
void setActive(String perspectiveId, boolean active);
/**
* Gets the unique toolbar id composed of action id and uuid.
*
* @return the toolbar id
*/
String getToolbarId();
}