java.lang.Object
ToggleAction
com.maddyhome.idea.vim.VimPlugin.VimPluginToggleAction
- Enclosing class:
- VimPlugin
- public static class VimPlugin.VimPluginToggleAction
- extends ToggleAction
This class is used to handle the Vim Plugin enabled/disabled toggle. This is most likely used as a menu
option but could also be used as a toolbar item.
|
Method Summary |
boolean |
isSelected(AnActionEvent event)
Indicates if the toggle is on or off |
void |
setSelected(AnActionEvent event,
boolean b)
Specifies whether the toggle should be on or off |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VimPlugin.VimPluginToggleAction
public VimPlugin.VimPluginToggleAction()
isSelected
public boolean isSelected(AnActionEvent event)
- Indicates if the toggle is on or off
setSelected
public void setSelected(AnActionEvent event,
boolean b)
- Specifies whether the toggle should be on or off