Ticket #1084 (new task)

Opened 7 years ago

Last modified 6 years ago

Right click on overlay should have context menu

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-unscheduled
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1630

Description

It would be nice if a user right clicks on a selected overlay that a context menu would pop up. Specifically it would be nice if the context menu had a Delete command. Right now its only activated by DEL key when selected with no visual cue to do so.

To do this we'd need OverlayService to track selection events and right click mouse events and popup a context menu plugin if appropriate.

Change History

comment:1 Changed 7 years ago by bdezonia

  • Type changed from defect to task

comment:2 Changed 7 years ago by curtis

  • Blocking 1162 added

On a related note, currently, the menu system architecture requires a separate plugin to be defined to declare it as part of "the context menu." See DuplicateImageContext for an example. We should seriously consider whether this is really the best solution for context menus.

comment:3 Changed 7 years ago by bdezonia

Properties is another useful context menu command. If the user right clicked on an overlay it can run that dialog. Otherwise it can run Image Properties dialog.

comment:4 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:5 Changed 7 years ago by curtis

  • Blocking 1291 added; 1162 removed

comment:6 Changed 7 years ago by bdezonia

We should have "Delete", "Delete Reference", and "Properties". At least one user has mentioned in the ImageJ mailing list that trying to figure out how to remove an Overlay is difficult.

comment:7 Changed 7 years ago by curtis

  • Blocking 1356 added

comment:8 Changed 7 years ago by curtis

  • Blocking 1291 removed

(In #1291) Pushing some menuing tickets to 2.0.0-beta5; see #1356.

comment:9 Changed 7 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:10 Changed 6 years ago by bdezonia

  • Blocking 1630 added; 1356 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled
Note: See TracTickets for help on using tickets.