Hey All,
We've started working on the Forge 2 Eclipse UI integation - please see the
latest work here:
https://github.com/forge/forge2-eclipse-ui
Forge is booting and running from Eclipse (currently rigged up through "New
-> Forge Addon", just so we have an easy way to start the runtime.) Forge
may then be queried for Addon services via:
forge.getAddonRegistry().getRemoteInstance(MyServiceClass.class);
*Next step:*
- Get UICommand objects working to build Eclipse Wizards, see UI API
here:
https://github.com/forge/core/tree/2.0/ui/api/src/main/java/org/jboss/for...
Addons may depend on the *org.jboss.forge:ui* addon and implement the
UICommand interface and UIWizard interfaces to make functionality available
to the host environment (like Eclipse or the CLI Shell.) These
implementations are then retrieved via the AddonRegistry, as exampled above.
Set<UICommand.class> commands =
forge.getAddonRegistry().getRemoteInstances(UICommand.class);
*Questions:*
1. How should the Forge integration in Eclipse look and feel?
2. Where should the UI interactions begin? Menu, hotkey, etc? (I
personally favor the CTRL-4 shortcut to bring up a forge command selector
menu, like what currently is done in JBoss Tools.
That's all for now. This is all a prototype so now is the time to fix
things if they need to chance. Please send your feedback! We want this to
work as well as possible so are very open to feedback.
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."