Project

General

Profile

Actions

feature request #8471

closed

Computed descriptions should be disabled in TaxEditor

Added by Andreas Müller over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

60%

Estimated time:
Severity:
normal

Description

Taxon descriptions being computed (DescriptionBase.types contains COMPUTED or AGGREGATED) should be disabled for editing in TaxEditor.

This may also count for other DescriptionTypes like "Clone for Source" but not for all (e.g. "Secondary data" or "Default values for Aggregation" might be editable in general - or configurable for the project)

Also the types should be somehow shown in the UI (as part of the shown label, with an icon, or any other solution)


Related issues

Related to EDIT - bug #9631: New implementation for disable details/supplemental data viewsNewKatja Luther

Actions
Related to EDIT - bug #9630: Make the handling of computed description configurableClosedKatja Luther

Actions
Follows EDIT - feature request #7957: Add types for taxon description (as EnumSet)ClosedAndreas Müller

Actions
Actions #1

Updated by Andreas Müller over 4 years ago

  • Due date set to 12/18/2018
  • Start date changed from 08/16/2019 to 12/18/2018
  • Follows feature request #7957: Add types for taxon description (as EnumSet) added
Actions #2

Updated by Andreas Müller over 4 years ago

  • Due date deleted (12/18/2018)
Actions #3

Updated by Andreas Müller over 4 years ago

  • Target version changed from Unassigned CDM tickets to Release 5.10
Actions #4

Updated by Andreas Müller over 4 years ago

  • Description updated (diff)
Actions #5

Updated by Patrick Plitzner over 4 years ago

  • Target version changed from Release 5.10 to Release 5.11
Actions #6

Updated by Patrick Plitzner over 4 years ago

  • Target version changed from Release 5.11 to Release 5.12
Actions #7

Updated by Andreas Müller over 4 years ago

  • Tags set to additivity, euro+med, transmission-engine-distribution
  • Assignee changed from Patrick Plitzner to Katja Luther
  • Priority changed from New to Highest
Actions #8

Updated by Andreas Kohlbecker over 4 years ago

I find it very useful for debugging that computed descriptions can be viewed and modified in the editor. Can't we allow this by introducing a "Developer" mode in which the computed descriptions are not hidden or set to read only?

Actions #9

Updated by Andreas Müller over 4 years ago

Andreas Kohlbecker wrote:

I find it very useful for debugging that computed descriptions can be viewed and modified in the editor. Can't we allow this by introducing a "Developer" mode in which the computed descriptions are not hidden or set to read only?

This ticket is not meant to completely make the computed descriptions invisible. By default they should only be disabled for editing. But ofcourse it might be even better if this can be made configurable (e.g. 3 states: editable, disabled for editing, invisible) with default to disabled for editing.
I think this should meat your requirments?

Actions #10

Updated by Andreas Kohlbecker over 4 years ago

Andreas Müller wrote:

Andreas Kohlbecker wrote:

I find it very useful for debugging that computed descriptions can be viewed and modified in the editor. Can't we allow this by introducing a "Developer" mode in which the computed descriptions are not hidden or set to read only?

This ticket is not meant to completely make the computed descriptions invisible. By default they should only be disabled for editing. But ofcourse it might be even better if this can be made configurable (e.g. 3 states: editable, disabled for editing, invisible) with default to disabled for editing.
I think this should meat your requirments?

This would be the perfect solution!

Actions #11

Updated by Katja Luther over 4 years ago

  • Target version changed from Release 5.12 to Release 5.13
Actions #12

Updated by Andreas Müller about 4 years ago

  • Target version changed from Release 5.13 to Release 5.14
Actions #13

Updated by Katja Luther about 4 years ago

  • Target version changed from Release 5.14 to Release 5.15
Actions #14

Updated by Katja Luther about 4 years ago

I did some research but it seems to be a little bit more complex because this needs to be implemented by a mouseListener (see for example https://www.eclipse.org/forums/index.php/t/103773/), therefore we keep the ticket in 5.15

Actions #15

Updated by Andreas Müller almost 4 years ago

  • Target version changed from Release 5.15 to Release 5.18
Actions #16

Updated by Katja Luther over 3 years ago

  • Target version changed from Release 5.18 to Release 5.19
Actions #17

Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 5.19 to Release 5.21
Actions #18

Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 5.21 to Release 5.22
Actions #19

Updated by Katja Luther about 3 years ago

  • Target version changed from Release 5.22 to Release 5.25
Actions #20

Updated by Katja Luther almost 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

please review.

Actions #21

Updated by Katja Luther almost 3 years ago

  • Status changed from Resolved to In Progress
  • Assignee changed from Andreas Müller to Katja Luther
Actions #22

Updated by Katja Luther almost 3 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

Missed to check in the label provider, please review now. There is still a missing issue, the details of the description are not disabled. But the facts and the menu are disabled (only create new factual data set is available)

Actions #23

Updated by Andreas Müller almost 3 years ago

The preferences to make the aggregated data either disabled, invisible or enabled is still missing, correct?

Should we create a new ticket for this?

Actions #24

Updated by Andreas Müller almost 3 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther

The description itself is not yet disabled in details view (but it is in suppl data view). This needs to be fixed.

Actions #25

Updated by Andreas Müller almost 3 years ago

The "Types" field for ordinary descriptions is now enabled but shouldn't because it is read only (should be set only by machines). In 5.22 it was still disabled always.

Actions #26

Updated by Andreas Müller almost 3 years ago

I think we should reenable the "delete" menu item as it should always be possible to remove computed data again. Maybe in future there are cases where this is not wanted but for the current cases (distribution and description aggregation) I think it should be possible.

Actions #27

Updated by Andreas Müller almost 3 years ago

  • Target version changed from Release 5.25 to Release 5.23
Actions #28

Updated by Katja Luther almost 3 years ago

Andreas Müller wrote:

The description itself is not yet disabled in details view (but it is in suppl data view). This needs to be fixed.

I mentioned this in #note-22

Actions #29

Updated by Katja Luther almost 3 years ago

Andreas Müller wrote:

I think we should reenable the "delete" menu item as it should always be possible to remove computed data again. Maybe in future there are cases where this is not wanted but for the current cases (distribution and description aggregation) I think it should be possible.

Delete is enabled again.

Actions #30

Updated by Katja Luther almost 3 years ago

Andreas Müller wrote:

The "Types" field for ordinary descriptions is now enabled but shouldn't because it is read only (should be set only by machines). In 5.22 it was still disabled always.

this should be fixed again

Actions #31

Updated by Katja Luther almost 3 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

Andreas Müller wrote:

The description itself is not yet disabled in details view (but it is in suppl data view). This needs to be fixed.

this is fixed as well.

Actions #32

Updated by Andreas Müller almost 3 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 0 to 60

The UUID and ID fields can not be copied anymore. In general it might be a good idea not to fully disable fields but make them write-protected instead, similar to what we do usually in fields like UUID and ID. This allows copying information even if it is write protected which is often helpful.
Another issue is that sections can be opened now. E.g. if there is an annotation I can't see it's content as I can't open the section. This is also better if fields are only write protected.

But this is probably more complicated so we should move it to another ticket.

Also the configurability (see comment 9) should be moved to another ticket if it can't be implemented now.

Actions #33

Updated by Andreas Müller almost 3 years ago

Another issue is that sections can be opened now. E.g. if there is an annotation I can't see it's content as I can't open the section. This is also better if fields are only write protected.

Generally we may think about another implementation. I think about a solution which passes an "enabled" or "editingStatus" parameter with setInput() to ALL editors. (Alternatively we could also add it to createControl(?) but this in future should only run once per application and form so in future setInput() is the better place I guess).

This way we have a very generic way to disable writing as when ever we set the input to any control we also set the value if it should be write protected or not. This differs from the current code which needs a lot of case distictions etc.
Can you put this also to the new ticket?

Actions #34

Updated by Andreas Müller almost 3 years ago

This ticket can be closed once the new 2 tickets are created.

Actions #35

Updated by Katja Luther almost 3 years ago

  • Related to bug #9631: New implementation for disable details/supplemental data views added
Actions #36

Updated by Katja Luther almost 3 years ago

  • Related to bug #9630: Make the handling of computed description configurable added
Actions #37

Updated by Katja Luther almost 3 years ago

  • Status changed from Feedback to Closed

New tickets created.

Actions

Also available in: Atom PDF