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
[feature proposal] Concepts specialization through properties and "stereotypes" #36
Comments
Nice idea. "As of today, Archi comes with no predefined list of property name" I wonder if we should bite the bullet and redo the Properties functionality to allow the user to define re-usable Property Sets (aka profiles). Stereotypes would be part of this. |
_"bite the bullet"_
Quite funny expression (didn't know it before) as Google translates it in 2 very differents way in french: one is "active/positive" (I guess it's your intent), the other is "passive/pessimistic"
"redo the Properties functionality" |
"...decide to do something difficult or unpleasant that one has been putting off or hesitating over." :-) yes, so maybe we should come up with a list of requirements. 1 - Assign types to properties. This could be added as an attribute in the XML: <property key="this" value="that" type="string"/> etc. We need to agree these types 2 - Define property sets. Where are they stored/edited? Are they global? Stored in a helper file? Or... |
I guess your XML example is lost "Where are they stored" I'm afraid this will also come with other changes like defaults being saved in the model and preferences used to defined default values to copy to a new model.... |
Re-edited markdown |
I'm very suspicious of storing application-specific preferences detail in the xml file. |
"We need to agree these types" I would say that either Java or Groovy types should be used (they should even be the same but don't have time to check now). Why? because Archi is written in Java and that jasperreport use expression (and types) using either Java or Groovy. |
"I'm very suspicious of storing application-specific preferences detail in the xml file." Me too, but in this case, If for one model I want "MyProperty" to be an integer, then I expect it to be true whatever desktop/laptop runs Archi (mine or someone else's one). So this is either in the model or a sidecar file (and I hate sidecar files)... |
If it's model-related stuff no problem. Things like "what colour shirt I'm wearing" no good. :-) |
"what colour shirt I'm wearing" |
Hi,
Here is my 2cts suggestion to implement concepts specialization through properties. The goal is to ease specialization of concepts without the need to change the meta-model.
In the following I use the word "stereotype" (coming from UML background) as an example.
The feature proposal:
The text was updated successfully, but these errors were encountered: