public interface ProjectActionPerformer
Modifier and Type | Method and Description |
---|---|
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.
|
boolean enable(Project project)
project
- the currently selected project, or null if no project is selectedvoid perform(Project project)
project
- the project this action was invoked for (XXX can this be null or not?)