[forge-dev] Forge 2 Addon List in Eclipse

Max Rydahl Andersen max.andersen at redhat.com
Thu May 30 09:58:07 EDT 2013



----- Original Message -----
> Hi Max and forge-dev subscribers,
> 
> I was discussing with Lincoln and we reached an agreement that the
> current popup list that shows in the center of the IDE is not visually
> that nice ( http://imgur.com/JvE8a9j).

How about fixing it so it becomes nice ? :)

> It would be nice if we have something like
> http://i.imgur.com/LyibyTP.png, however I recall that Max explicitly
> mentioned that the Quick Access feature should not be used in any way,
> but that we might have something like that available. I've been digging
> into the Eclipse API and also found no way to reuse that, unless we
> (somehow) register the wizards dinamically using the
> "org.eclipse.ui.newWizards" extension point, but since I am not an
> Eclipse expert, I may be missing something here.

Yes, it is iterating eclipse UI constructs, things like commands, views, perspectives and wizards.

I don't think its a good thing nor know if it is even possible to register all forge operations as commands...

one requirement of commands I beleive is that they should be defined in xml so they can be loaded without
loading the plugin before command is actually executed. Forge currently has so notion - everything is loaded; no lazy loading.
 
> My question is: Does it looks like a reasonable option to develop an UI
> in the Forge 2 Eclipse plugin like Quick Access ?

As long as you dont require it to be in the menu bar taking up more space i'm fine :)

> Do you guys see any other much attractive UI option in Eclipse to
> display these Wizards ?

Cmd+3 was and is pretty - why not just mimic its UI and have that show up when pressing the command shortcut for Forge ?

> Just reminding that these wizards are dynamic (they are built based on
> the Addons installed in Forge 2), therefore they don't exist as an
> Wizard class (hence not allowing adding them directly into the plugin.xml).
> The latest code can be found in
> https://github.com/forge/jbosstools-forge/tree/master/plugins/org.jboss.tools.forge.ui.ext
 
-- 
/max


More information about the forge-dev mailing list