Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.projectuiapi/1 1.13.22 5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.spi.project.ui.support
Interface ProjectActionPerformer

    public interface ProjectActionPerformer

Callback interface for project- and main project-sensitive actions.

Method Summary
`boolean` | `enable(Project project)` Called when the context of the action changes and the action should be enabled or disabled within the new context, according to the newly selected project.
`void` | `perform(Project project)` Called when the user invokes the action.

Method Detail

### enable

    boolean enable(Project project)

  Called when the context of the action changes and the action should be enabled or disabled within the new context, according to the newly selected project.

  Parameters:
    `project` - the currently selected project, or null if no project is selected
  Returns:
    true to enable the action, false to disable it

### perform

    void perform(Project project)

  Called when the user invokes the action.

  Parameters:
    `project` - the project this action was invoked for (XXX can this be null or not?)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.projectuiapi/1 1.13.22 5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.