Bug 296800 [GlobalActions] UI build actions should not lock the workspace
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/GlobalBuildAction.java
} catch (CoreException e) {
                    return e.getStatus();
                } finally {
                    monitor.done();
                }
                return Status.OK_STATUS;
            }
            /*
             * (non-Javadoc)
             * 
             * @see org.eclipse.core.runtime.jobs.Job#belongsTo(java.lang.Object)
             */
            public boolean belongsTo(Object family) {
                return ResourcesPlugin.FAMILY_MANUAL_BUILD == family;
            }
        };
        buildJob.setRule(ResourcesPlugin.getWorkspace().getRuleFactory()
                .buildRule());
        buildJob.setUser(true);
        buildJob.schedule();
    }
    /**
     * Returns an array of all projects in the workspace
     */
    IProject[] getWorkspaceProjects() {
        return ResourcesPlugin.getWorkspace().getRoot().getProjects();
    }
    /*
     * (non-Javadoc) Method declared on IAction.
     *