-
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
Add graphical editing support for prototypes #1540
Comments
@lwrage by graphical editing support, is it intended to provide a diagram notation for editing prototypes or just display prototypes on the diagram,potentially textually, and provide a GUI such as a property section for editing it? |
Support: should include the ability to edit prototypes and prototype bindings via the properties view. The graphical view should reflect the affect of prototype bindings.
Prototype bindings will not be supported in array element implementation lists. In general, Array element implementation lists are not supported in OSATE or the OSATE graphical editor. |
@lwrage is the above implementation in line with your original intent? This proposed initial implementation focuses on being able to edit and work with prototypes but not really representing the bindings in the diagrams. It seems to me that representing the bindings in the diagrams would clutter the diagram. However, the diagrams will adapt based on the prototype bindings. |
Looks good to me. |
I went down the rabbit hole of protoype resolution. I was heading down resolving prototypes up the hierarchy. However, upon further consideration, this seems needless and a bit counter productive. The graphical editor should only apply prototype bindings to the extent that the text editor supports them. It should not be equivalent to the instance model. Such application of bindings would result in ports that couldn't actually be referenced in the instance model. In other words, when working with the declarative model, the graphical editor should only apply model elements necessary for full editing functionality. It should not show model elements that could not be legally referenced in connections, etc. |
@lwrage should the square bracket/component classifier list prototypes be supported? I believe they are called arrays in the metamodel. From reading the standard it seems related to subcomponents arrays with elements with different types of classifiers which isn't supported in instantiation.
|
@philip-alldredge There's no need to support array prototypes at this time. |
Implement prototype support in graphical editor. Closes #1540
No description provided.
The text was updated successfully, but these errors were encountered: