<!ELEMENT extension (fontDefinition*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT fontDefinition (description?)>
<!ATTLIST fontDefinition
id CDATA #REQUIRED
label CDATA #REQUIRED
value CDATA #IMPLIED
categoryId CDATA #IMPLIED
defaultsTo CDATA #IMPLIED>
フォント値。書式は、fontname-style-height
になります。ここで、fontname
はフォントの名前、style
はフォント・スタイル (「 regular
」、「bold
」、「italic
」、「bold italic
」のいずれか)、height
は文字の高さを表す整数です。
例: Times New Roman-bold-36
value または defaultsTo は、いずれか 1 つが使用されるか、または両方とも使用されません。
value または defaultsTo のいずれか 1 つが使用されるか、両方とも使用されません。
<!ELEMENT description EMPTY>
フォントの使用法についての簡略説明。
<extension point=
"org.eclipse.ui.fontDefinition"
>
<fontDefinition id=
"org.eclipse.examples.textFont"
label=
"Text"
>
<description>
The text font</description>
</fontDefinition>
<fontDefinition id=
"org.eclipse.examples.userFont"
label=
"User"
defaultsTo=
"org.eclipse.jface.textFont"
>
<description>
The user font</description>
</fontDefinition>
</extension>
org.eclipse.jface.bannerfont: バナー・フォントはウィザード・バナーで使用されます。
org.eclipse.jface.dialogfont: ダイアログ・フォントはダイアログ内のウィジェットのフォントです。
org.eclipse.jface.headerfont: ヘッダー・フォントは複合テキスト・ページのセクション・ヘッダーに使用されます。
org.eclipse.jface.textfont: テキスト・フォントは、テキスト・エディターによって使用されます。
Copyright (c) 2002, 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