|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.modules.vcscore.actions.CommandActionSupporter
org.netbeans.modules.vcscore.VcsActionSupporter
TODO remove it's transitively unused.
| Constructor Summary | |
VcsActionSupporter()
Creates new VcsActionSupporter |
|
| Method Summary | |
void |
addSupportForAction(Class actionClass,
CommandSupport commandSupp)
|
String |
getMenuDisplayName(GeneralCommandAction action)
If the supporter enables the action, it can then add supporter-specific description to the menu name. |
String |
getPopupDisplayName(GeneralCommandAction action)
If the supporter enables the action, it can then add supporter-specific description to the popup menu name. |
String |
getToolBarDisplayName(GeneralCommandAction action)
If the supporter enables the action, it can then add supporter-specific description to the toolbar tooltip. |
boolean |
isEnabled(GeneralCommandAction action,
FileObject[] fileObjects)
GeneralCommandAction asks the supporter during the enabled(Node[] nodes) method. |
void |
performAction(GeneralCommandAction action,
FileObject[] fileObjects)
GeneralCommandAction tells the supporter during the performsAction(Node[] nodes) method to perform the action on the specified FileObjects. |
void |
removeSupportForAction(Class actionClass)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VcsActionSupporter()
| Method Detail |
public void addSupportForAction(Class actionClass, CommandSupport commandSupp)
public void removeSupportForAction(Class actionClass)
public boolean isEnabled(GeneralCommandAction action, FileObject[] fileObjects)
CommandActionSupporter
isEnabled in class CommandActionSupporteraction - The action that initiated this request.fileObjects - Array of fileObjects extracted from the Activated nodes.public void performAction(GeneralCommandAction action, FileObject[] fileObjects)
CommandActionSupporter
performAction in class CommandActionSupporteraction - The action that initiated this request.fileObjects - Array of fileObjects extracted from the Activated nodes.public String getToolBarDisplayName(GeneralCommandAction action)
getToolBarDisplayName in class CommandActionSupporterpublic String getMenuDisplayName(GeneralCommandAction action)
getMenuDisplayName in class CommandActionSupporterpublic String getPopupDisplayName(GeneralCommandAction action)
getPopupDisplayName in class CommandActionSupporter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||