Search in sources :

Example 11 with Separator

use of com.intellij.openapi.actionSystem.Separator in project intellij-community by JetBrains.

the class GitQuickListContentProvider method addVcsSpecificActions.

@Override
protected void addVcsSpecificActions(@NotNull ActionManager manager, @NotNull List<AnAction> actions) {
    add("Git.Branches", manager, actions);
    add("Vcs.Push", manager, actions);
    add("Git.Stash", manager, actions);
    add("Git.Unstash", manager, actions);
    add("ChangesView.AddUnversioned", manager, actions);
    add("Git.ResolveConflicts", manager, actions);
    // Github
    addSeparator(actions);
    final AnAction githubRebase = manager.getAction("Github.Rebase");
    if (githubRebase != null) {
        actions.add(new Separator(GitBundle.message("vcs.popup.git.github.section")));
        actions.add(githubRebase);
    }
}
Also used : AnAction(com.intellij.openapi.actionSystem.AnAction) Separator(com.intellij.openapi.actionSystem.Separator)

Aggregations

Separator (com.intellij.openapi.actionSystem.Separator)11 DefaultActionGroup (com.intellij.openapi.actionSystem.DefaultActionGroup)7 NotNull (org.jetbrains.annotations.NotNull)6 BrowserHelpAction (com.android.tools.idea.actions.BrowserHelpAction)5 RecordingAction (com.android.tools.idea.monitor.actions.RecordingAction)4 AnAction (com.intellij.openapi.actionSystem.AnAction)4 ActionGroup (com.intellij.openapi.actionSystem.ActionGroup)2 Nullable (org.jetbrains.annotations.Nullable)2 GcAction (com.android.tools.idea.ddms.actions.GcAction)1 ToggleAllocationTrackingAction (com.android.tools.idea.ddms.actions.ToggleAllocationTrackingAction)1 ToggleMethodProfilingAction (com.android.tools.idea.ddms.actions.ToggleMethodProfilingAction)1 DumpHprofAction (com.android.tools.idea.ddms.hprof.DumpHprofAction)1 ToggleDebugRender (com.android.tools.idea.monitor.memory.actions.ToggleDebugRender)1 Pass (com.intellij.codeHighlighting.Pass)1 LineMarkerInfo (com.intellij.codeInsight.daemon.LineMarkerInfo)1 LineMarkerProviderDescriptor (com.intellij.codeInsight.daemon.LineMarkerProviderDescriptor)1 Info (com.intellij.execution.lineMarker.RunLineMarkerContributor.Info)1 AllIcons (com.intellij.icons.AllIcons)1 ActionManager (com.intellij.openapi.actionSystem.ActionManager)1 GutterIconRenderer (com.intellij.openapi.editor.markup.GutterIconRenderer)1