Ticket #1443 (closed defect: fixed)
Allow plugin service to run intances of RunnablePlugin
Reported by: | bdezonia | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: | imagej2-b4-plugins |
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1052 |
Description
Currently in IJ2 I can do this:
HashMap<String,Object> inputMap = new HashMap<String, Object>();
inputMap.put("display", differentDisplay);
pluginService.run(FindEdges.class, inputMap);
I would like to be able to do this:
FindEdges pluginInstance = new FindEdges();
pluginInstance.setDisplay(differentDisplay);
pluginService.run(pluginInstance);
This would allow developers to populate plugins with unharvested values using public accessor API of a given plugin instance.
Change History
Note: See
TracTickets for help on using
tickets.
Should now be possible with 399d9d37!