ApplicationActionBarAdvisor.java

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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1