1 11 package org.eclipse.ui.actions; 12 13 import org.eclipse.jface.action.IMenuManager; 14 import org.eclipse.ui.IActionBars; 15 16 32 public abstract class ActionGroup { 33 34 38 private ActionContext context; 39 40 44 public ActionContext getContext() { 45 return context; 46 } 47 48 54 public void setContext(ActionContext context) { 55 this.context = context; 56 } 57 58 68 public void fillContextMenu(IMenuManager menu) { 69 } 71 72 82 public void fillActionBars(IActionBars actionBars) { 83 } 85 86 95 public void updateActionBars() { 96 } 98 99 108 public void dispose() { 109 setContext(null); 110 } 111 } 112 | Popular Tags |