Menu

#16 Support default arguments for directly instantiating actions

open
5
2008-04-13
2008-04-13
Mirko Raner
No

ActionRunner.getConstructorArgumentsFor(Class[]) already supports invocation of constructors that take an IWorkbenchWindow or IWorkbenchPage as argument (by simply using the current window or page). This mechanism should be made more general and should also be easily extensible. Additional types for which default values could be supplied:

- IViewPart (in conjunction with <action view="...">)
- Clipboard (new Clipboard for the workbench's display)
- Control (the workbench shell, maybe?)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.