Stuart McCulloch | d00f971 | 2009-07-13 10:06:47 +0000 | [diff] [blame] | 1 | package aQute.bnd.service.action; |
2 | |||||
3 | import aQute.bnd.build.*; | ||||
4 | |||||
5 | public interface Action { | ||||
6 | /** | ||||
7 | * A String[] that specifies a menu entry. The entry | ||||
8 | * can be hierarchical by separating the parts with a ':'. | ||||
9 | * | ||||
10 | * <pre> | ||||
11 | * A:B:C | ||||
12 | * A:B:D | ||||
13 | * | ||||
14 | * A | ||||
15 | * | | ||||
16 | * B | ||||
17 | * / \ | ||||
18 | * C D | ||||
19 | * | ||||
20 | * </pre> | ||||
21 | */ | ||||
22 | String ACTION_MENU = "bnd.action.menu"; | ||||
23 | |||||
24 | void execute( Project project, String action) throws Exception; | ||||
25 | } |