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
AADL Classifier View #1657
Comments
Lutz wondered if the following was (1) legal and (2) actually worked in OSATE:
The answer is (1) yes, and (2) yes. The
This is as expected. This example came up in a discussion about wither AADL has a the "diamond problem" of multiple inheritance. It does not seem too. Really there are two extension hierarchies for a component implementation, one for the type and one for the implementation. They can be displayed separately within the proposed view. |
Created WIKI page for this: internal wiki page |
Created simple a placeholder view in |
Got the hierarchy portion finished. Deferring to the Been testing with the package
Here is the hierarchy for the component implementation and the feature group |
the classiifer members section of the view now works for the features and prototype declared in a component type. The code needs to made more generic so that I can eaisly add the other member sections and expand to classifier impementations and feature groups. Also, I need to figure out how to unparse things to get better labels for the members. Lutz says that Xtext calls the unparser a serializer. |
QUICK NOTE: Flesh this out later on the wiki page... Double-clicking on htings in the view should open editors, etc. |
Added flows to the component type display. Need to generalize the source code now. Started playing with the serializer, but I don't know how to turn of indenting and the unparsing of comments. |
Wanted to use the Serializer to unparse the member declarations for the labels, but that isn't going to work. It includes indenting and comments. Don't really want to unparse myself, but the label provider I am using right now doesn't give as much information as I would like. |
Started working on Component Implementations. I had to fix a problem with |
Current status summary:
To do
Maybe
|
How should the members be sorted? |
Member groups should be sorted by syntactic order (already done), and alphabetically within each group. |
Should have a "Link to Editor" option, where just selecting an item jumps the editor. |
Don't forget HELP text |
Updated Still to do:
|
Added double-click to the member tree |
Looking at |
Synchronize with editor functionality added. Toolbar action in place. Stole icons from eclipse. Need to figure out now why there are duplicate features in the feature group types. |
Alphabetical sorting of members is the wrong thing to do for feature group types because order matters. Furthermore, refined features must be put in the right position as well. |
Fixed Changed the view to not sort the features of the feature group. Need to fix the insertion of the "inverse of" label, which may be difficult. |
Fixed the "inverse of" label. |
Need a view that shows all the members of a classifier (type/impl/feature group). This is like a flattened view of the classifier, showing which ancestor a member is inherited from, whether it is refined, etc. Also shows the complete ancestor hierarchy of the classifier.
EMF has the
EClass Information
view that does something similar. Not sure if it is necessary to steal code from this view, but it's good for inspiration.child of #1371
The text was updated successfully, but these errors were encountered: