-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instantiate action should work on .aadl files in the AADL Navigator #2272
Comments
Also, the "delete" rule that I add to the jobs is interfering with job concurrently. Need to handle deletes differently so they can be done separately at the end. |
Updated the plugin.xml to incorporate AADL files in the instantiation selection. Updated the handler to deal with aadl files in the most basic form: Grabs all the non-subprogram and non-subprogram group subcomponent implementations and adds them to the instantiation list. Works. To do:
|
Added basic selection dialog. |
Added preferences to the preference pane, and they successfully control the instantiation. The check boxes in the selection dialog don't do anything yet. There are two preferences
|
Just need to update the docs now |
Two things:
|
I could fix the delete problem, but it wouldn't help, because I also need to fix the "create" problem at the start of the analysis. But I cannot do this because the file creation/modification happens in the InstantiateModel methods. |
Currently to instantiate a model you need to either
Open an
.aadl
file, then select the component instances in the outline view, and then choose Instantiate from the context menu, orDrill into the
.aadl
file in the navigator and then choose instantiate from the context menu.Number 1 is annoying because I don't want to open the declarative model file in an editor just to instantiate.
Number 2 is annoying because I there are 2 levels to unwrap in the navigator before the system classifier nodes are uncovered.
I propose that when the instantiate command is executed on an declarative model, a dialog appears with the available component classifiers for the user to select from and instantiate.
Furthermore, I think that there should be a setting the controls the behavior: by default all system implementation classifiers in the declarative file are instantiated without showing a dialog box.
The text was updated successfully, but these errors were encountered: