org.netbeans.modules.java.api.common/0 1.37

org.netbeans.modules.java.api.common.project
Interface BaseActionProvider.Callback2

All Superinterfaces:
BaseActionProvider.Callback
Enclosing class:
BaseActionProvider

public static interface BaseActionProvider.Callback2
extends BaseActionProvider.Callback

Callback for accessing project private data and supporting ant invocation hooks.

Since:
1.29

Method Summary
 void antTargetInvocationFailed(String command, Lookup context)
          Called when the ant target invocation failed.
 void antTargetInvocationFinished(String command, Lookup context, int result)
          Called after the ant target invocation.
 void antTargetInvocationStarted(String command, Lookup context)
          Called before an ant target is invoked.
 
Methods inherited from interface org.netbeans.modules.java.api.common.project.BaseActionProvider.Callback
findClassPath, getProjectSourcesClassPath
 

Method Detail

antTargetInvocationStarted

void antTargetInvocationStarted(String command,
                                Lookup context)
Called before an ant target is invoked. Note that call to BaseActionProvider.invokeAction(java.lang.String, org.openide.util.Lookup) does not necessarily means call to ant.

Parameters:
command - the command to be invoked
context - the invocation context

antTargetInvocationFinished

void antTargetInvocationFinished(String command,
                                 Lookup context,
                                 int result)
Called after the ant target invocation. This does not reflect whether the ant target returned error or not, just successful invocation. Note that call to BaseActionProvider.invokeAction(java.lang.String, org.openide.util.Lookup) does not necessarily means call to ant.

Parameters:
command - executed command
context - the invocation context

antTargetInvocationFailed

void antTargetInvocationFailed(String command,
                               Lookup context)
Called when the ant target invocation failed. Note that call to BaseActionProvider.invokeAction(java.lang.String, org.openide.util.Lookup) does not necessarily means call to ant.

Parameters:
command - failed command
context - the invocation context

org.netbeans.modules.java.api.common/0 1.37

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.