/** * Returns the configured selection. If no selection has been configured using {@link #setSelection(IStructuredSelection)}, * the currently selected element of the active workbench is returned. * @return the configured selection */ protected IStructuredSelection getSelection() { if (fSelection == null) { return evaluateCurrentSelection(); } return fSelection; }
/** * Returns the configured selection. If no selection has been configured using {@link #setSelection(IStructuredSelection)}, * the currently selected element of the active workbench is returned. * @return the configured selection */ protected IStructuredSelection getSelection() { if (fSelection == null) { return evaluateCurrentSelection(); } return fSelection; }
/** * Returns the configured selection. If no selection has been configured using {@link #setSelection(IStructuredSelection)}, * the currently selected element of the active workbench is returned. * @return the configured selection */ protected IStructuredSelection getSelection() { if (fSelection == null) { return evaluateCurrentSelection(); } return fSelection; }