# Team Hook

###### Identifier:

org.eclipse.core.resources.teamHook

###### Since:

2.1

###### Description:

For providing an implementation of a TeamHook that is used for mechanisms available only to team providers. This extension point tolerates at most one extension.

###### Configuration Markup:

<!ELEMENT extension (teamHook)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT teamHook EMPTY>

<!ATTLIST teamHook

class CDATA #REQUIRED>

- class - the fully-qualified name of a class which subclasses `org.eclipse.core.resources.team.TeamHook`

###### Examples:

The following is an example of using the teamHook extension point. (in file plugin.xml)

       <extension point="org.eclipse.core.resources.teamHook">
          <teamHook class="org.eclipse.team.internal.TeamHook"/>
       </extension>

###### API Information:

The value of the class attribute must represent a subclass of `org.eclipse.core.resources.team.TeamHook`.

###### Supplied Implementation:

The Team component will generally provide the implementation of the team hook. The extension point should not be used by any other clients.

Copyright (c) 2002, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html