资源库

标识符:org.eclipse.team.core.repository

描述:此扩展点用来注册资源库提供程序。资源库提供程序提供了本地工作区中项目的内容与远程资源库中特定类型(例如,CVS、Clearcase 和 PVCS 等等)的相应实体之间的同步。

提供程序可为此扩展点提供扩展。

配置标记:

   <!ELEMENT repository EMPTY>
   <!ATTLIST repository
      id         CDATA #REQUIRED
      class      CDATA #REQUIRED
   >

示例:

以下是资源库扩展的一个示例:

   <extension point="org.eclipse.team.core.repository">
      <repository
        id="org.eclipse.team.cvs.core.cvsprovider"
        class="org.eclipse.team.internal.ccvs.core.CVSTeamProvider">
      </repository>
   </extension>

所提供的实现:插件 org.eclipse.team.examples.filesystem 包含基于文件系统的资源库提供程序的 RepositoryProvider 的样本实现。

Copyright IBM Corp. 2000, 2002.  All Rights Reserved.