Java Code Examples for com.intellij.ui.content.Content#getManager()

The following examples show how to use com.intellij.ui.content.Content#getManager() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TabbedContentAction.java    From consulo with Apache License 2.0 4 votes vote down vote up
public ForContent(@Nonnull Content content, @Nonnull AnAction shortcutTemplate, final String text) {
  super(content.getManager(), shortcutTemplate, text);
  myContent = content;
  Disposer.register(content, myShadow);
}
 
Example 2
Source File: TabbedContentAction.java    From consulo with Apache License 2.0 4 votes vote down vote up
public ForContent(@Nonnull Content content, final AnAction template) {
  super(content.getManager(), template);
  myContent = content;
  Disposer.register(content, myShadow);
}