org.netbeans.modules.projectuiapi/1 1.51.1 8

org.netbeans.spi.project.ui.support
Class BuildExecutionSupport

java.lang.Object
  extended by org.netbeans.spi.project.ui.support.BuildExecutionSupport

public final class BuildExecutionSupport
extends Object

Register running and finished build/run/debug tasks for use by generic project UI, like "Repeat Build" action or "Stop Build" action in main menu.

Since:
org.netbeans.modules.projectuiapi/1 1.32

Nested Class Summary
static interface BuildExecutionSupport.Item
          Wrapper for the build job used by BuildExecutionSupport
 
Method Summary
static void registerFinishedItem(BuildExecutionSupport.Item item)
          Notify that the build job finished.
static void registerRunningItem(BuildExecutionSupport.Item item)
          Notify that the build job was started and pass a reference to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerRunningItem

public static void registerRunningItem(BuildExecutionSupport.Item item)
Notify that the build job was started and pass a reference to it. It is assumed that the given job instance is registered only once.

Parameters:
item -

registerFinishedItem

public static void registerFinishedItem(BuildExecutionSupport.Item item)
Notify that the build job finished. The instance passed shall be the same (or at least equal) to the one passed to registerRunningItem(). It is assumed that the given job instance is registered only once and only after the registerRunningItem() method was called.

Parameters:
item -

org.netbeans.modules.projectuiapi/1 1.51.1 8

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.