Additions to Context Menu [message #176319] |
Tue, 06 January 2004 15:12  |
Eclipse User |
|
|
|
Win2000, E2.1
I am creating a new TreeView for my new perspective. It took a while, but
I finally got the Team menu to show up on my Popup Context menu by adding
a group marker for MB_ADDITIONS. I also found a way to add a new project
wizard (NewWizardMenu). Is there a simple way to add other common
opperations, such as copy, paste, delete, etc. or do you have to
implement each menu option yourself??
Thanks.
|
|
|
Re: Additions to Context Menu [message #180734 is a reply to message #176319] |
Thu, 15 January 2004 18:07  |
Eclipse User |
|
|
|
Originally posted by: John_Arthorne.oti.com_
See org.eclipse.ui.actions.ActionFactory. This class provides factory
objects for creating many common global actions such as cut/copy/paste.
As these global actions are "retargetted" to the active view, your view
will need to register global action handlers for any of these actions
that you want to implement yourself. See
IViewSite.getActionBars().setGlobalAtionhandler(...) for more info.
--
Mike Winston wrote:
> Win2000, E2.1
>
> I am creating a new TreeView for my new perspective. It took a while, but
> I finally got the Team menu to show up on my Popup Context menu by adding
> a group marker for MB_ADDITIONS. I also found a way to add a new project
> wizard (NewWizardMenu). Is there a simple way to add other common
> opperations, such as copy, paste, delete, etc. or do you have to
> implement each menu option yourself??
>
> Thanks.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03270 seconds