Converted all CRLF to LF.
[indepmod/experimental.git] / IndependentModeler / src / cz / cvut / promod / services / toolBarService / ToolBarService.java
blobfaf363feb8e82fd9bd04e9a4c83fc38b90a9fff2
1 package cz.cvut.promod.services.toolBarService;
3 import cz.cvut.promod.services.Service;
4 import cz.cvut.promod.services.toolBarService.utils.InsertToolBarItemResult;
5 import cz.cvut.promod.services.actionService.actionUtils.ProModAction;
7 /**
8 * ProMod, master thesis project
9 * User: Petr Zverina, petr.zverina@gmail.com
10 * Date: 17:46:23, 10.10.2009
13 /**
14 * ToolBarService allows developer to insert (append) simple action to the notation specific tool bar.
16 public interface ToolBarService extends Service{
18 /**
19 * Adds new action to the tool bar of specified notation.
21 * @param notationIdentifier is the identifier of the notation to which is tool bar is the action supposed to be added.
22 * @param action the action that is supposed to be added
23 * @return the result in form of InsertToolBarItemResult
25 * @see cz.cvut.promod.services.toolBarService.utils.InsertToolBarItemResult
27 public InsertToolBarItemResult addAction(final String notationIdentifier, final ProModAction action);