Revision 1b626d51
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/NavigationUtil.java | ||
---|---|---|
43 | 43 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
44 | 44 |
import eu.etaxonomy.taxeditor.navigation.internal.TaxeditorNavigationPlugin; |
45 | 45 |
import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator; |
46 |
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin; |
|
46 | 47 |
|
47 | 48 |
/** |
48 | 49 |
* <p>NavigationUtil class.</p> |
... | ... | |
98 | 99 |
} catch (PartInitException e) { |
99 | 100 |
MessagingUtils.error(NavigationUtil.class, "Error opening the editor", e); |
100 | 101 |
} catch (Exception e) { |
101 |
MessagingUtils.warningDialog("Could not create Taxon", NavigationUtil.class, e.getMessage()); |
|
102 |
MessagingUtils.errorDialog("Could not create Taxon", |
|
103 |
NavigationUtil.class, |
|
104 |
e.getMessage(), TaxeditorStorePlugin.PLUGIN_ID, |
|
105 |
e, |
|
106 |
true); |
|
107 |
|
|
102 | 108 |
} |
103 | 109 |
} |
104 | 110 |
|
Also available in: Unified diff
#5029 Add functionality for login to remember credentials, reconnect and switch user