<!ELEMENT extension (compilationParticipant*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT compilationParticipant (requires* , managedMarker*)>
<!ATTLIST compilationParticipant
class CDATA #REQUIRED
id CDATA #REQUIRED
modifiesEnvironment (true | false)
createsProblems (true | false)
requiredSourceLevel CDATA #IMPLIED>
编译参与者的定义。此定义允许对参与者进行排序。参与者是分组运行的。用于修改环境的参与者组将首先运行,然后运行用于创建问题的参与者组,最后运行其他参与者的组。在每个组中,参与者是使用它们的“requires”属性排序的。如果“requires”属性指向不属于该组的参与者,则将忽略该属性。
org.eclipse.jdt.core.compiler.CompilationParticipant
的公共子类。<!ELEMENT requires EMPTY>
<!ATTLIST requires
id CDATA #REQUIRED>
运行此编译参与者时所需的参与者。
<!ELEMENT managedMarker EMPTY>
<!ATTLIST managedMarker
markerType CDATA #REQUIRED>
受管标记是根据记录的问题创建的(请参阅 BuildContext#recordNewProblems(CategorizedProblem[]))。当重新构建相应的源文件或者清理项目时,将除去此标记。
Copyright (c) 2005 BEA Systems, Inc 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