Eclipse JDT
Release 3.0

org.eclipse.jdt.ui.text.java
Interface IJavaCompletionProposal

All Superinterfaces:
ICompletionProposal

public interface IJavaCompletionProposal
extends ICompletionProposal

A completion proposal with a relevance value. The relevance value is used to sort the completion proposals. Proposals with higher relevance should be listed before proposals with lower relevance.

Since:
2.1
See Also:
ICompletionProposal

Method Summary
 int getRelevance()
          Returns the relevance of this completion proposal.
 
Methods inherited from interface org.eclipse.jface.text.contentassist.ICompletionProposal
apply, getAdditionalProposalInfo, getContextInformation, getDisplayString, getImage, getSelection
 

Method Detail

getRelevance

public int getRelevance()
Returns the relevance of this completion proposal.

The relevance is used to determine if this proposal is more relevant than another proposal.

Returns:
the relevance of this completion proposal in the range of [0, 100]

Eclipse JDT
Release 3.0

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.