comparison dwtx/jface/text/templates/TemplateCompletionProcessor.d @ 147:000f9136b8f7

final
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 22:35:05 +0200
parents 02cd5f1224d3
children f70d9508c95c
comparison
equal deleted inserted replaced
146:75302ef3f92f 147:000f9136b8f7
65 public int compare(Object o1, Object o2) { 65 public int compare(Object o1, Object o2) {
66 return (cast(TemplateProposal) o2).getRelevance() - (cast(TemplateProposal) o1).getRelevance(); 66 return (cast(TemplateProposal) o2).getRelevance() - (cast(TemplateProposal) o1).getRelevance();
67 } 67 }
68 } 68 }
69 69
70 private static final Comparator fgProposalComparator= new ProposalComparator(); 70 private static const Comparator fgProposalComparator= new ProposalComparator();
71 71
72 /* 72 /*
73 * @see dwtx.jface.text.contentassist.IContentAssistProcessor#computeCompletionProposals(dwtx.jface.text.ITextViewer, 73 * @see dwtx.jface.text.contentassist.IContentAssistProcessor#computeCompletionProposals(dwtx.jface.text.ITextViewer,
74 * int) 74 * int)
75 */ 75 */