<!ELEMENT extension (scope* , initializer*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT scope EMPTY>
<!ATTLIST scope
name CDATA #REQUIRED
class CDATA #REQUIRED>
新規設定スコープのクライアントの定義を記述するエレメントは、以下のとおりです。
<!ELEMENT initializer EMPTY>
<!ATTLIST initializer
class CDATA #REQUIRED>
ランタイム設定の初期化で使用するクラスを定義するエレメントは、以下のとおりです。
<extension point=
"org.eclipse.core.runtime.preferences"
>
<scope name=
"foo"
class=
"com.example.FooPrefs"
/>
<initializer class=
"com.example.MyPreferenceInitializer"
/>
</extension>
org.eclipse.core.runtime.Platform.getPreferencesService()
を
呼び出すと取得できます) は、Eclipse 設定メカニズムに含まれるフックです。
Copyright (c) 2004 IBM Corporation and others.
All rights reserved.
This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html