private DefaultActionGroup initToolbarActionGroup() { DefaultActionGroup actionGroup = new DefaultActionGroup(); AnAction startAction = new StartAction(); AnAction stopAction = new StopAction(); AnAction clearAction = new ClearAction(); AnAction clearSelectedAction = new ClearSelectedAction(); AnAction aboutAction = new AboutAction(); ToggleAction wrapAction = new WrapAction(); actionGroup.add(startAction); actionGroup.add(stopAction); actionGroup.add(clearSelectedAction); actionGroup.add(clearAction); actionGroup.add(wrapAction); actionGroup.add(aboutAction); return actionGroup; }
@Override protected void fillToolbarActions(DefaultActionGroup group) { super.fillToolbarActions(group); if(myToImplement) { return; } ToggleAction sortByOverridingAction = new MySortByOverridingAction(); if(mySortedByOverriding) { changeSortComparator(PsiMethodWithOverridingPercentMember.COMPARATOR); } group.add(sortByOverridingAction, Constraints.FIRST); myMergeAction = new MyMergeAction(); group.add(myMergeAction); }
public ToggleAction createToggleAction() { return new AutoScrollFromSourceAction(); }
@NotNull public ToggleAction createToggleAutoscrollAction() { return myUIOptions.getAutoScrollToSourceHandler().createToggleAction(); }
public ToggleAction createToggleAction() { return new AutoscrollToSourceAction(); }
public ToggleAction createToggleAutoscrollAction() { return myUIOptions.getAutoScrollToSourceHandler().createToggleAction(); }
ToggleAction createToggleAutoscrollAction() { return myAutoScrollToSourceHandler.createToggleAction(); }
@Nonnull public ToggleAction createToggleAutoscrollAction() { return myUIOptions.getAutoScrollToSourceHandler().createToggleAction(); }