bugfix 1330522: <?xml flagged as error
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / driver / JDBCDriverViewActionGroup.java
1 package com.quantum.view.driver;
2
3 import org.eclipse.jface.viewers.ISelectionProvider;
4 import org.eclipse.ui.IActionBars;
5 import org.eclipse.ui.IWorkbenchActionConstants;
6 import org.eclipse.ui.actions.ActionGroup;
7 import org.eclipse.ui.actions.SelectionListenerAction;
8
9
10 /**
11  * @author BC Holmes
12  */
13 class JDBCDriverViewActionGroup extends ActionGroup  {
14         
15         private SelectionListenerAction deleteAction; 
16
17         public JDBCDriverViewActionGroup(JDBCDriverView view, ISelectionProvider selectionProvider) {
18                 this.deleteAction = new DeleteDriverAction(view, selectionProvider);
19         }
20         
21     public void fillActionBars(IActionBars actionBars) {
22         actionBars.setGlobalActionHandler(
23                         IWorkbenchActionConstants.DELETE, this.deleteAction);
24     }
25 }