[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: is there a preferred RCP mechanism for updating editors based

Since the type of events observers want to listen are specific to the application, your question probably was trying to know if Eclipse had already built in a generic (TYPELESS) event pumping mechanism in ViewParts/EditParts. (Just as SWT has typless event mechanism which can cater to any sort of events, provided the observers filter events based on the typeid of event).

org.eclipse.ui.IWorkbenchPart::addPropertyListener(..) should achieve typeless event pumping. Since ViewPart/EditPart extend from IWorkbenchPart, so I think there is no need to roll-your-own.

Thanks
~Venkat
 

--
View in EZ forum: http://www.eclipsezone.com/eclipse/forums/m91955225.html