|
Eclipse Platform Release 4.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICompletionProposalSorter
An ICompletionProposalSorter provides support for sorting proposals of a content
assistant.
Implementors of this interface have to register this sorter with the content assist whenever
needed. See ContentAssistant.setSorter(ICompletionProposalSorter) for more information on
how to register a proposal sorter.
| Method Summary | |
|---|---|
int |
compare(ICompletionProposal p1,
ICompletionProposal p2)
The orderings imposed by an implementation need not be consistent with equals. |
| Method Detail |
|---|
int compare(ICompletionProposal p1,
ICompletionProposal p2)
p1 - the first proposal to be comparedp2 - the second proposal to be compared
Comparator.compare(java.lang.Object, java.lang.Object)
|
Eclipse Platform Release 4.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.