[forge-dev] Forge 2 Addon List in Eclipse

Lincoln Baxter, III lincolnbaxter at gmail.com
Thu May 30 11:01:42 EDT 2013


We can add one item to the Quick Access that brings up the Forge Menu. WDYT?

Also, can we re-use any of that internal quick-access code to make our
lives easier?


On Thu, May 30, 2013 at 10:51 AM, Koen Aers <koen.aers at gmail.com> wrote:

> I have actually looked into this and tapping into the Quick Access is not
> possible. All the providers that contribute to this are hardcoded into the
> search dialog. Moreover, all of this code is unfortunately in internal
> packages with restricted access so it's not even possible to do any dirty
> tricks.
> Mimic the Cmd+3 popup style seems the most reasonable thing to do. It
> doesn't solve the issue of Forge not being easily spotted though…
>
> Cheers,
> Koen
>
> Op 30-mei-2013, om 16:06 heeft Lincoln Baxter, III het volgende geschreven:
>
> > Cmd+3 was and is pretty - why not just mimic its UI and have that show
> up when pressing the command shortcut for Forge ?
>
> That's what we want to do, but I think George is looking for ideas on how
> to get started with that. Regarding lazy loading, we have some ideas for
> that, but we have some other priority architectural items to do first :)
>
>
> On Thu, May 30, 2013 at 9:58 AM, Max Rydahl Andersen <
> max.andersen at redhat.com> wrote:
>
>>
>>
>> ----- 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
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20130530/8ead27f7/attachment-0001.html 


More information about the forge-dev mailing list