| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <TITLE>Team decorators</TITLE> |
| |
| <link rel="stylesheet" type="text/css" HREF="../book.css"> |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <h3>Team decorators </h3> |
| <p>Since any view that shows resources can contain projects that are configured |
| with different team providers, it is helpful for team providers to contribute |
| <a href="workbench_advext_decorators.htm">decorators</a> that distinguish resources |
| configured for their repository. The CVS client uses decorators to show |
| information such as a dirty flag (the > symbol), tags, keywords (e.g. "(ASCII |
| -kkv)"), and revisions (e.g. "1.15"). Icons can also be decorated |
| (e.g. the <img src="images/team-version_controlled.png" alt="version control icon"> |
| symbol indicates that the resource is managed by CVS).</p> |
| |
| |
| |
| |
| <p><img src="images/teamdecorators.png" alt="Resource navigator with team decorators turned on" border="0" > |
| </p> |
| |
| |
| |
| |
| <p>Some decorators may be expensive to compute, so it's a good idea to allow the |
| users some control over the use, or even content, of decorators. The CVS |
| client provides a preference page that allows users to control the presentation |
| and content of decorators. |
| </p> |
| |
| |
| |
| |
| <p>See <a href="../reference/extension-points/org_eclipse_ui_decorators.html"><b>org.eclipse.ui.decorators</b></a> |
| for a complete description of the decorator extension point. The CVS |
| decorator markup is as follows: |
| </p> |
| |
| <pre><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></pre> |
| |
| </BODY> |
| </HTML> |