Class 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 TypeFieldDescription
      org.eclipse.swt.widgets.ToolBartoolBar
      The tool bar.
    • Constructor Summary

      Constructors 
      ConstructorDescription
      ViewerToolbar​(org.eclipse.swt.widgets.Composite composite, int style)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcreateCollapseAll​(org.eclipse.jface.viewers.TreeViewer viewer)
      Creates the Collapse all.
      voidcreateExpandAll​(org.eclipse.jface.viewers.TreeViewer viewer)
      Creates the Expand all.
      voidcreateExpandAll​(org.eclipse.jface.viewers.TreeViewer viewer, boolean onlyIizi)
      Creates the Expand all for a only the iizi-Modules.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • toolBar

        public final org.eclipse.swt.widgets.ToolBar toolBar
        The tool bar.
    • Constructor Detail

      • ViewerToolbar

        public ViewerToolbar​(org.eclipse.swt.widgets.Composite composite,
                             int style)
        Constructor.
    • 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.