Package com.iizigo.swt
Class ViewerToolbar
java.lang.Object
com.iizigo.swt.ViewerToolbar
A simple viewer toolbar class. For now it adds support for expand/collapse all.
- Author:
- Christopher Mindus
Field Summary
Constructor Summary
ConstructorDescriptionViewerToolbar
(org.eclipse.swt.widgets.Composite composite, int style) Constructor.Method Summary
Modifier and TypeMethodDescriptionvoid
createCollapseAll
(org.eclipse.jface.viewers.TreeViewer viewer) Creates the Collapse all.void
createExpandAll
(org.eclipse.jface.viewers.TreeViewer viewer) Creates the Expand all.void
createExpandAll
(org.eclipse.jface.viewers.TreeViewer viewer, boolean onlyIizi) Creates the Expand all for a only the IIZI Modules.
Field Details
toolBar
public final org.eclipse.swt.widgets.ToolBar toolBarThe tool bar.
Constructor Details
ViewerToolbar
public ViewerToolbar(org.eclipse.swt.widgets.Composite composite, int style) Constructor.
Method Details
createExpandAll
public void createExpandAll(org.eclipse.jface.viewers.TreeViewer viewer) Creates the Expand all.createExpandAll
public void createExpandAll(org.eclipse.jface.viewers.TreeViewer viewer, boolean onlyIizi) Creates the Expand all for a only the IIZI Modules.createCollapseAll
public void createCollapseAll(org.eclipse.jface.viewers.TreeViewer viewer) Creates the Collapse all.