## com.ibm.lab.soln.contributions
Class PackageExplorerCollapseNodesAction

    java.lang.Object
      |
      +--com.ibm.lab.soln.contributions.TreeViewerCollapseNodesAction
            |
            +--com.ibm.lab.soln.contributions.PackageExplorerCollapseNodesAction

All Implemented Interfaces:
  org.eclipse.ui.IActionDelegate, org.eclipse.ui.IViewActionDelegate

public class PackageExplorerCollapseNodesAction
extends TreeViewerCollapseNodesAction

An action contribution is defined for the Package Explorer view that will collapse the expanded nodes of its tree viewer. It relies on the abstract class TreeViewerCollapseNodesAction to do the work.

See Also:
  `TreeViewerCollapseNodesAction`

Constructor Summary
`PackageExplorerCollapseNodesAction()`

Method Summary
`protected org.eclipse.jface.viewers.TreeViewer` | `getTreeViewer()` Returns this view's TreeViewer which is required by the parent abstract class TreeViewerCollapseNodesAction.

Methods inherited from class com.ibm.lab.soln.contributions.TreeViewerCollapseNodesAction
`init, run, selectionChanged`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PackageExplorerCollapseNodesAction

    public PackageExplorerCollapseNodesAction()

Method Detail

### getTreeViewer

    protected org.eclipse.jface.viewers.TreeViewer getTreeViewer()

  Returns this view's TreeViewer which is required by the parent abstract class TreeViewerCollapseNodesAction. Note that this method uses the public getTreeViewer method of the JDT internal class: org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart
  Overrides:
    `getTreeViewer` in class `TreeViewerCollapseNodesAction`
  Following copied from class: `com.ibm.lab.soln.contributions.TreeViewerCollapseNodesAction`
  Returns:
    org.eclipse.jface.viewers.TreeViewer