Hi all,

i was able to solve the issue by recreating the JDT search menu with menu
contribution extension point using separators for both seperatos and
groupMarkers in actionsets. It would have been nice if we could reuse those
what is there from actionsets, but i guess it had done for a good reason.
May be going forward we should move JDT to menuContribution extension.

Best regards,
Gayan.

On Mon, Mar 7, 2022 at 8:25 PM Gayan Perera <gayan...@gmail.com> wrote:

> Hi Wim,
>
> I tried this, but still my submenu ends up at the top. I guess if that to
> work i might need to find all such groupMarkers and redefine them
>
> I also considered using actionset for my submenu. But then I don’t see a
> way to hide it when the active editor is not the type i want.
>
> Best regards,
> Gayan.
>
> On Mon, 7 Mar 2022 at 11:36, Wim Jongman <wim.jong...@gmail.com> wrote:
>
>> Can't you also redefine the dialogGroup in your stub menu?
>>
>> Cheers, Wim
>>
>> On Sun, 6 Mar 2022 at 12:08, Gayan Perera <gayan...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I'm trying to insert a new sub menu in to search menu using the
>>> menuContribution extension point. I want to insert my sub menu just after
>>> the dialogGroup in the search menu. But seems like the search menu is not
>>> available when my menuContributions are processed. Even though i can
>>> workaround this by redefining the search menu with same menu id in my
>>> plugin, Still i cannot position my sub menu after the dialog group.
>>>
>>> Is there a way to get around this ?
>>>
>>> Best regards,
>>> Gayan.
>>>
>> _______________________________________________
>>> platform-dev mailing list
>>> platform-dev@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/platform-dev
>>>
>> _______________________________________________
>> platform-dev mailing list
>> platform-dev@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/platform-dev
>>
>
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to