/** * Creates a new <code>ShowInPackageViewAction</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 ShowInPackageViewAction(IWorkbenchSite site) { super(site); setText(ActionMessages.ShowInPackageViewAction_label); setDescription(ActionMessages.ShowInPackageViewAction_description); setToolTipText(ActionMessages.ShowInPackageViewAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.SHOW_IN_PACKAGEVIEW_ACTION); }
/** * Creates a new <code>ShowInPackageViewAction</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 ShowInPackageViewAction(IWorkbenchSite site) { super(site); setText(ActionMessages.ShowInPackageViewAction_label); setDescription(ActionMessages.ShowInPackageViewAction_description); setToolTipText(ActionMessages.ShowInPackageViewAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.SHOW_IN_PACKAGEVIEW_ACTION); }
/** * Creates a new <code>ShowInPackageViewAction</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 ShowInPackageViewAction(IWorkbenchSite site) { super(site); setText(ActionMessages.ShowInPackageViewAction_label); setDescription(ActionMessages.ShowInPackageViewAction_description); setToolTipText(ActionMessages.ShowInPackageViewAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.SHOW_IN_PACKAGEVIEW_ACTION); }