<!ELEMENT extension (filesystem)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT filesystem (run)>
<!ATTLIST filesystem
scheme CDATA #REQUIRED>
<!ELEMENT run EMPTY>
<!ATTLIST run
class CDATA #REQUIRED>
Hvis denne utvidelsen er definert i en plugin-modul med IDen "com.xyz.coolplugin", vil det fullt kvalifiserte navnet på dette filsystemet være "com.xyz.coolplugin.gopherFS".<extension id=
"gopherFS"
name=
"Gopher-filsystem"
point=
"org.eclipse.core.filesystem.filesystems"
>
<filesystem scheme=
"gopher"
>
<run class=
"com.xyz.fs.GopherFileSystem"
/>
</filesystem>
</extension>
Filsystemforekomster kan innhentes via metoden org.eclipse.core.filesystem.FileSystemCore.getFileSystem(String).
Copyright (c) 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