Example usage for com.intellij.openapi.ui ShadowAction ShadowAction

List of usage examples for com.intellij.openapi.ui ShadowAction ShadowAction

Introduction

In this page you can find the example usage for com.intellij.openapi.ui ShadowAction ShadowAction.

Prototype

public ShadowAction(AnAction action, AnAction copyFromAction, JComponent component,
            @NotNull Disposable parentDisposable) 

Source Link

Usage

From source file:com.intellij.ui.content.tabs.TabbedContentAction.java

License:Apache License

protected TabbedContentAction(@NotNull final ContentManager manager, @NotNull AnAction shortcutTemplate,
        @NotNull String text) {//from  w w  w.  j a va2 s  .  c om
    super(text);
    myManager = manager;
    myShadow = new ShadowAction(this, shortcutTemplate, manager.getComponent(), new Presentation(text));
}