[jboss-cvs] jbosside/core/plugins/org.jboss.ide.eclipse.packages.ui/src/main/org/jboss/ide/eclipse/packages/ui/views ...
Marshall Culpepper
mculpepper at jboss.com
Tue Feb 13 14:14:57 EST 2007
User: mculpepper
Date: 07/02/13 14:14:57
Modified: core/plugins/org.jboss.ide.eclipse.packages.ui/src/main/org/jboss/ide/eclipse/packages/ui/views
ProjectPackagesView.java
Log:
forgot to manually initialize the build packages action w/ the packages view's workbench window (needed for the dual-purpose "ActionWithDelegate" helper)
Revision Changes Path
1.11 +5 -1 jbosside/core/plugins/org.jboss.ide.eclipse.packages.ui/src/main/org/jboss/ide/eclipse/packages/ui/views/ProjectPackagesView.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ProjectPackagesView.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.packages.ui/src/main/org/jboss/ide/eclipse/packages/ui/views/ProjectPackagesView.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ProjectPackagesView.java 9 Feb 2007 23:20:09 -0000 1.10
+++ ProjectPackagesView.java 13 Feb 2007 19:14:57 -0000 1.11
@@ -60,7 +60,8 @@
private Composite loadingPackagesComposite;
private TreeViewer packageTree;
private ProgressMonitorPart loadingProgress;
- private Action newJARAction, editAction, deleteAction, newFolderAction, newFilesetAction, buildAllAction, buildPackageAction;
+ private Action newJARAction, editAction, deleteAction, newFolderAction, newFilesetAction;
+ private BuildPackagesAction buildAllAction, buildPackageAction;
private Action collapseAllAction;
private GroupMarker newPackageContributions;
private MenuManager newPackageManager;
@@ -175,7 +176,10 @@
};
buildAllAction = new BuildPackagesAction();
+ buildAllAction.init(getViewSite().getWorkbenchWindow());
+
buildPackageAction = new BuildPackagesAction();
+ buildPackageAction.init(getViewSite().getWorkbenchWindow());
newPackageContributions = new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS);
}
More information about the jboss-cvs-commits
mailing list