参与者是一个类属组件,它提供访问权来创建页面并对用户显示,并提供一个配置来为页面定义常见配置参数。“同步视图”对于如何对用户显示更改不会强加任何限制,它只是管理参与者。
<!ELEMENT extension (participant)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT participant EMPTY>
<!ATTLIST participant
icon CDATA #IMPLIED
id CDATA #REQUIRED
class CDATA #REQUIRED
name CDATA #REQUIRED
persistent (true | false) "false">
<extension point=
"org.eclipse.team.ui.synchronizeParticipants"
>
<participant name=
"CVS Workspace"
icon=
"icons/full/cview16/server.gif"
class=
"org.eclipse.team.internal.ccvs.ui.subscriber.WorkspaceSynchronizeParticipant"
id=
"org.eclipse.team.cvs.ui.cvsworkspace-participant"
>
</participant>
<participant name=
"CVS Merge"
icon=
"icons/full/obj16/prjversions_rep.gif"
class=
"org.eclipse.team.internal.ccvs.ui.subscriber.MergeSynchronizeParticipant"
type=
"dynamic"
id=
"org.eclipse.team.cvs.ui.cvsmerge-participant"
>
</participant>
</extension>
Copyright (c) 2004, 2005 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