osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
39 stars 8 forks source link

OSATE contextual menus #3

Closed juli1 closed 13 years ago

juli1 commented 13 years ago

The OSATE2 snapshot released in august has two contextual menus with the same name but with different options. In addition, when trying to invoke them, nothing happens or the action cannot be used (the system report "The current operation is not currently available). So, due to this bug, OSATE functions cannot be used at this time.

Let me know how I can help you to solve this bug,

Best,

osate commented 13 years ago

The only functionality this snapshot provides is syntax checking of AADL source files and limited instance model generation. Could you please add some more details, e.g., exactly which menus, how you open them, which actions are shown and don't work? That makes it easier for us to reproduce the behavior you are seeing.

juli1 commented 13 years ago

Menu I would like supposed to use here : http://gunnm.ath.cx/public/tmp/osate-report/osate-context1.png http://gunnm.ath.cx/public/tmp/osate-report/osate-context2.png

When trying to invoke each function, it does not work, reporting that the selected action is not available, even for .aadl of .aadl2 files.

jftilman commented 13 years ago

The problem comes from the fact that two "AADL" contextual menus are defined, with two different IDs:

The solution consists in changing the menu ID in the former file into "org.osate.ui.popupMenu.Aadl". I suggest to also change the ID of the "AADL Analyses" menu.

juli1 commented 13 years ago

Ok but there is still an issue : If you edit an aadl2 file with the AADLv2 editor, the contextual menu works, for example, you can choose "generate marker report". But the menu items from the OSATE menu in the menubar cannot be selected ...

osate commented 13 years ago

fixed