de.frag.umlplugin.classcloud.actions
Class HighlightDependenciesToggleAction

java.lang.Object
  extended by com.intellij.openapi.actionSystem.AnAction
      extended by com.intellij.openapi.actionSystem.ToggleAction
          extended by de.frag.umlplugin.classcloud.actions.HighlightDependenciesToggleAction

public class HighlightDependenciesToggleAction
extends com.intellij.openapi.actionSystem.ToggleAction

Toggle between two states for clicking on a node: navigate to source and highlight dependent classes.


Field Summary
 
Fields inherited from class com.intellij.openapi.actionSystem.ToggleAction
SELECTED_PROPERTY
 
Fields inherited from class com.intellij.openapi.actionSystem.AnAction
EMPTY_ARRAY, ourClientProperty
 
Constructor Summary
HighlightDependenciesToggleAction()
           
 
Method Summary
 boolean isSelected(com.intellij.openapi.actionSystem.AnActionEvent e)
          Returns the selected (checked, pressed) state of the action.
 void setSelected(com.intellij.openapi.actionSystem.AnActionEvent e, boolean state)
          Sets the selected state of the action to the specified value.
 
Methods inherited from class com.intellij.openapi.actionSystem.ToggleAction
actionPerformed, update
 
Methods inherited from class com.intellij.openapi.actionSystem.AnAction
beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, createTooltipText, displayTextInToolbar, getShortcutSet, getTemplatePresentation, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, unregisterCustomShortcutSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighlightDependenciesToggleAction

public HighlightDependenciesToggleAction()
Method Detail

isSelected

public boolean isSelected(com.intellij.openapi.actionSystem.AnActionEvent e)
Returns the selected (checked, pressed) state of the action.

Specified by:
isSelected in class com.intellij.openapi.actionSystem.ToggleAction
Parameters:
e - the action event representing the place and context in which the selected state is queried.
Returns:
true if the action is selected, false otherwise

setSelected

public void setSelected(com.intellij.openapi.actionSystem.AnActionEvent e,
                        boolean state)
Sets the selected state of the action to the specified value.

Specified by:
setSelected in class com.intellij.openapi.actionSystem.ToggleAction
Parameters:
e - the action event which caused the state change.
state - the new selected state of the action.