[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] why is the popup menu for the scriptoutline page disabled?
|
Hi Johan,
I don't remember reason why we commented out this code. As I understand
we need to turn in on.
I will check and enable it tomorrow.
Best regards,
Andrei Sobolev.
> Hi
>
> this part:
>
> MenuManager manager = new
> MenuManager(DLTKUIPlugin.getPluginId() +
> ".outline",DLTKUIPlugin.getPluginId() + ".outline");
> manager.setRemoveAllWhenShown(true);
> manager.addMenuListener(new IMenuListener() {
> public void menuAboutToShow(IMenuManager m) {
> contextMenuAboutToShow(m);
> }
> });
> fMenu = manager.createContextMenu(tree);
> tree.setMenu(fMenu);
>
> IPageSite site = getSite();
> site.registerContextMenu(DLTKUIPlugin.getPluginId() +
> ".outline", manager, fOutlineViewer); //$NON-NLS-1$
>
>
> is disabled in ScriptOutlinePage
> Is there a special reason for that?
>
> I like to contribute to that popup menu in my own plugin, (but if
> nothing is shown that is a bit hard :) )
>
> If i enable that and then i contribute an action on the popupMenu
> extentions it works fine.
>
> I tried to clean it up, because properties doesn't make much sense i
> think there.
> But things like Call Hierarchy/search and the run debug items is that
> disabled by design?
>
> johan
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>