com.intellij.openapi.actionSystem.ToggleAction Java Examples

The following examples show how to use com.intellij.openapi.actionSystem.ToggleAction. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AutoScrollFromSourceHandler.java    From consulo with Apache License 2.0 4 votes vote down vote up
public ToggleAction createToggleAction() {
  return new AutoScrollFromSourceAction();
}
 
Example #2
Source File: AutoScrollToSourceHandler.java    From consulo with Apache License 2.0 4 votes vote down vote up
public ToggleAction createToggleAction() {
  return new AutoscrollToSourceAction();
}
 
Example #3
Source File: GlobalInspectionContextImpl.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Nonnull
public ToggleAction createToggleAutoscrollAction() {
  return myUIOptions.getAutoScrollToSourceHandler().createToggleAction();
}