ApplicationActionBarAdvisor.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.traceviewer.framework;
00002 
00003 import org.eclipse.jface.action.IMenuManager;
00004 import org.eclipse.ui.IWorkbenchWindow;
00005 import org.eclipse.ui.application.ActionBarAdvisor;
00006 import org.eclipse.ui.application.IActionBarConfigurer;
00007 
00013 public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
00014 
00015     // Actions - important to allocate these only in makeActions, and then use
00016     // them
00017     // in the fill methods. This ensures that the actions aren't recreated
00018     // when fillActionBars is called with FILL_PROXY.
00019 
00020     public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
00021         super(configurer);
00022     }
00023 
00024     protected void makeActions(final IWorkbenchWindow window) {
00025         // Creates the actions and registers them.
00026         // Registering is needed to ensure that key bindings work.
00027         // The corresponding commands keybindings are defined in the plugin.xml
00028         // file.
00029         // Registering also provides automatic disposal of the actions when
00030         // the window is closed.
00031         
00032     }
00033 
00034     protected void fillMenuBar(IMenuManager menuBar) {
00035     }
00036 
00037 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1