true);
} else if (t != null && ("Widget is disposed".equals(t.getMessage()))){
- MessagingUtils.warn(this.getClass(), t.getMessage());
+ MessagingUtils.warn(this.getClass(), t);
if (PreferencesUtil.isDebugMode()){
- MessagingUtils.warningDialog("Widget is disposed", null, t.getMessage());
+ MessagingUtils.errorDialog("Widget is disposed",
+ null,
+ MessagingUtils.WIDGET_IS_DISPOSED_MESSAGE,
+ statusAdapter.getStatus().getPlugin(),
+ t,
+ true);
+
}
}
}
command.name.14 = delete\r
page.name.32 = Taxon Navigator\r
page.name.33 = Sort of Taxonnodes\r
+page.name.34 = Debug Preferences\r
command.name.15 = Open\r
view.name.SESSIONS = Sessions\r
command.label.SESSION = Sessions\r
page.name.30 = Sprache
page.name.32 = Taxon Navigator
page.name.33 = Sortierung im TaxonNavigator
+page.name.34 = Debug Einstellungen
command.label.clone = Klonen
command.label.openInSpecimenEditor = \u00d6ffnen im Specimen-Editor
page.name.31 = Taxon-Node-Reihenfolge
id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
name="%page.name.4">
</page>
+
<!--page
class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
id="eu.etaxonomy.taxeditor.preferences.cdm"
id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
name="%page.name.32">
</page>
+ <page
+ category="eu.etaxonomy.taxeditor.preferences.general"
+ class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
+ id="eu.etaxonomy.taxeditor.preferences.debug"
+ name="%page.name.34">
+ </page>
</extension>
<extension
point="org.eclipse.ui.views">
public final static String DEFAULT_MESSAGE = "Error thrown but no associated message";
public final static String CONNECTION_FAILURE_MESSAGE = "The connection to the remote server has been broken";
public final static String REMOTE_ACCESS_FAILURE_MESSAGE = "Problem accessing remote server";
+ public static final String WIDGET_IS_DISPOSED_MESSAGE = "A widget was called, which was already disposed";
/**
* Gets the Log4J logger for a given class
addField(new BooleanFieldEditor(IPreferenceKeys.RESTORE_NAVIGATOR_STATE,
"Restore the last Taxon Navigator state.",
getFieldEditorParent()));
- addField(new BooleanFieldEditor(IPreferenceKeys.IS_DEBUG_MODE,
- "Run Taxonomic Editor in Debug Mode.",
- getFieldEditorParent()));
+
}
/*