<!ELEMENT extension (proposalSorter+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT proposalSorter EMPTY>
<!ATTLIST proposalSorter
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
A proposal sorter contribution.
org.eclipse.wst.jsdt.ui.text.java.AbstractProposalSorter
and must have a public 0-argument constructor.
<extension point="org.eclipse.wst.jsdt.ui.javaCompletionProposalSorters"> <proposalSorter id="org.eclipse.wst.jsdt.ui.RelevanceSorter" name="by relevance" class="org.eclipse.wst.jsdt.internal.ui.text.java.RelevanceSorter"/> </extension>
AbstractProposalSorter
.
org.eclipse.wst.jsdt.internal.ui.text.java.RelevanceSorter
and org.eclipse.wst.jsdt.internal.ui.text.java.AlphabeticSorter
implement the two default sort behaviors.
Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/