Project

General

Profile

« Previous | Next » 

Revision 9d0bce28

Added by Katja Luther about 8 years ago

fix #4657

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java
135 135
		    	            true);
136 136

  
137 137
		    	} else if (t != null && ("Widget is disposed".equals(t.getMessage()))){
138
                    MessagingUtils.warn(this.getClass(), t.getMessage());
138
                    MessagingUtils.warn(this.getClass(), t);
139 139
                    if (PreferencesUtil.isDebugMode()){
140
                        MessagingUtils.warningDialog("Widget is disposed", null, t.getMessage());
140
                        MessagingUtils.errorDialog("Widget is disposed",
141
                                null,
142
                                MessagingUtils.WIDGET_IS_DISPOSED_MESSAGE,
143
                                statusAdapter.getStatus().getPlugin(),
144
                                t,
145
                                true);
146

  
141 147
                    }
142 148
                }
143 149
		    }
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties
157 157
command.name.14 = delete
158 158
page.name.32 = Taxon Navigator
159 159
page.name.33 = Sort of Taxonnodes
160
page.name.34 = Debug Preferences
160 161
command.name.15 = Open
161 162
view.name.SESSIONS = Sessions
162 163
command.label.SESSION = Sessions
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties
131 131
page.name.30 = Sprache
132 132
page.name.32 = Taxon Navigator
133 133
page.name.33 = Sortierung im TaxonNavigator
134
page.name.34 = Debug Einstellungen
134 135
command.label.clone = Klonen
135 136
command.label.openInSpecimenEditor = \u00d6ffnen im Specimen-Editor
136 137
page.name.31 = Taxon-Node-Reihenfolge
eu.etaxonomy.taxeditor.store/plugin.xml
39 39
            id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
40 40
            name="%page.name.4">
41 41
      </page>
42
     
42 43
      <!--page
43 44
            class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
44 45
            id="eu.etaxonomy.taxeditor.preferences.cdm"
......
212 213
            id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
213 214
            name="%page.name.32">
214 215
      </page>
216
       <page
217
            category="eu.etaxonomy.taxeditor.preferences.general"
218
            class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
219
            id="eu.etaxonomy.taxeditor.preferences.debug"
220
            name="%page.name.34">
221
      </page>
215 222
   </extension>
216 223
   <extension
217 224
         point="org.eclipse.ui.views">
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java
33 33
    public final static String DEFAULT_MESSAGE = "Error thrown but no associated message";
34 34
    public final static String CONNECTION_FAILURE_MESSAGE = "The connection to the remote server has been broken";
35 35
    public final static String REMOTE_ACCESS_FAILURE_MESSAGE = "Problem accessing remote server";
36
    public static final String WIDGET_IS_DISPOSED_MESSAGE = "A widget was called, which was already disposed";
36 37

  
37 38
    /**
38 39
     * Gets the Log4J logger for a given class
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonomicEditorGeneralPreferences.java
66 66
	      addField(new BooleanFieldEditor(IPreferenceKeys.RESTORE_NAVIGATOR_STATE,
67 67
	                "Restore the last Taxon Navigator state.",
68 68
	                getFieldEditorParent()));
69
	      addField(new BooleanFieldEditor(IPreferenceKeys.IS_DEBUG_MODE,
70
                  "Run Taxonomic Editor in Debug Mode.",
71
                  getFieldEditorParent()));
69

  
72 70
	}
73 71

  
74 72
	/*

Also available in: Unified diff