[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Toolbar contribution use

Anyone?


On Thu, 02 Apr 2009 03:47:16 +0000, Craig Foote wrote:

> I have a 'Printing' plugin from which I need to contribute a 'Print'
> toolbar button to a non-selection-providing, display-only view. Clicking
> the button should call my command's default handler but I somehow need
> to receive the display view's input object in the event's
> ApplicationContext. Based on the type received, the Printing plugin can
> render it appropriately.
> 
> How can I access the object in the display view from the handler?
> 
> Craig