protected Component interactiveTestContentComponent;
protected Component customizeContentComponent;
protected Component nestedManagerContentComponent;
public MyDoggySetContext(ToolWindowManager toolWindowManager, final Component parentComponent) {
addViewContextChangeListener(MyDoggySet.class, new AddContentAction(toolWindowManager,
"Welcome", "Welcome", null,
welcomeContentComponent = new WelcomeContentView(this).getComponent(),
"Welcome", (int) 'W'));
addViewContextChangeListener(ToolWindowManager.class, new AddContentAction(toolWindowManager,
"Manager", "Manager", null,
managerContentComponent = new ManagerView(toolWindowManager).getComponent(),
"Manager", (int) 'M'));
addViewContextChangeListener(ToolWindow.class, new AddContentAction(toolWindowManager,
"Tools", "Tools", null,
toolsContentComponent = new ToolWindowsView(toolWindowManager).getComponent(),
"ToolWindows", (int) 'T'));
addViewContextChangeListener(ToolWindowGroup.class, new AddContentAction(toolWindowManager,
"Groups", "Group Editor", null,
groupEditorContentComponent = new GroupsView(parentComponent, toolWindowManager).getComponent(),
"Groups", (int) 'G'));
addViewContextChangeListener(Content.class, new AddContentAction(toolWindowManager,
"Contents", "Contents", null,
contentsContentComponent = new ContentsView(toolWindowManager).getComponent(),
"Contents", (int) 'C'));
addViewContextChangeListener(InteractiveTest.class, new AddContentAction(toolWindowManager,
"ITests", "Interactive Tests", null,
interactiveTestContentComponent = new InteractiveTestView(this, parentComponent, toolWindowManager).getComponent(),
"Interactive Tests", (int) 'I'));
addViewContextChangeListener(ResourceManager.class, new AddContentAction(toolWindowManager,
"Customize", "Customize", null,
customizeContentComponent = new CustomizeView(parentComponent, toolWindowManager).getComponent(),
"Customize", (int) 'u'));
addViewContextChangeListener(ActionKey.NEST_TOOLMANAGER, new AddContentAction(toolWindowManager,
"Nested Manager", "Nested Manager", null,
nestedManagerContentComponent = new NestedManagerView(parentComponent, toolWindowManager).getComponent(),
"Nested Manager", (int) 'N'));
addViewContextChangeListener(UIManager.class, new ViewContextChangeListener() {