Package org.eclipse.handly.ui.typehierarchy

# Class TypeHierarchyViewPart.OpenEditorHelper

java.lang.Object
org.eclipse.ui.OpenAndLinkWithEditorHelper
org.eclipse.handly.ui.typehierarchy.TypeHierarchyViewPart.OpenEditorHelper

Enclosing class:
  TypeHierarchyViewPart

protected class TypeHierarchyViewPart.OpenEditorHelper extends org.eclipse.ui.OpenAndLinkWithEditorHelper
Helper for opening editors on the viewer's selection.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OpenEditorHelper(org.eclipse.jface.viewers.StructuredViewer viewer)`
  Creates a new helper for the given viewer.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `activate(org.eclipse.jface.viewers.ISelection selection)`
  `protected void`
  `open(org.eclipse.jface.viewers.ISelection selection, boolean activate)`

  ### Methods inherited from class org.eclipse.ui.OpenAndLinkWithEditorHelper

  `dispose, linkToEditor, setLinkWithEditor`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### OpenEditorHelper

    public OpenEditorHelper(org.eclipse.jface.viewers.StructuredViewer viewer)
    Creates a new helper for the given viewer.
    Parameters:
      `viewer` - the viewer

- ## Method Details

  - ### activate

    protected void activate(org.eclipse.jface.viewers.ISelection selection)
    Specified by:
      `activate` in class `org.eclipse.ui.OpenAndLinkWithEditorHelper`

  - ### open

    protected void open(org.eclipse.jface.viewers.ISelection selection, boolean activate)
    Specified by:
      `open` in class `org.eclipse.ui.OpenAndLinkWithEditorHelper`