Shared library export fails if a shared library is not selected
|Assignee:||Antti Villberg||% Done:|
|Velocity based estimate||-|
If shared library export is tried and no shared library is not selected, the wizard page creation fails with exception:
java.lang.RuntimeException at org.simantics.modeling.ui.sharedontology.wizard.SharedOntologyExportPage.initializeData(SharedOntologyExportPage.java:162) at org.simantics.modeling.ui.sharedontology.wizard.SharedOntologyExportPage.createControl(SharedOntologyExportPage.java:150) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1216) ...
The standard logic in export wizards is to have export target selection combo box (or similar) in the first page of the export wizard that is filled by default with the selected resource, but left empty, if the current selection does not have a matching type.