Java Code Examples for org.eclipse.swt.widgets.ToolBar#dispose()
The following examples show how to use
org.eclipse.swt.widgets.ToolBar#dispose() .
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: OperationsComposite.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
protected int removeLineUI(final int i) { final int lineNumber = i; removes.get(lineNumber).dispose(); removes.remove(lineNumber); final OperationViewer operationViewer = operationViewers.get(lineNumber); operationViewer.dispose(); operationViewers.remove(lineNumber); final ToolBar toolBar = moveToolbars.remove(lineNumber); toolBar.dispose(); return lineNumber; }
Example 2
Source File: OperationGroupViewer.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
protected int removeLineUI(final int i) { final int lineNumber = i; removes.get(lineNumber).dispose(); removes.remove(lineNumber); final OperationViewer operationViewer = operationViewers.get(lineNumber); operationViewer.dispose(); operationViewers.remove(lineNumber); final ToolBar toolBar = moveToolbars.remove(lineNumber); toolBar.dispose(); return lineNumber; }