延伸這個延伸點的儲存庫可以提供常用儲存庫特有規則的實作,以進行資源修改、移動和刪除。請參閱下列介面,
以取得 IFileModificationValidator
和 MoveDeleteHook
的詳細資料。
也可以指定「儲存庫」類型以提供非專案特定的功能,如 org.eclipse.team.core.ProjectSetCapability。
<!ELEMENT extension (repository)>
<!ATTLIST extension
point CDATA #REQUIRED>
<!ELEMENT repository EMPTY>
<!ATTLIST repository
id CDATA #IMPLIED
class CDATA #REQUIRED
typeClass CDATA #IMPLIED>
<extension point=
"org.eclipse.team.core.repository"
>
<repository class=
"org.eclipse.myprovider.MyRepositoryProvider"
id=
"org.eclipse.myprovider.myProviderID"
>
</repository>
</extension>
Copyright (c) 2004 IBM Corporation and others. All rights reserved. 本程式和隨附的資料可以根據隨附這項分送且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得之 Common Public License v1.0 之條款來使用