<!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
>Et forslagssorteringsbidrag.
org.eclipse.wst.jsdt.ui.text.java.AbstractProposalSorter
og skal have en offentlig 0-argumentkonstruktør.
<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
og org.eclipse.wst.jsdt.internal.ui.text.java.AlphabeticSorter
implementerer de to standardfunktionsmåder for sortering.
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 v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html