從:2.0
說明:「團隊」外掛程式含有儲存庫的記號。儲存庫的工作就是提供在「團隊」成員之間共用資源的支援。儲存庫是根據每一個專案基礎來配置的。一次僅有一個儲存庫可以對映至專案。
延伸這個延伸點的儲存庫可以提供常用儲存庫特有規則的實作方式,以進行資源修改、移動和刪除。請參閱下列介面,
以取得 IFileModificationValidator
和 MoveDeleteHook
的詳細資料。
配置標記:
<!ELEMENT extension (repository)>
<!ATTLIST extension
point CDATA #REQUIRED
>
<!ELEMENT repository EMPTY>
<!ATTLIST repository
id CDATA
#IMPLIED
class CDATA #REQUIRED
>
<extension point="org.eclipse.team.core.repository"> <repository class="org.eclipse.myprovider.MyRepositoryProvider" id="org.eclipse.myprovider.myProviderID"> </repository> </extension>
API 資訊:class 屬性值必須代表 org.eclipse.team.core.RepositoryProvider 的子類別。
提供的實作方式:RepositoryProvider 提供的實作方式提供 helper 方法和常用的程式碼,來對映和取消提供者到專案的對映。
Copyright (c) 2002 IBM Corporation and others.
All rights reserved.
這個程式和伴隨的素材可以根據伴隨這個分送,而且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得的 Common Public License v1.0 的條款來使用