<!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>
この拡張機能が ID "com.xyz.coolplugin" を使用してプラグインに定義されていた場合、このファイル・システム拡張機能の完全修飾名は "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>
ファイル・システムのインスタンスは、メソッド 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