当前位置: 首页>>代码示例>>Java>>正文


Java FieldEditorPreferencePage类代码示例

本文整理汇总了Java中org.eclipse.jface.preference.FieldEditorPreferencePage的典型用法代码示例。如果您正苦于以下问题:Java FieldEditorPreferencePage类的具体用法?Java FieldEditorPreferencePage怎么用?Java FieldEditorPreferencePage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FieldEditorPreferencePage类属于org.eclipse.jface.preference包,在下文中一共展示了FieldEditorPreferencePage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: PreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
/** Initialize */
public PreferencePage()
{
    super(FieldEditorPreferencePage.GRID);
    setPreferenceStore(new ScopedPreferenceStore(InstanceScope.INSTANCE, Activator.PLUGIN_ID));
    setMessage(Messages.PrefPage_Title);
}
 
开发者ID:kasemir,项目名称:org.csstudio.display.builder,代码行数:8,代码来源:PreferencePage.java

示例2: GeneralPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public GeneralPreferencePage()
{
    super(FieldEditorPreferencePage.GRID);
    setPreferenceStore(VelocityPlugin.getDefault().getPreferenceStore());
    setDescription("General settings");
    initializeDefaults();
}
 
开发者ID:ninneko,项目名称:velocity-edit,代码行数:8,代码来源:GeneralPreferencePage.java

示例3: JtidyPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public JtidyPreferencePage()
{
    super(FieldEditorPreferencePage.GRID);
    setPreferenceStore(VelocityPlugin.getDefault().getPreferenceStore());
    setDescription("Tidy");
    initializeDefaults();
}
 
开发者ID:ninneko,项目名称:velocity-edit,代码行数:8,代码来源:JtidyPreferencePage.java

示例4: DefaultEventFiltersPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
/**
 * 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);
}
 
开发者ID:UBPL,项目名称:jive,代码行数:13,代码来源:DefaultEventFiltersPreferencePage.java

示例5: createDialogArea

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
@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;
}
 
开发者ID:viatra,项目名称:massif,代码行数:39,代码来源:AbstractSimulinkSettingsDialog.java

示例6: BaseStylePreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
/**
 * 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 );
}
 
开发者ID:eclipse,项目名称:birt,代码行数:15,代码来源:BaseStylePreferencePage.java

示例7: WorkbenchPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
/**
 *
 */
public WorkbenchPreferencePage() {
	super(FieldEditorPreferencePage.GRID);
	IPreferenceStore store = JsonPreferenceStore.getJsonPreferenceStore().getIPreferenceStore();
	setPreferenceStore(store);

}
 
开发者ID:winture,项目名称:wt-studio,代码行数:10,代码来源:WorkbenchPreferencePage.java

示例8: ReportGeneratorPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
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);

}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:12,代码来源:ReportGeneratorPreferencePage.java

示例9: DisplayPreferencesPage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
/**
 * Constructor
 */
public DisplayPreferencesPage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);
}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:11,代码来源:DisplayPreferencesPage.java

示例10: AutoLayoutPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public AutoLayoutPreferencePage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);

}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:9,代码来源:AutoLayoutPreferencePage.java

示例11: GeneralPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public GeneralPreferencePage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);
}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:8,代码来源:GeneralPreferencePage.java

示例12: DefinitionReferencePreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public DefinitionReferencePreferencePage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);

}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:9,代码来源:DefinitionReferencePreferencePage.java

示例13: KPIMonitoringPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public KPIMonitoringPreferencePage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);

}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:9,代码来源:KPIMonitoringPreferencePage.java

示例14: ColorManagementPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public ColorManagementPreferencePage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);
}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:8,代码来源:ColorManagementPreferencePage.java

示例15: ScenarioExportPreferencePage

import org.eclipse.jface.preference.FieldEditorPreferencePage; //导入依赖的package包/类
public ScenarioExportPreferencePage() {
    super(FieldEditorPreferencePage.GRID);

    // Set the preference store for the preference page.
    IPreferenceStore store = JUCMNavPlugin.getDefault().getPreferenceStore();
    setPreferenceStore(store);

}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:9,代码来源:ScenarioExportPreferencePage.java


注:本文中的org.eclipse.jface.preference.FieldEditorPreferencePage类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。