/** *Handles a change of the line selected in the associated selector. */ public void handleTableSelectionChanged() { if (fProposalTable != null && !fProposalTable.isDisposed() && fProposalTable.isVisible()) { TableItem[] selection= fProposalTable.getSelection(); if (selection != null && selection.length > 0) { TableItem item= selection[0]; Object d= item.getData(); if (d instanceof ICompletionProposal) { ICompletionProposal p= (ICompletionProposal) d; fTimer.reset(p); } } } }
/** *Handles a change of the line selected in the associated selector. */ public void handleTableSelectionChanged() { if (fProposalTable != null && !fProposalTable.isDisposed() && fProposalTable.isVisible()) { TableItem[] selection= fProposalTable.getSelection(); if (selection != null && selection.length > 0) { TableItem item= selection[0]; Object d= item.getData(); if (d instanceof ICompletionProposal) { ICompletionProposal p= (ICompletionProposal) d; fTimer.reset(p); } } } }
@Override protected void hideInformationControl() { super.hideInformationControl(); if (fTimer != null) fTimer.reset(null); }
@Override protected void hideInformationControl() { super.hideInformationControl(); if (fTimer != null) fTimer.reset(null); }