/** * The <code>PropertySheetPage</code> implementation of this <code>IPage</code> method * calls <code>makeContributions</code> for backwards compatibility with * previous versions of <code>IPage</code>. * <p> * Subclasses may reimplement. * </p> */ public void setActionBars(IActionBars actionBars) { super.setActionBars(actionBars); cellEditorActionHandler = new CellEditorActionHandler(actionBars); cellEditorActionHandler.setCopyAction(copyAction); }
/** * The <code>PropertySheetPage</code> implementation of this <code>IPage</code> method * calls <code>makeContributions</code> for backwards compatibility with * previous versions of <code>IPage</code>. * <p> * Subclasses may reimplement. * </p> */ @Override public void setActionBars(IActionBars actionBars) { super.setActionBars(actionBars); cellEditorActionHandler = new CellEditorActionHandler(actionBars); cellEditorActionHandler.setCopyAction(copyAction); }
/** * The <code>PropertySheetPage</code> implementation of this <code>IPage</code> method * calls <code>makeContributions</code> for backwards compatibility with * previous versions of <code>IPage</code>. * <p> * Subclasses may reimplement. * </p> */ @Override public void setActionBars(IActionBars actionBars) { super.setActionBars(actionBars); cellEditorActionHandler = new CellEditorActionHandler(actionBars); cellEditorActionHandler.setCopyAction(copyAction); }
/** * Sets global action handlers for: delete select all. * * @param actionBars the new action bars */ @Override public void setActionBars(IActionBars actionBars) { actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), mDeleteAction); getSite().getSelectionProvider().addSelectionChangedListener(mDeleteAction); actionBars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), mSelectAllAction); super.setActionBars(actionBars); }