Revision dc6c6341
Added by Niels Hoffmann almost 13 years ago
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectFeatureTreeWizardPage.java | ||
---|---|---|
121 | 121 |
public void selectionChanged(SelectionChangedEvent event) { |
122 | 122 |
IStructuredSelection selection = (IStructuredSelection) event.getSelection(); |
123 | 123 |
|
124 |
setPageComplete(selection.size() == 1); |
|
124 |
if(selection.isEmpty()){ |
|
125 |
return; |
|
126 |
} |
|
127 |
|
|
128 |
setPageComplete(true); |
|
129 |
|
|
125 | 130 |
|
126 | 131 |
Element featureTreeElement = (Element) selection.getFirstElement(); |
127 | 132 |
|
Also available in: Unified diff
Print Publisher runs outside of conversations; Fixes a bug with empty selections in SelectFeatureTreeWizard; Added a warn method that accepts throwables; ImageElement does not show error dialogs but logs errors silently;