public ToolWindowManagerListener[] getToolWindowManagerListeners() {
return twmListeners.getListeners(ToolWindowManagerListener.class);
}
public void addDockableManagerListener(DockableManagerListener listener) {
addToolWindowManagerListener(new DockableManager2ToolWindowManagerWrapper(listener));
}