Example usage for com.intellij.openapi.actionSystem IdeActions ACTION_MARK_ALL_NOTIFICATIONS_AS_READ

List of usage examples for com.intellij.openapi.actionSystem IdeActions ACTION_MARK_ALL_NOTIFICATIONS_AS_READ

Introduction

In this page you can find the example usage for com.intellij.openapi.actionSystem IdeActions ACTION_MARK_ALL_NOTIFICATIONS_AS_READ.

Prototype

String ACTION_MARK_ALL_NOTIFICATIONS_AS_READ

To view the source code for com.intellij.openapi.actionSystem IdeActions ACTION_MARK_ALL_NOTIFICATIONS_AS_READ.

Click Source Link

Usage

From source file:com.headwire.aem.tooling.intellij.console.ConsoleLogToolWindowFactory.java

License:Apache License

private static ActionToolbar createToolbar(Project project, Editor editor, ConsoleLogConsole console) {
    DefaultActionGroup group = new DefaultActionGroup();
    group.add(new EditNotificationSettings(project));
    group.add(new DisplayBalloons());
    group.add(new ToggleSoftWraps(editor));
    group.add(new ScrollToTheEndToolbarAction(editor));
    group.add(ActionManager.getInstance().getAction(IdeActions.ACTION_MARK_ALL_NOTIFICATIONS_AS_READ));
    group.add(new ConsoleLogConsole.ClearLogAction(console));
    group.add(new ContextHelpAction(ConsoleLog.HELP_ID));

    return ActionManager.getInstance().createActionToolbar(ActionPlaces.UNKNOWN, group, false);
}