<!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
的公用子类,并且必须具有公用无参数构造函数。
<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 实现两种缺省排序行为。
Copyright © 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