Ticket #891 (closed defect: fixed)
Opened 2011-11-28T14:38:26-06:00
Last modified 2014-08-20T11:46:39-05:00
IJ1 context menu is unavailable in IJ2
Reported by: | bdezonia | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: | imagej2-unscheduled |
Component: | UI Framework | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1010, #1630 |
Description
In IJ1 if you right click on an open image window you get a menu of commands. In IJ2 nothing is supported.
Change History
comment:1 Changed 2012-01-30T14:24:04-06:00 by curtis
comment:2 Changed 2012-02-06T12:40:13-06:00 by bdezonia
- Owner changed from bdezonia to curtis
- Status changed from new to assigned
Curtis, if this ticket is complete please close. Otherwise comment on what more is required. Reassign as needed.
comment:5 Changed 2012-07-12T17:04:11-05:00 by curtis
- Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4
comment:7 Changed 2012-08-03T10:22:25-05:00 by curtis
- Blocking 1291 removed
comment:8 Changed 2012-08-03T10:23:02-05:00 by curtis
- Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5
comment:9 Changed 2013-01-22T15:44:16-06:00 by bdezonia
- Blocking 1630 added; 1356 removed
- Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled
comment:13 Changed 2014-08-20T11:46:39-05:00 by curtis
- Status changed from reviewing to closed
- Resolution set to fixed
The SJC MenuService fundamentally supports context menus, although the actual contents of those context menus are still not well fleshed out. Technically this ticket is complete, though.
I made a few commits (culminating in feb8c9271db67254437876416153a918497e9279 and 57f951c94519166bdc66f1266324458d0c0abee1) that add support for multiple menu structures, including context menus. You can now add more menu items to the context menu by putting "menuRoot = Plugin.CONTEXT_MENU_ROOT" in the Plugin annotation.