[jbosstools-issues] [JBoss JIRA] (JBDS-2734) Forge 2 in JBDS

Fred Bricon (JIRA) jira-events at lists.jboss.org
Wed Sep 18 10:32:03 EDT 2013


    [ https://issues.jboss.org/browse/JBDS-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805515#comment-12805515 ] 

Fred Bricon commented on JBDS-2734:
-----------------------------------

The only way I can think of is leveraging e4's EventBus API (http://www.vogella.com/articles/Eclipse4EventSystem/article.html).

I haven't looked at it in details though, but since m2e's based on the old e3.x programming model (no DI), I don't know if we can leverage that new API (easily). I _think_ it's possible as per.
{quote}
Alternatively an object can also register an instance of the EventHandler directly with the IEventBroker via the subscribe() method.

Tip
Using dependency injection for subscribing should be preferred compared to the direct subscription as this way the framework handles the listener registration and de-registration automatically for you.
{quote}

Can you please open a bug request at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=m2e ?  
                
> Forge 2 in JBDS
> ---------------
>
>                 Key: JBDS-2734
>                 URL: https://issues.jboss.org/browse/JBDS-2734
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: forge, requirements
>            Reporter: Burr Sutter
>
> Is Forge 2 ready to be included in JBDS ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list