[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Re: Populate existing property view with custom data
|
Hi,
Thanks for the link, It was quite useful. But I am still facing some
difficulty.
I want to populate the properties view when user right clicks on my custom
view and selects from action from the list of actions on the context menu. I
wrote a class (Class A) with extends Action and implements IAdaptable and
IWorkbenchAdapter. I have written one more class (Class B) which implements
IPropertySource. I have passed the Class A as an object of list to the
ListViewer of the my custom view. But when I right click, and press the
action, only run method gets invoked. No other method related to properties
view like getAdaptable or getPropertyDescriptors, or getPropertyValue etc
from Class A gets called. I know I missing something, but I am not able to
figure out what exactly I am doing wrong. Can someone please help me with
correct steps.
TIA
~Priya
"Paul Webster" <pwebster@xxxxxxxxxx> wrote in message
news:el6cbr$2qm$1@xxxxxxxxxxxxxxxxxxxx
> http://www.eclipse.org/articles/Article-Properties-View/properties-view.html
>
> Later,
> PW