Java 类com.intellij.openapi.ui.ShadowAction 实例源码

项目:consulo    文件:JBTabsImpl.java   
protected BaseNavigationAction(final String copyFromID, JBTabsImpl tabs, ActionManager mgr) {
  myActionManager = mgr;
  myTabs = tabs;
  myShadow = new ShadowAction(this, myActionManager.getAction(copyFromID), tabs);
  Disposer.register(tabs, myShadow);
  setEnabledInModalContext(true);
}
项目:intellij-ce-playground    文件:NavigationAction.java   
protected NavigationAction(JComponent c, final String originalActionID) {
  final AnAction original = ActionManager.getInstance().getAction(originalActionID);
  myShadow = new ShadowAction(this, original, c);
  getTemplatePresentation().setIcon(original.getTemplatePresentation().getIcon());
}
项目:intellij-ce-playground    文件:EditorTabbedContainer.java   
public CloseTab(JComponent c, TabInfo info) {
  myTabInfo = info;
  myShadow = new ShadowAction(this, ActionManager.getInstance().getAction(IdeActions.ACTION_CLOSE), c);
}
项目:intellij-ce-playground    文件:TabbedContentAction.java   
protected TabbedContentAction(@NotNull final ContentManager manager, @NotNull AnAction shortcutTemplate, @NotNull String text) {
  super(text);
  myManager = manager;
  myShadow = new ShadowAction(this, shortcutTemplate, manager.getComponent(), new Presentation(text));
}
项目:intellij-ce-playground    文件:TabbedContentAction.java   
protected TabbedContentAction(@NotNull final ContentManager manager, @NotNull AnAction template) {
  myManager = manager;
  myShadow = new ShadowAction(this, template, manager.getComponent());
}
项目:intellij-ce-playground    文件:ShowContentAction.java   
public ShowContentAction(ToolWindow window, JComponent c) {
  myWindow = window;
  AnAction original = ActionManager.getInstance().getAction("ShowContent");
  new ShadowAction(this, original, c);
  copyFrom(original);
}
项目:intellij-ce-playground    文件:ResizeToolWindowAction.java   
protected ResizeToolWindowAction(ToolWindow toolWindow, String originalAction, JComponent c) {
  myToolWindow = toolWindow;
  new ShadowAction(this, ActionManager.getInstance().getAction(originalAction), c);
}
项目:intellij-ce-playground    文件:RegistryUi.java   
private RevertAction() {
  new ShadowAction(this, ActionManager.getInstance().getAction("EditorDelete"), myTable);
}
项目:intellij-ce-playground    文件:RegistryUi.java   
private EditAction() {
  new ShadowAction(this, ActionManager.getInstance().getAction(IdeActions.ACTION_EDIT_SOURCE), myTable);
}
项目:tools-idea    文件:NavigationAction.java   
protected NavigationAction(JComponent c, final String originalActionID) {
  final AnAction original = ActionManager.getInstance().getAction(originalActionID);
  myShadow = new ShadowAction(this, original, c);
  getTemplatePresentation().setIcon(original.getTemplatePresentation().getIcon());
}
项目:tools-idea    文件:EditorTabbedContainer.java   
public CloseTab(JComponent c, TabInfo info) {
  myTabInfo = info;
  myShadow = new ShadowAction(this, ActionManager.getInstance().getAction(IdeActions.ACTION_CLOSE), c);
}
项目:tools-idea    文件:TabbedContentAction.java   
protected TabbedContentAction(@NotNull final ContentManager manager, @NotNull AnAction shortcutTemplate, @NotNull String text) {
  super(text);
  myManager = manager;
  myShadow = new ShadowAction(this, shortcutTemplate, manager.getComponent(), new Presentation(text));
}
项目:tools-idea    文件:TabbedContentAction.java   
protected TabbedContentAction(@NotNull final ContentManager manager, @NotNull AnAction template) {
  myManager = manager;
  myShadow = new ShadowAction(this, template, manager.getComponent());
}
项目:tools-idea    文件:ShowContentAction.java   
public ShowContentAction(ToolWindow window, JComponent c) {
  myWindow = window;
  AnAction original = ActionManager.getInstance().getAction("ShowContent");
  new ShadowAction(this, original, c);
  copyFrom(original);
}
项目:tools-idea    文件:ResizeToolWindowAction.java   
protected ResizeToolWindowAction(ToolWindow toolWindow, String originalAction, JComponent c) {
  myToolWindow = toolWindow;
  new ShadowAction(this, ActionManager.getInstance().getAction(originalAction), c);
}
项目:tools-idea    文件:RegistryUi.java   
private RevertAction() {
  new ShadowAction(this, ActionManager.getInstance().getAction("EditorDelete"), myTable);
}
项目:tools-idea    文件:RegistryUi.java   
private EditAction() {
  new ShadowAction(this, ActionManager.getInstance().getAction(IdeActions.ACTION_EDIT_SOURCE), myTable);
}
项目:consulo    文件:NavigationAction.java   
protected NavigationAction(JComponent c, final String originalActionID) {
  final AnAction original = ActionManager.getInstance().getAction(originalActionID);
  myShadow = new ShadowAction(this, original, c);
  getTemplatePresentation().setIcon(original.getTemplatePresentation().getIcon());
}
项目:consulo    文件:EditorTabbedContainer.java   
CloseTab(JComponent c, TabInfo info) {
  myTabInfo = info;
  myShadow = new ShadowAction(this, ActionManager.getInstance().getAction(IdeActions.ACTION_CLOSE), c);
}
项目:consulo    文件:TabbedContentAction.java   
protected TabbedContentAction(@Nonnull final ContentManager manager, @Nonnull AnAction shortcutTemplate, @Nonnull String text) {
  super(text);
  myManager = manager;
  myShadow = new ShadowAction(this, shortcutTemplate, manager.getComponent(), new Presentation(text));
}
项目:consulo    文件:TabbedContentAction.java   
protected TabbedContentAction(@Nonnull final ContentManager manager, @Nonnull AnAction template) {
  myManager = manager;
  myShadow = new ShadowAction(this, template, manager.getComponent());
}
项目:consulo    文件:ShowContentAction.java   
public ShowContentAction(ToolWindow window, JComponent c) {
  myWindow = window;
  AnAction original = ActionManager.getInstance().getAction("ShowContent");
  new ShadowAction(this, original, c);
  copyFrom(original);
}
项目:consulo    文件:ResizeToolWindowAction.java   
protected ResizeToolWindowAction(ToolWindow toolWindow, String originalAction, JComponent c) {
  myToolWindow = toolWindow;
  new ShadowAction(this, ActionManager.getInstance().getAction(originalAction), c);
}
项目:consulo    文件:RegistryUi.java   
private RevertAction() {
  new ShadowAction(this, ActionManager.getInstance().getAction("EditorDelete"), myTable);
}
项目:consulo    文件:RegistryUi.java   
private EditAction() {
  new ShadowAction(this, ActionManager.getInstance().getAction(IdeActions.ACTION_EDIT_SOURCE), myTable);
}