Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

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)

>

  • extension - the file extension being identified by this contribution.
  • type - one of either "text" or "binary", identifying the contents of files matching the value of extension.

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 https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire