[forge-users] is subscribing to other addons commands possible ?
George Gastaldi
ggastald at redhat.com
Fri Mar 21 10:10:42 EDT 2014
You can listen for command executions using a CommandExecutionListener.
However the later idea is better, by creating a scaffold type you should be able to list all entities in your project.
> Em 21/03/2014, às 11:04, forge-users at lists.jboss.org escreveu:
>
> Hello,
> Discovered v2 recently and I'd like to start an addon project.
> My addon should react to the creation of a new entity for example.
>
> Is it possible to register one's addon to calls to other addons like jpa-new-entity, jpa-new-field ?
>
> Or should I take the scaffolding route with a command to produce what I want when all entities are created ?
>
> Thank you
>
> Posted by forums
> Original post: https://community.jboss.org/message/863561#863561
> _______________________________________________
> forge-users mailing list
> forge-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
More information about the forge-users
mailing list