Hi!
I would like to add a new menu entry when I right click on a text in GT. Something titled ‘execution coverage’ which will spawn an Hapao visualization. Is there an easy way to do it? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Alexandre, Right now there is no easy way. But since it's a useful feature we should refactor that menu to use the pragma menu builder. I can do it next week. Cheers, Andrei On Sat, Sep 5, 2015 at 6:42 PM, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Thanks, Andrei. Doru On Sat, Sep 5, 2015 at 9:29 PM, Andrei Chis <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Thanks! Would be fantastic Alexandre
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Screen Shot 2015-09-05 at 1.36.20 PM.png (72K) Download Attachment |
I refactored the menu construction to use pragmas. Now you can extend it by adding to the class side of GTPlayground methods annotates with playgroundContextMenu that return a list glamour actions. Let me know if it works for you. Nevertheless, there is no way to indicate an order for glamour actions. Right now the order is the one in which they are added to a presentation, which in this case might be the wrong one. I'll add this on my todo list. Cheers, Andrei On Sun, Sep 6, 2015 at 1:48 AM, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Thanks!
It works well. But, there is no Go action? As you may guess “Hapao it!” is my new action, part of the Spy2 application Cheers, Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Is the Go action also missing before you added your custom action? Also can you check that all glamour, inspector and playground packages are up to date. I made a refactoring that affected several packages. Cheers, Andrei On Tue, Sep 8, 2015 at 5:10 PM, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Strange, now it seems to be in.
‘Hapao it!’ is now at the end of the list. Cheers, Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On Wed, Sep 9, 2015 at 2:12 AM, Alexandre Bergel <[hidden email]> wrote:
The impression I get from the exclamation mark is that this is a *much* more exciting menu item than all the others. :] cheers -ben _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |