right click menu [message #452874] |
Tue, 18 July 2006 08:24  |
Eclipse User |
|
|
|
Originally posted by: vindhyalesh.huawei.com
hi,
i have to add a pop up menu for table as well as tree view,please tell
me how to imlement these. will these be implemented in the view itself. i
have tried to add this to view but its not working......please answer this
query
Best Regards....
Vindhyalesh
|
|
|
|
Re: right click menu [message #453116 is a reply to message #452874] |
Fri, 21 July 2006 19:53  |
Eclipse User |
|
|
|
1. Add popupMenus extension;
2. Add a new objectContribution;
3. objectClass =3D class from ContentProvider of your table or tree view=
=
(ex.: Person);
4. Create a new action for every action;
5. In createContents() method of the view, register the TreeView as =
selection provider (ex: =
this.getSite().setSelectionProvider(treeViewerPerson));
I hope these help, jtonic.
On Tue, 18 Jul 2006 15:24:34 +0300, vindhyalesh <vindhyalesh@huawei.com>=
=
wrote:
> hi,
> i have to add a pop up menu for table as well as tree view,please =
> tell me how to imlement these. will these be implemented in the view =
> itself. i have tried to add this to view but its not working......plea=
se =
> answer this query
>
> Best Regards....
> Vindhyalesh
>
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.02675 seconds