File Types

Identifier:
org.eclipse.team.core.fileTypes

Since:
2.0

Description:
This extension point is used to register information about whether particular file types should be considered to contain text or binary data. This information is important to some repository providers as it affects how the data is stored, compared and transmitted.

Providers may provide an extension for this extension point. No code beyond the XML extension declaration is required.

Configuration Markup:

<!ELEMENT extension (fileTypes*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED>


<!ELEMENT fileTypes EMPTY>

<!ATTLIST fileTypes

extension CDATA #REQUIRED

type      (text|binary) >


Examples:
Following is an example of a fileTypes extension:


 <extension point="org.eclipse.team.core.fileTypes">
  <fileTypes extension="txt" type="text"/>
 </extension>


Copyright (c) 2004 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