bug #8604
openKey Editor View: Details for key missing when key is empty
0%
Description
As long as there are no entries in the key the details view is just blank.
Instead the properties for the key itself should be shown so that it is possible to edit the label and scopes.
Related issues
Updated by Andreas Müller over 4 years ago
- Related to feature request #8569: Supplemental data for PolytomousKeyNodes added
Updated by Andreas Müller over 4 years ago
Not sure if this is easy to solve. I had discussions on it with Cherian already. As PKs without node are very rare in reality it is not a serious issue. More serious is #8569 as there is no workaround available.
If this ticket is difficult to solve we could have a workaround showing in details view that a PK node is required to edit details. Alternatively we could have a dialog similar to taxon node dialog to edit PK details even if no node exists.
Updated by Andreas Kohlbecker over 4 years ago
Isn't ist possible to add a FocusListener to the PolytomousKey table like viewer.getControl().addFocusListener(e -> { */ do the right thing*/ })
so that when table is focused while being still blank the details view can show the key?