Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Where does the PackageExplorerPart add basic actions
Where does the PackageExplorerPart add basic actions [message #170014] Mon, 26 July 2004 10:18 Go to next message
Eclipse UserFriend
Originally posted by: ptiedt.us.ibm.com

Hi,

I am trying to figure out how to reuse actions like delete and copy. The
PackageExplorerPart adds allot of actions to its context menu, However I
can not find the part in the code were the basic actions like delte and
copy are added. Since they appear in the context menu that must be done
somewhere ?

any idea ?
thx
Philipp
Re: Where does the PackageExplorerPart add basic actions [message #170048 is a reply to message #170014] Mon, 26 July 2004 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: markus_keller.ch.ibm.spam.protect.com

The Package Explorer uses
org.eclipse.jdt.ui.actions.CCPActionGroup
(in the constructor of PackageExplorerActionGroup).

The Resource Navigator uses
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup.

Markus


ptiedt@us.ibm.com wrote:

> Hi,
>
> I am trying to figure out how to reuse actions like delete and copy. The
> PackageExplorerPart adds allot of actions to its context menu, However I
> can not find the part in the code were the basic actions like delte and
> copy are added. Since they appear in the context menu that must be done
> somewhere ?
>
> any idea ?
> thx
> Philipp
Re: Where does the PackageExplorerPart add basic actions [message #170249 is a reply to message #170048] Tue, 27 July 2004 07:24 Go to previous message
Eclipse UserFriend
Originally posted by: ptiedt.us.ibm.com

Thx Markus,

its just a pitty that these action groups can not be reused since the
Actions in the CCP group only look for instances of IJavaElement and
IResource and not IAdaptable.
ResourceActionGroup can only be instantiated with an IResourceNavigator
though.

thx anyway.
Philipp
Previous Topic:Why doesnt IParent extend IJavaElement
Next Topic:finally block does not complete normally
Goto Forum:
  


Current Time: Thu Jun 19 18:42:29 EDT 2025

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

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

Back to the top