Converted all CRLF to LF.
[indepmod/experimental.git] / IndependentModeler / src / cz / cvut / promod / services / toolBarService / utils / InsertToolBarItemResult.java
blob437c2dbf70a7f06a806f076a1c82a9a32e09ca47
1 package cz.cvut.promod.services.toolBarService.utils;
3 /**
4 * ProMod, master thesis project
5 * User: Petr Zverina, petr.zverina@gmail.com
6 * Date: 11:53:01, 4.2.2010
7 */
9 /**
10 * Possible results for inserting a new action into the notation specific tool bar.
12 public enum InsertToolBarItemResult {
14 /**
15 * The action has been successfully added into the tool bar.
17 SUCCESS,
19 /**
20 * The action is either null or does not have name or has an empty string as it's name.
22 UNDEFINED_ACTION,
24 /**
25 * It is not possible to insert any action into the tool bar of not existing notation.
27 INVALID_NOTATION,
29 /**
30 * It is not possible to insert action that is not registered by the ActionService.
32 UNREGISTERED_ACTION,
34 /**
35 * It is not possible to insert the same action twice into the same tool bar.
37 DUPLICATE_ACTION