Class BuildActiveCommandHandler

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class BuildActiveCommandHandler
    extends org.eclipse.core.commands.AbstractHandler
    Build active project
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event)  
      protected java.util.Collection<org.eclipse.core.resources.IBuildConfiguration> getBuildConfigs​(java.util.Collection<org.eclipse.core.resources.IProject> projects)  
      protected java.util.Collection<org.eclipse.core.resources.IProject> getProjects​(org.eclipse.debug.core.ILaunchConfiguration config)  
      protected void saveEditors​(java.util.Collection<org.eclipse.core.resources.IProject> projects)  
      • Methods inherited from class org.eclipse.core.commands.AbstractHandler

        addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
      • Methods inherited from class org.eclipse.core.commands.common.EventManager

        addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BuildActiveCommandHandler

        public BuildActiveCommandHandler()
    • Method Detail

      • execute

        public java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event)
                                 throws org.eclipse.core.commands.ExecutionException
        Throws:
        org.eclipse.core.commands.ExecutionException
      • getProjects

        protected java.util.Collection<org.eclipse.core.resources.IProject> getProjects​(org.eclipse.debug.core.ILaunchConfiguration config)
      • getBuildConfigs

        protected java.util.Collection<org.eclipse.core.resources.IBuildConfiguration> getBuildConfigs​(java.util.Collection<org.eclipse.core.resources.IProject> projects)
      • saveEditors

        protected void saveEditors​(java.util.Collection<org.eclipse.core.resources.IProject> projects)