GrxUIonEclipse-project-0.9.8
src
com
generalrobotix
ui
grxui
PreferenceFontPage.java
Go to the documentation of this file.
1
package
com.generalrobotix.ui.grxui;
2
3
4
import
org
.eclipse.jface.preference.FieldEditorPreferencePage;
5
import
org
.eclipse.jface.preference.FontFieldEditor;
6
import
org
.eclipse.swt.widgets.Composite;
7
import
org
.eclipse.ui.IWorkbench;
8
import
org
.eclipse.ui.IWorkbenchPreferencePage;
9
10
import
com
.
generalrobotix
.
ui
.
util
.
MessageBundle
;
11
12
public
class
PreferenceFontPage
13
extends
FieldEditorPreferencePage
14
implements IWorkbenchPreferencePage {
15
16
public
PreferenceFontPage
() {
17
super(GRID);
18
setPreferenceStore(
Activator
.
getDefault
().getPreferenceStore());
19
}
20
21
public
void
createFieldEditors
() {
22
Composite comp = getFieldEditorParent();
23
24
addField(
new
FontFieldEditor(
PreferenceConstants
.
FONT_TABLE
,
MessageBundle
.
get
(
"GrxuiPreferencePage.tableFont.title"
),
"Preview"
, comp));
25
addField(
new
FontFieldEditor(
PreferenceConstants
.
FONT_EDITER
,
MessageBundle
.
get
(
"GrxuiPreferencePage.editerFont.title"
),
"Preview"
, comp));
26
}
27
28
public
void
init
(IWorkbench workbench) {
29
}
30
31
}
com.generalrobotix.ui.util.MessageBundle.get
static final String get(String key)
Definition:
MessageBundle.java:50
com.generalrobotix.ui
com.generalrobotix.ui.util
Definition:
AlertBox.java:17
com
com.generalrobotix.ui.grxui.Activator
Definition:
GrxUIonEclipse-project-0.9.8/src/com/generalrobotix/ui/grxui/Activator.java:58
com.generalrobotix.ui.grxui.PreferenceConstants.FONT_TABLE
static final String FONT_TABLE
Definition:
PreferenceConstants.java:59
com.generalrobotix.ui.grxui.PreferenceFontPage.PreferenceFontPage
PreferenceFontPage()
Definition:
PreferenceFontPage.java:16
com.generalrobotix.ui.grxui.Activator.getDefault
static Activator getDefault()
Definition:
GrxUIonEclipse-project-0.9.8/src/com/generalrobotix/ui/grxui/Activator.java:324
com.generalrobotix.ui.grxui.PreferenceConstants
Definition:
PreferenceConstants.java:6
com.generalrobotix.ui.grxui.PreferenceFontPage.createFieldEditors
void createFieldEditors()
Definition:
PreferenceFontPage.java:21
com.generalrobotix.ui.grxui.PreferenceConstants.FONT_EDITER
static final String FONT_EDITER
Definition:
PreferenceConstants.java:60
org
org
com.generalrobotix.ui.grxui.PreferenceFontPage
Definition:
PreferenceFontPage.java:12
com.generalrobotix.ui.grxui.PreferenceFontPage.init
void init(IWorkbench workbench)
Definition:
PreferenceFontPage.java:28
com.generalrobotix.ui.util.MessageBundle
Definition:
MessageBundle.java:16
com.generalrobotix
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:05