NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1084 (new task)

Opened 2012-03-30T11:46:10-05:00

Last modified 2013-01-22T15:40:03-06:00

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


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 2012-03-30T12:29:03-05:00 by bdezonia

  • Type changed from defect to task

comment:2 Changed 2012-05-09T13:28:50-05:00 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 2012-06-22T14:10:02-05:00 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 2012-07-03T13:43:13-05:00 by bdezonia

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

comment:5 Changed 2012-07-06T12:52:41-05:00 by curtis

  • Blocking 1291 added; 1162 removed

comment:6 Changed 2012-07-17T13:18:18-05:00 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 2012-08-03T10:21:06-05:00 by curtis

  • Blocking 1356 added

comment:8 Changed 2012-08-03T10:22:25-05:00 by curtis

  • Blocking 1291 removed

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

comment:9 Changed 2012-08-03T10:22:55-05:00 by curtis

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

comment:10 Changed 2013-01-22T15:40:03-06:00 by bdezonia

  • Blocking 1630 added; 1356 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled