本文整理汇总了Java中org.eclipse.jface.preference.FieldEditorPreferencePage.GRID属性的典型用法代码示例。如果您正苦于以下问题:Java FieldEditorPreferencePage.GRID属性的具体用法?Java FieldEditorPreferencePage.GRID怎么用?Java FieldEditorPreferencePage.GRID使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.eclipse.jface.preference.FieldEditorPreferencePage
的用法示例。
在下文中一共展示了FieldEditorPreferencePage.GRID属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PreferencePage
/** Initialize */
public PreferencePage()
{
super(FieldEditorPreferencePage.GRID);
setPreferenceStore(new ScopedPreferenceStore(InstanceScope.INSTANCE, Activator.PLUGIN_ID));
setMessage(Messages.PrefPage_Title);
}
示例2: GeneralPreferencePage
public GeneralPreferencePage()
{
super(FieldEditorPreferencePage.GRID);
setPreferenceStore(VelocityPlugin.getDefault().getPreferenceStore());
setDescription("General settings");
initializeDefaults();
}
示例3: JtidyPreferencePage
public JtidyPreferencePage()
{
super(FieldEditorPreferencePage.GRID);
setPreferenceStore(VelocityPlugin.getDefault().getPreferenceStore());
setDescription("Tidy");
initializeDefaults();
}
示例4: DefaultEventFiltersPreferencePage
/**
* Creates the default event filters preference page using a grid layout.
*/
public DefaultEventFiltersPreferencePage()
{
super(FieldEditorPreferencePage.GRID);
setPreferenceStore(PreferencesPlugin.getDefault().getPreferenceStore());
final String description = "JIVE collects events from a program as it "
+ "executes. Class exclusion filters may be specified in order "
+ "to reduce the resulting overhead and to produce smaller " + "visualizations.";
setDescription(description);
}
示例5: createDialogArea
@Override
protected Control createDialogArea(Composite parent) {
Composite composite = (Composite) super.createDialogArea(parent);
page = new FieldEditorPreferencePage(FieldEditorPreferencePage.GRID) {
@Override
public void createControl(Composite parentComposite) {
noDefaultAndApplyButton();
super.createControl(parentComposite);
}
@Override
protected void createFieldEditors() {
Composite fieldEditorParent = getFieldEditorParent();
targetDirectoryEditor = new ContainerFieldEditor("", "Target directory:", fieldEditorParent);
targetDirectoryEditor.setEmptyStringAllowed(false);
targetDirectoryEditor.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
targetDirectoryEditor.setStringValue(targetDirectory.getPath());
addField(targetDirectoryEditor);
List<? extends FieldEditor> additionalFields = additionalFields(fieldEditorParent);
for (FieldEditor fieldEditor : additionalFields) {
addField(fieldEditor);
}
}
@Override
protected void updateApplyButton() {
updateButtons(isValid());
super.updateApplyButton();
}
};
page.createControl(composite);
Control pageControl = page.getControl();
pageControl.setLayoutData(new GridData(GridData.FILL_BOTH));
return pageControl;
}
示例6: BaseStylePreferencePage
/**
* The constructor.
*
* @param style
*/
protected BaseStylePreferencePage( Object model )
{
super( FieldEditorPreferencePage.GRID );
setTitle( Messages.getString( "BaseStylePreferencePage.displayname.Title" ) ); //$NON-NLS-1$
// Set the preference store for the preference page.
IPreferenceStore store = new StylePreferenceStore( model );
setPreferenceStore( store );
}
示例7: WorkbenchPreferencePage
/**
*
*/
public WorkbenchPreferencePage() {
super(FieldEditorPreferencePage.GRID);
IPreferenceStore store = JsonPreferenceStore.getJsonPreferenceStore().getIPreferenceStore();
setPreferenceStore(store);
}
示例8: ReportGeneratorPreferencePage
public ReportGeneratorPreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Initialize isUCMPrefsSelected and isGRLPrefsSelected flags to true.
isUCMPrefsSelected = true;
isGRLPrefsSelected = true;
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例9: DisplayPreferencesPage
/**
* Constructor
*/
public DisplayPreferencesPage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例10: AutoLayoutPreferencePage
public AutoLayoutPreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例11: GeneralPreferencePage
public GeneralPreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例12: DefinitionReferencePreferencePage
public DefinitionReferencePreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例13: KPIMonitoringPreferencePage
public KPIMonitoringPreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例14: ColorManagementPreferencePage
public ColorManagementPreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}
示例15: ScenarioExportPreferencePage
public ScenarioExportPreferencePage() {
super(FieldEditorPreferencePage.GRID);
// Set the preference store for the preference page.
IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
setPreferenceStore(store);
}