This repository has been archived by the owner. It is now read-only.

Support Diagrams of Multiple Packages and Improve Package Support #213

Closed
philip-alldredge opened this Issue Aug 22, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@philip-alldredge
Contributor

philip-alldredge commented Aug 22, 2017

support for diagrams that are not associated with a particular model element. Such diagrams shall allow diagrams containing multiple packages.

This initial implementation will include basic functionality.

  • Creating a diagram not associated with a model element. Need a wizard or something to create such diagrams.
  • Adding existing packages to such diagrams.
  • Support deleting packages.
  • Need to ensure this capability works correctly with the broken linkages support.

It is the intent at this time not to represent packages as hierarchical based on the nested names at this time. The general rationale for this is that is would substantially increase the complexity of the implementation because the graphical representation would less directly correspond to the actual AADL model. It may also lead users to believe that there is a package when in such a package may not actually exist. For example: "a::b" may exist but not "a". If represented hierarchically, "a" would appear in the diagram. However, such packages could be implicitly created when the user attempts to add classifiers to them. However, the intent is to avoid such complications until there is a clear use case and user desire for that capability.

@philip-alldredge philip-alldredge added this to the M4 milestone Aug 22, 2017

@philip-alldredge philip-alldredge self-assigned this Feb 13, 2018

@philip-alldredge

This comment has been minimized.

Contributor

philip-alldredge commented Mar 19, 2018

@lwrage and @AaronGreenhouse I have updated the issue with my current thoughts regarding implementing this. We are considering whether a package should be create-able form the palette in the graphical editor. If that is implemented, it would be desired to reuse the AADL Package wizard. However, the graphical editor would need a way to hide the "Open With" section and perform its own handling after the wizard is completed. Instead of opening a new diagram/text editor, the behavior would need to be to add it to the diagram. Do you have any thoughts regarding issues refactoring the wizard or whether such package creation capability would be desired?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.