Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Additions to Context Menu
Additions to Context Menu [message #176319] Tue, 06 January 2004 15:12 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Access to view stacking information in the workbench?
Next Topic:View placement?
Goto Forum:
  


Current Time: Fri Sep 19 12:27:19 EDT 2025

Powered by FUDForum. Page generated in 0.02799 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top