[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Checking an actionSet programatically
|
Found my answer.
Unlike what it says here: http://wiki.eclipse.org/FAQ_What_is_an_action_set%3F
there is a way to access actionSet programatically using IContextService.
Marc
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> Sent: Tuesday, July 19, 2011 8:36 AM
> To: 'CDT General developers list.'
> Subject: [cdt-dev] Checking an actionSet programatically
>
> Hi,
>
> I want to programatically add a launch option but I only want
> to show it
> when the C/C++ Tracepoint actionSet is enabled.
> Is there a trick to be able to check programatically if an action set
> is enabled? Would checking the visibility of some other UI component
> that is govered by the actionSet be the way to go?
>
> Thanks
>
> Marc
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>