チーム・リポジトリー・プロバイダー

org.eclipse.team.core.repository

2.0

チーム・プラグインにはリポジトリーの概念が含まれます。 リポジトリーは、チーム・メンバー間におけるリソースの共有をサポートします。 リポジトリーはプロジェクトごとに構成されます。 一度にプロジェクトにマップできるリポジトリーは 1 つだけです。

この拡張ポイントを拡張するリポジトリーは、 リソースの変更、移動、および削除に対する共通リポジトリー特有のルールの実装を提供します。 詳しくは 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>

class 属性の値は、org.eclipse.team.core.RepositoryProvider の サブクラスを表す必要があります。

RepositoryProvider で提供される実装は、 プロバイダーをプロジェクトにマップおよびマップ解除するためのヘルパー・メソッドおよび共通コードを提供します。 オプションの RepositoryProviderType では、ProjectSetCapability を使用したプロジェクト・セットの インポートとエクスポートが提供されます。