Project

General

Profile

Revision 2c4452d9

ID2c4452d92053f65c4b10be1f27027367a80f3337
Parent 1183a87f
Child 5c9c924c

Added by Katja Luther almost 4 years ago

ref #4766: remove apply and restore defaults buttons

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databasePreferences/wizard/DatabasePreferencesPage.java
57 57

  
58 58
    CdmPreference preferedNomenclaturalCode;
59 59

  
60
    /*
61
     *
62
     */
63
    public DatabasePreferencesPage() {
64
        this.noDefaultAndApplyButton();
65
    }
60 66

  
61 67
    /* (non-Javadoc)
62 68
     * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
63 69
     */
64 70
    @Override
65 71
    public void init(IWorkbench workbench) {
72

  
66 73
        setPreferenceStore(TaxeditorStorePlugin.getDefault()
67 74
                .getPreferenceStore());
68 75

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databasePreferences/wizard/DatabasePreferencesWizard.java
36 36
     */
37 37
    @Override
38 38
    public boolean performFinish() {
39
        if (preferencePage.isPageComplete()){
39
        if (preferencePage.performOk()){
40 40
            return true;
41 41
        }
42 42
        return false;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)