@Override public void widgetSelected(SelectionEvent e) { handleTableSelectionChanged(); }
@Override public void widgetSelected(SelectionEvent e) { handleTableSelectionChanged(); }
/** * Selects the entry with the given index in the proposal selector and feeds * the selection to the additional info controller. * * @param index the index in the list * @param smartToggle <code>true</code> if the smart toogle key has been pressed * @since 2.1 */ private void selectProposal(int index, boolean smartToggle) { ICompletionProposal oldProposal= getSelectedProposal(); if (oldProposal instanceof ICompletionProposalExtension2) ((ICompletionProposalExtension2) oldProposal).unselected(fViewer); ICompletionProposal proposal= fFilteredProposals[index]; if (proposal instanceof ICompletionProposalExtension2) ((ICompletionProposalExtension2) proposal).selected(fViewer, smartToggle); fLastProposal= proposal; fProposalTable.setSelection(index); fProposalTable.showSelection(); if (fAdditionalInfoController != null) fAdditionalInfoController.handleTableSelectionChanged(); }
/** * Selects the entry with the given index in the proposal selector and feeds * the selection to the additional info controller. * * @param index the index in the list * @param smartToggle <code>true</code> if the smart toogle key has been pressed * @since 2.1 */ private void selectProposal(int index, boolean smartToggle) { ICompletionProposal oldProposal= getSelectedProposal(); if (oldProposal instanceof ICompletionProposalExtension2) ((ICompletionProposalExtension2) oldProposal).unselected(fViewer); ICompletionProposal proposal= fFilteredProposals[index]; if (proposal instanceof ICompletionProposalExtension2) ((ICompletionProposalExtension2) proposal).selected(fViewer, smartToggle); fLastProposal= proposal; fProposalTable.setSelection(index); fProposalTable.showSelection(); if (fAdditionalInfoController != null) fAdditionalInfoController.handleTableSelectionChanged(); }
fAdditionalInfoController.handleTableSelectionChanged();
fAdditionalInfoController.handleTableSelectionChanged();