/** * Creates the action. * * @param textViewer the text viewer */ public SelectAllAction(TextViewer textViewer) { super("selectAll"); //$NON-NLS-1$ Assert.isNotNull(textViewer); fTextViewer= textViewer; setText(InfoViewMessages.SelectAllAction_label); setToolTipText(InfoViewMessages.SelectAllAction_tooltip); setDescription(InfoViewMessages.SelectAllAction_description); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IAbstractTextEditorHelpContextIds.SELECT_ALL_ACTION); }
@Override protected void createActions() { super.createActions(); fSelectAllAction= new SelectAllAction(fViewer);
protected void createActions() { super.createActions(); fSelectAllAction= new SelectAllAction(fViewer);
@Override protected void createActions() { super.createActions(); fSelectAllAction= new SelectAllAction(fViewer);
/** * Creates the action. * * @param textViewer the text viewer */ public SelectAllAction(TextViewer textViewer) { super("selectAll"); //$NON-NLS-1$ Assert.isNotNull(textViewer); fTextViewer= textViewer; setText(InfoViewMessages.SelectAllAction_label); setToolTipText(InfoViewMessages.SelectAllAction_tooltip); setDescription(InfoViewMessages.SelectAllAction_description); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IAbstractTextEditorHelpContextIds.SELECT_ALL_ACTION); }
/** * Creates the action. * * @param textViewer the text viewer */ public SelectAllAction(TextViewer textViewer) { super("selectAll"); //$NON-NLS-1$ Assert.isNotNull(textViewer); fTextViewer= textViewer; setText(InfoViewMessages.SelectAllAction_label); setToolTipText(InfoViewMessages.SelectAllAction_tooltip); setDescription(InfoViewMessages.SelectAllAction_description); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IAbstractTextEditorHelpContextIds.SELECT_ALL_ACTION); }