Java Code Examples for org.eclipse.jface.action.ToolBarManager#removeAll()
The following examples show how to use
org.eclipse.jface.action.ToolBarManager#removeAll() .
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: HoverInformationControl.java From xds-ide with Eclipse Public License 1.0 | 6 votes |
@Override public void setVisible(boolean visible) { if (fInput != null) { fInput.setVisible(visible); } if (!visible) { Control[] children= fParent.getChildren(); for (Control element : children) { element.dispose(); } ToolBarManager toolBarManager= getToolBarManager(); if (toolBarManager != null) { toolBarManager.removeAll(); } } super.setVisible(visible); }
Example 2
Source File: AnnotationWithQuickFixesHover.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
protected void disposeDeferredCreatedContent() { Control[] children= fParent.getChildren(); for (int i= 0; i < children.length; i++) { children[i].dispose(); } ToolBarManager toolBarManager= getToolBarManager(); if (toolBarManager != null) toolBarManager.removeAll(); }
Example 3
Source File: AbstractAnnotationHover.java From typescript.java with MIT License | 5 votes |
protected void disposeDeferredCreatedContent() { Control[] children = fParent.getChildren(); for (int i = 0; i < children.length; i++) { children[i].dispose(); } ToolBarManager toolBarManager = getToolBarManager(); if (toolBarManager != null) toolBarManager.removeAll(); }
Example 4
Source File: AbstractAnnotationHover.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
protected void disposeDeferredCreatedContent() { Control[] children= fParent.getChildren(); for (int i= 0; i < children.length; i++) { children[i].dispose(); } ToolBarManager toolBarManager= getToolBarManager(); if (toolBarManager != null) toolBarManager.removeAll(); }
Example 5
Source File: AbstractAnnotationHover.java From goclipse with Eclipse Public License 1.0 | 5 votes |
protected void disposeDeferredCreatedContent() { Control[] children= fParent.getChildren(); for (int i= 0; i < children.length; i++) { children[i].dispose(); } ToolBarManager toolBarManager= getToolBarManager(); if (toolBarManager != null) toolBarManager.removeAll(); }