Adding Actions to The Main Menu

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Adding Actions to The Main Menu

Postby » Thu Jun 13, 2019 8:54 pm

Hello there everyone,

I'm trying to develop a plugin that can add new menu to the main menu bar (such as File, Edit, etc..). Following the main tutorial I was able to add an action under a predefined action but for some reason cannot append anything to the main menu.
I've tried using classes such as ActionsMenuCreator and pretty much all other classes in com.nomagic.action.* and com.nomagic.magicdraw.action* classes and am still having no luck. Also, when I try to append one action to another(create a submenu) nothing happens when I click on the action that extends the MDAction class. Has anyone else ran into these issues? Pictures are below
You do not have the required permissions to view the files attached to this post.
Forum Newbie
Forum Newbie
Posts: 2
Posts Rating:0
Joined: Thu Jun 13, 2019 8:44 pm

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 3 guests