Java Code Examples for org.eclipse.ui.IWorkbenchWindow#removePageListener()
The following examples show how to use
org.eclipse.ui.IWorkbenchWindow#removePageListener() .
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: AllInOneWorkbenchListener.java From typescript.java with MIT License | 5 votes |
private void unhookListeners(IWorkbenchWindow window) { if (window == null) return; window.removePageListener(this); window.removePerspectiveListener(this); for (IWorkbenchPage page : window.getPages()) { unhookListeners(page); } }
Example 2
Source File: JSDTEditorTracker.java From typescript.java with MIT License | 5 votes |
@Override public void windowClosed(IWorkbenchWindow window) { IWorkbenchPage[] pages = window.getPages(); for (IWorkbenchPage page : pages) { pageClosed(page); } window.removePageListener(this); }
Example 3
Source File: EditorTracker.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
public void windowClosed(IWorkbenchWindow window) { window.removePageListener(this); }