<!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
>候補ソーターのコントリビューション
org.eclipse.wst.jsdt.ui.text.java.AbstractProposalSorter
の public サブクラスでなければならず、また public 0 引数コンストラクターを使用する必要があります。
<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
および org.eclipse.wst.jsdt.internal.ui.text.java.AlphabeticSorter
は 2 つのデフォルトのソート動作を実装します。
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