/** * Creates a new <code>OpenTypeHierarchyAction</code>. The action requires * that the selection provided by the site's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ public OpenTypeHierarchyAction(IWorkbenchSite site) { super(site); setText(ActionMessages.OpenTypeHierarchyAction_label); setToolTipText(ActionMessages.OpenTypeHierarchyAction_tooltip); setDescription(ActionMessages.OpenTypeHierarchyAction_description); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.OPEN_TYPE_HIERARCHY_ACTION); }
/** * Creates a new <code>OpenTypeHierarchyAction</code>. The action requires * that the selection provided by the site's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ public OpenTypeHierarchyAction(IWorkbenchSite site) { super(site); setText(ActionMessages.OpenTypeHierarchyAction_label); setToolTipText(ActionMessages.OpenTypeHierarchyAction_tooltip); setDescription(ActionMessages.OpenTypeHierarchyAction_description); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.OPEN_TYPE_HIERARCHY_ACTION); }
/** * Creates a new <code>OpenTypeHierarchyAction</code>. The action requires * that the selection provided by the site's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ public OpenTypeHierarchyAction(IWorkbenchSite site) { super(site); setText(ActionMessages.OpenTypeHierarchyAction_label); setToolTipText(ActionMessages.OpenTypeHierarchyAction_tooltip); setDescription(ActionMessages.OpenTypeHierarchyAction_description); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.OPEN_TYPE_HIERARCHY_ACTION); }