團隊 Decorator

既然顯示資源的任一檢視畫面能夠包含配置不同團隊提供者的專案, 提供分辨為儲存庫配置的資源 Decorators 給團隊提供者是非常有幫助的。CVS 用戶端使用 Decorators 來顯示資訊, 例如已用過的旗標、標示、關鍵字和修訂。

開啟團隊 Decorator 資源導覽器

某些 Decorator 可能很難計算,所以讓使用者稍微控制 Decorator 的使用或內容是一個好方法。CVS 用戶端提供喜好設定頁面,讓使用者控制 Decorator 內容和呈現方式。

請參閱 org.eclipse.ui.decorators 以取得 Decorator 延伸點的完整說明。下列為 CVS Decorator 標記:

   <extension
     point="org.eclipse.ui.decorators">
  <decorator
            objectClass="org.eclipse.core.resources.IResource"
            adaptable="true"
        label="%DecoratorStandard.name"
            state="false"
        class="org.eclipse.team.internal.ccvs.ui.CVSDecorator"
        id="org.eclipse.team.cvs.ui.decorator">
         <description>
        %DecoratorStandard.description
         </description>
      </decorator>
   </extension>

Copyright IBM Corporation and others 2000, 2003.