團隊裝飾元

org.eclipse.team.ui.teamDecorators

3.2

這個延伸點可在儲存庫提供者 id 和提供團隊狀態裝飾的裝飾元 id 之間建立關聯性。供模型提供者來判斷模型元素何時需要更新標籤。

<!ELEMENT extension (teamDecorator)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT teamDecorator EMPTY>

<!ATTLIST teamDecorator

repositoryId       CDATA #REQUIRED

decoratorId        CDATA #REQUIRED

decoratedDirection CDATA #IMPLIED>

建立儲存庫提供者和裝飾元的關聯性



以下是 teamDecorators 延伸規格範例
   

<extension point=

"org.eclipse.team.ui.teamDecorators"

>

<teamDecorator decoratorId=

"org.eclipse.team.cvs.ui.decorator"

repositoryId=

"org.eclipse.team.cvs.core.cvsnature"

/>

</extension>

repositoryId 必須對應於以 org.eclipse.team.core.repository 延伸點來登錄的提供者的 id。同樣地,decoratorId 必須對應於以 org.eclipse.ui.decorators 延伸點來登錄的裝飾元。

此延伸點沒有直接相關的實作方式。