<!ELEMENT extension (filesystem)>
<!ATTLIST-udvidelse
point CDATA #REQUIRED
id CDATA #IMPLIED
navn CDATA #IMPLIED>
<!ELEMENT filesystem (run)>
<!ATTLIST filesystem
scheme CDATA #REQUIRED>
<!ELEMENT run EMPTY>
<!ATTLIST run
class CDATA #REQUIRED>
Hvis denne udvidelse er defineret i en plugin med id'en "com.xyz.coolplugin", er det fuldstændige navn på denne filsystemudvidelse "com.xyz.coolplugin.gopherFS".<extension id=
"gopherFS"
name=
"Gopher File System"
point=
"org.eclipse.core.filesystem.filesystems"
>
<filesystem scheme=
"gopher"
>
<run class=
"com.xyz.fs.GopherFileSystem"
/>
</filesystem>
</extension>
Filsystemforekomster kan hentes 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