ISynchronizable
文書を提供します。同期済み文書が必要なクライアントは、ロック・オブジェクトを設定できます。
既存のロック・オブジェクトを上書きすることは、不適切な動作とみなされ、ほかのクライアントを壊す可能性があります。文書がすでに設定されたロック・オブジェクトを持っている場合、クライアントはこれを使用すべきです。
org.eclipse.jface.text.IDocument
実装を必要とするクライアントは、そのドキュメント・プロバイダー内に対応する文書を作成します。カスタム文書は、ファイル・バッファーによって提供された文書をラップします。
<!ELEMENT extension (factory)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT factory EMPTY>
<!ATTLIST factory
class CDATA #REQUIRED
extensions CDATA #IMPLIED
fileNames CDATA #IMPLIED
contentTypeId CDATA #IMPLIED>
文書ファクトリーの仕様です。指定ファイルのファクトリーを見つけるには、各ファクトリー仕様の属性が、contentTypeId、fileNames、extensions の順に調べられます。指定ファイルに対して複数の同等に固有のファクトリー仕様が見つかった場合に、どのファクトリーが使用されるかは指定されていません。
<extension id=
"org.eclipse.jdt.debug.ui.SnippetDocumentFactory"
name=
"%snippetDocumentFactory.name"
point=
"org.eclipse.core.filebuffers.documentCreation"
>
<factory extensions=
"jpage"
class=
"org.eclipse.jdt.internal.debug.ui.snippeteditor.SnippetDocumentFactory"
>
</factory>
</extension>
Copyright (c) 2001, 2006 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