Project

General

Profile

Bug #4717

Grey-out Annotation menu options when not-applicable

Added by ben leinfelder over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
Morpho Plugin
Target version:
Start date:
02/01/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4717

Description

If a column is currently selected that is not part of an Observation, it makes no sense to add or remove a Context from it.
To implement this, we'll have to introduce some rules-based table selection events in the Annotation Plugin. In certain cases it might be ambiguous what might be allowed or not, but those are likely to be fringe cases.

History

#1 Updated by ben leinfelder over 10 years ago

Here are the current scenarios:
1. When you first open Morpho (no data package is open)
-Only Search Annotations... is enabled
2. Open a datapackage
-Search Annotations... remains enabled
-Save Annotations... is enabled (I know there's consternation around this potentially confusing item)
3. Select a data column (header, not the cell)
-Everything is enabled.

For #3 there is a case where a multiple selection is required (merging measurements under the same observation). If you invoke the merge action with only a single column, an information message is presented saying that you need to select more than 1 column.

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 4717

Also available in: Atom PDF