# File Modification Validator

###### Identifier:

org.eclipse.core.resources.fileModificationValidator

###### Description:

For providing an implementation of an IFileModificationValidator to be used in the validate-edit and validate-save mechanism. This extension point tolerates at most one extension.

###### Configuration Markup:

<!ELEMENT extension (fileModificationValidator?)>

<!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 fileModificationValidator EMPTY>

<!ATTLIST fileModificationValidator

class CDATA #REQUIRED

>

- class - a fully qualified name of a class which implements `org.eclipse.core.resources.IFileModificationValidator`.

###### Examples:

The following is an example of using the `fileModificationValidator` extension point:

     <extension point="org.eclipse.core.resources.fileModificationValidator">
      <fileModificationValidator class="org.eclipse.vcm.internal.VCMFileModificationValidator"/>
     </extension>

###### API Information:

The value of the `class` attribute must represent an implementation of `org.eclipse.core.resources.IFileModificationValidator`.

###### Supplied Implementation:

The Team component will generally provide the implementation of the file modification validator. The extension point should 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