Revision c4a7540a
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/editor/PherogramMouseListener.java | ||
---|---|---|
16 | 16 |
import org.eclipse.ui.PartInitException; |
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
19 |
import eu.etaxonomy.taxeditor.molecular.Messages; |
|
19 | 20 |
import eu.etaxonomy.taxeditor.molecular.TaxeditorMolecularPlugin; |
20 | 21 |
import eu.etaxonomy.taxeditor.molecular.handler.ShowPherogramHandler; |
21 | 22 |
|
... | ... | |
44 | 45 |
ShowPherogramHandler.showPherogram(area.getModel()); |
45 | 46 |
} |
46 | 47 |
catch (PartInitException e) { |
47 |
MessagingUtils.errorDialog("Unable to create pherogram view", null, e.getLocalizedMessage(),
|
|
48 |
MessagingUtils.errorDialog(Messages.PherogramMouseListener_UNABLE_TO_CREATE_VIEW, null, e.getLocalizedMessage(),
|
|
48 | 49 |
TaxeditorMolecularPlugin.PLUGIN_ID, e, false); //TODO set pluginID |
49 | 50 |
} |
50 | 51 |
return true; |
Also available in: Unified diff
ref #4611 i18n for molecular plugin