1 package net.sourceforge.phpeclipse.phpeditor;
3 import org.eclipse.jface.action.IMenuManager;
4 import org.eclipse.ui.actions.ActionGroup;
6 public class PHPActionGroup extends ActionGroup {
7 protected PHPEditor editor;
8 protected String menuGroupId;
10 public PHPActionGroup(PHPEditor editor, String menuGroupId) {
12 this.menuGroupId = menuGroupId;
15 public void fillContextMenu(IMenuManager menu) {
16 super.fillContextMenu(menu);
18 menu.add(editor.getAction("Comment"));
19 menu.add(editor.getAction("Uncomment"));