當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。