Component Messaging

  • Thread starter Thread starter Fatih BOY
  • Start date Start date
F

Fatih BOY

Hi,
In my plug-in base application, i want to inform all related plug-ins when a
specific event occurs.

Is there any light-weight way to do it!?
 
Fatih BOY said:
In my plug-in base application, i want to inform all related plug-ins when a
specific event occurs.

Is there any light-weight way to do it!?

Do you have a problem with using an event?
 
Thats the way it is. Plug-in has to hook itself to related event. But it
cause lots of events to be fired at the same time! Also some plugins need to
cancel the event. For example while closing application, one may perform
whether files saved and if not the may need to cancel close event and ask
user to save.

Is there any way for c# like vetoable or eventbus in java?!
 
Back
Top