List of usage examples for com.intellij.openapi.ui ShadowAction ShadowAction
public ShadowAction(AnAction action, AnAction copyFromAction, JComponent component,
@NotNull Disposable parentDisposable)
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)); }