|
org.netbeans.modules.projectuiapi/1 1.57.0 8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileActionPerformer
Callback interface for file-sensitive actions.
| Method Summary | |
|---|---|
boolean |
enable(FileObject file)
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 file. |
void |
perform(FileObject file)
Called when the user invokes the action. |
| Method Detail |
|---|
boolean enable(FileObject file)
file - the currently selected file, or null if no file is selected
void perform(@NonNull
FileObject file)
file - the file this action was invoked for
|
org.netbeans.modules.projectuiapi/1 1.57.0 8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||