[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-ui-dev] [Q] How to use the Packages view actions from another plugin?
|
Well, am I missing something, or there isn't such a package
(org.eclipse.jdt.ui.actions)?!
I have the R1.0 and the F1.0 builds and they both lack such a package. Maybe
here is a good point to say, that my plugin should be R1.0 compatible.
Also I investigated the source of the Packages view, and I noticed that the
classes of the packages are in internal pckages as well (OpenResourceAction
is in the same package as the view itself).
Am I missing something?
Regards,
Stefan
Take a moment - be inspired.
----- Original Message -----
From: "Erich Gamma" <Erich_Gamma@xxxxxxx>
To: <jdt-ui-dev@xxxxxxxxxxx>
Cc: <jdt-ui-dev@xxxxxxxxxxx>
Sent: Monday, June 10, 2002 4:54 PM
Subject: Re: [jdt-ui-dev] [Q] How to use the Packages view actions from
another plugin?
>
> Stefan,
>
> the actions that show-up in the context-menu are either available
> themselves or as action groups as API.
> See the org.eclipse.jdt.ui.actions package. With the help of the action
> groups it is straightforward
> to compose a context menu as is shown in the packages view.
>
> You can get at the PackagesExplorer's view with the IPackagesViewPart
> interface. To do so
> you look up the ViewPart with the PackagesExplorer's view id defined in
> JavaUI.ID_PACKAGES_VIEW.
>
> --erich
>
>
>
>
> "Stefan Buynov"
> <s_buynov@prosyst To:
<jdt-ui-dev@xxxxxxxxxxx>
> .bg> cc:
> Sent by: Subject: [jdt-ui-dev] [Q]
How to use the Packages view actions from another
> jdt-ui-dev-admin@ plugin?
> eclipse.org
>
>
> 06/10/2002 02:39
> PM
> Please respond to
> jdt-ui-dev
>
>
>
>
>
> Hi,
>
> I have a view which copies to some extend the structure of the Packages
> view from the JDT plugin. I want to use the popup menu of the Packages
view
> (with the same functionality), but I don't see a way to get it from my
> plugin. Even if I get the PackageExplorerPart instance for the perspective
> via getFromActivePerspective(), I don't see how I could get the tree for
> the view, or it's context menu.
> Is there a way to do this?
> TIA.
>
> Regards,
> Stefan
>
> Take a moment - be inspired.
>
>
>
> _______________________________________________
> jdt-ui-dev mailing list
> jdt-ui-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/jdt-ui-dev
>