Revision 32f004cd
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/test/java/eu/etaxonomy/taxeditor/navigation/ApplicationActionBarAdvisor.java | ||
---|---|---|
9 | 9 |
import org.eclipse.ui.application.ActionBarAdvisor; |
10 | 10 |
import org.eclipse.ui.application.IActionBarConfigurer; |
11 | 11 |
|
12 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
|
13 |
|
|
14 | 12 |
/** |
15 | 13 |
* An action bar advisor is responsible for creating, adding, and disposing of |
16 | 14 |
* the actions added to a workbench window. Each window will be populated with |
... | ... | |
28 | 26 |
super(configurer); |
29 | 27 |
} |
30 | 28 |
|
31 |
protected void makeActions(final IWorkbenchWindow window) { |
|
29 |
@Override |
|
30 |
protected void makeActions(final IWorkbenchWindow window) { |
|
32 | 31 |
// Creates the actions and registers them. |
33 | 32 |
// Registering is needed to ensure that key bindings work. |
34 | 33 |
// The corresponding commands keybindings are defined in the plugin.xml |
... | ... | |
36 | 35 |
// Registering also provides automatic disposal of the actions when |
37 | 36 |
// the window is closed. |
38 | 37 |
|
39 |
StoreUtil.setStatusLineManager(getActionBarConfigurer().getStatusLineManager()); |
|
40 |
|
|
38 |
|
|
39 |
//FIXME E4 migrate/ delete statusLineManager |
|
40 |
// StoreUtil.setStatusLineManager(getActionBarConfigurer().getStatusLineManager()); |
|
41 |
|
|
41 | 42 |
exitAction = ActionFactory.QUIT.create(window); |
42 | 43 |
register(exitAction); |
43 | 44 |
} |
44 | 45 |
|
45 |
protected void fillMenuBar(IMenuManager menuBar) { |
|
46 |
@Override |
|
47 |
protected void fillMenuBar(IMenuManager menuBar) { |
|
46 | 48 |
MenuManager fileMenu = new MenuManager("&File", |
47 | 49 |
IWorkbenchActionConstants.M_FILE); |
48 | 50 |
menuBar.add(fileMenu); |
Also available in: Unified diff
ref #6672 Migrate status line