public IWorkbenchWindow createWindow() { IWorkbenchWindow newWindow = createDefaultWorkspaceWindowMock(); workbenchWindows.add(newWindow); for (IWindowListener wndListener : workbenchListeners) { wndListener.windowOpened(newWindow); } return newWindow; }
public Collection<IWindowListener> getWindowListeners() { return Collections.unmodifiableCollection(this.workbenchListeners); }
static IWindowListener getActivationListener() { return StaticActivation.activationListener; }