Ticket #408 (closed task: fixed)

Opened 8 years ago

Last modified 8 years ago

Hook up Mac specific events in the UI

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0-alpha1
Component: SCIFIO Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

PlatformMacOSX is fully written and publishes platform events. Make our code fire them or respond to them when the ImageJ Application menu entries are selected (like ABout, Quit, and Preferences).

In core plugins define a CorePluginManager. It will listen for the platform events and respond to them. Initialize at program startup to listen for the platform events. It can be modeled on ObjectManager (@Manager, implements ManagerComponent, etc.).

When an event is detected we should be able to run PluginUtils.runPlugin() (though we made need to massage code to make this easy).

These changes may require a change to pom.xml for the <X> project as it currently may not depend upon the platform project.

Change History

comment:1 Changed 8 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed

First implementation in b8b65a4e2dc32814604210eaf75c9b5dbf00b5c9.

Note: See TracTickets for help on using tickets.