| Summary: | Documentation as Modelelement | ||
|---|---|---|---|
| Product: | [Modeling] eTrice | Reporter: | Thomas Jung <tj> |
| Component: | Core | Assignee: | Henrik Rentz-Reichert <hrr> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | ts |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | 0.1.0 | ||
|
Description
Thomas Jung
This is definitely something we should add! I would propose to use a notation like doc "some description" "can run over several lines" We should decide about the points where such Documentation elements can be attached to. I will start a list here - RoomClass - Attribute - Operation - Message - Port - State some additional list elements - RoomClass - Attribute - Operation - Message - Port - State - Choicepoint - Protocoll - FSM/Structure Diagram - Package ? - Actor Reference - Transition (In reply to comment #2) > - Protocoll a ProtocolClass is a RoomClass > - FSM/Structure Diagram there is no FSM/Structure object, so we add two special docs to the ActorClass > - Package ? this corresponds to the RoomModel so we have - RoomClass - Attribute - Operation - Message - Port - State - Choicepoint - StructureClass, structureDoc - ActorClass, stateMachinDoc - RoomModel - ActorRef - SubSystemRef - Transition Another possible notation for documentation could be [ "some description" "can run over several lines" ] And where should we add the doc in the grammar, right after the name attribute? This looks good
LogicalSystem System_PingPong
["some documentation that can"
"run"
"over several lines"]
{
SubSystemRef subsystem : SubSystem_PingPong
}
(In reply to comment #3)
> (In reply to comment #2)
> > - Protocoll
> a ProtocolClass is a RoomClass
> > - FSM/Structure Diagram
> there is no FSM/Structure object, so we add two special docs to the ActorClass
> > - Package ?
> this corresponds to the RoomModel
> so we have
> - RoomClass
> - Attribute
> - Operation
> - Message
> - Port
> - State
> - Choicepoint
> - StructureClass, structureDoc
> - ActorClass, stateMachinDoc
> - RoomModel
> - ActorRef
> - SubSystemRef
> - Transition
> Another possible notation for documentation could be
> [ "some description"
> "can run over several lines" ]
> And where should we add the doc in the grammar, right after the name attribute?
Notation and scope is ok for me. We have to see how his feels in real models. Maybe the non formal content of elements like documentation should be at the end of an element. But we should go with the current proposal for now. added documentation as discussed in comment 2 and comment 3. Committed with fb6a5ede22c0ef8fcdac7296c984db5d38a01781 closed resolved bug tagged as version 0.1.0 |