/** * Creates a new <code>AddDelegateMethodsAction</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 AddDelegateMethodsAction(IWorkbenchSite site) { super(site); setText(ActionMessages.AddDelegateMethodsAction_label); setDescription(ActionMessages.AddDelegateMethodsAction_description); setToolTipText(ActionMessages.AddDelegateMethodsAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.ADD_DELEGATE_METHODS_ACTION); }
/** * Creates a new <code>AddDelegateMethodsAction</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 AddDelegateMethodsAction(IWorkbenchSite site) { super(site); setText(ActionMessages.AddDelegateMethodsAction_label); setDescription(ActionMessages.AddDelegateMethodsAction_description); setToolTipText(ActionMessages.AddDelegateMethodsAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.ADD_DELEGATE_METHODS_ACTION); }
/** * Creates a new <code>AddDelegateMethodsAction</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 AddDelegateMethodsAction(IWorkbenchSite site) { super(site); setText(ActionMessages.AddDelegateMethodsAction_label); setDescription(ActionMessages.AddDelegateMethodsAction_description); setToolTipText(ActionMessages.AddDelegateMethodsAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.ADD_DELEGATE_METHODS_ACTION); }