<!ELEMENT extension (engine+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT engine EMPTY>
<!ATTLIST engine
class CDATA #REQUIRED
label CDATA #IMPLIED
id CDATA #REQUIRED
default (true | false)
preferencesClass CDATA #IMPLIED>
スペル・エンジンの定義です。
org.eclipse.ui.texteditor.spelling.ISpellingEngine
を実装する必要があります。true
に設定されている場合、
このスペル・エンジンがデフォルトごとにインストールされます。フラグが設定されたエンジンが複数インストールされている場合、
最初のエンジンが取得されます。
<extension point=
"org.eclipse.ui.workbench.texteditor.spellingEngine"
>
<engine default=
"true"
label=
"%defaultSpellingEngine.label"
class=
"org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine"
id=
"org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine"
>
</engine>
</extension>
org.eclipse.jdt.ui
プラグインは DefaultSpellingEngine
に役立ちます。この実装をサンプルとして参照してください。
Copyright (c) 2001, 2004 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