Project

General

Profile

bug #8604

Key Editor View: Details for key missing when key is empty

Added by Andreas Kohlbecker 4 months ago. Updated 4 months ago.

Status:
New
Priority:
New
Assignee:
Category:
taxeditor
Target version:
Start date:
10/18/2019
Due date:
% Done:

0%

Severity:
normal
Found in Version:
Tags:

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

Related to Edit - feature request #8569: Supplemental data for PolytomousKeyNodes New 09/26/2019

History

#1 Updated by Andreas Müller 4 months ago

#2 Updated by Andreas Müller 4 months ago

  • Description updated (diff)

#3 Updated by Andreas Müller 4 months 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.

#4 Updated by Andreas Kohlbecker 4 months 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?

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)