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 #408 (closed task: fixed)

Opened 2011-03-29T16:00:35-05:00

Last modified 2011-04-01T02:00:01-05:00

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 2011-04-01T02:00:01-05:00 by curtis

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

First implementation in b8b65a4e2dc32814604210eaf75c9b5dbf00b5c9.