Package com.iizigo.swt
Class ViewerToolbar
- java.lang.Object
- com.iizigo.swt.ViewerToolbar
public class ViewerToolbar extends java.lang.Object
A simple viewer toolbar class. For now it adds support for expand/collapse all.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description org.eclipse.swt.widgets.ToolBar
toolBar
The tool bar.
Constructor Summary
Constructors Constructor Description ViewerToolbar(org.eclipse.swt.widgets.Composite composite, int style)
Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
Method Detail
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.