h1. YAKINDU Statechart Tools – Testcase 09 - Template Proposals |_. Nr |_. Testname |_. Test Instructions |_. Postconditions |_. Status| | 9.1 | Statechart proposals and documentation |
Select the definition section.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _Statechart behavior_ text field.
In the _Statechart behavior_ text field, press @[Ctrl+Space]@.
The following proposals are shown in a drop-down menu:
@
interface
internal
namespace
Except for @, if a proposal is clicked, a corresponding documentation pop-up window opens.
Empty the definition section.
Enter the word "interface" into the definition section, followed by a space character.
Press @[Ctrl+Space]@.
The following proposals are shown in a drop-down menu:
Name – XID
:
Empty the definition section.
Enter the word "internal" into the definition section, followed by a space character.
Press @[Ctrl+Space]@.
The following proposals are shown in a drop-down menu:
:
Empty the definition section.
Enter the word "namespace" into the definition section, followed by a space character.
Press @[Ctrl+Space]@.
No proposal is shown.
| %{color:red}open% | | 9.2 | Transition proposals and documentation |Select any transition.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _Expression_ text field.
In the _Expression_ text field, press @[Ctrl+Space]@.
The following proposals are shown in a drop-down menu:
#
/
[
after
always
default
else
every
oncycle
_Trigger event names_
If a keyword proposal is clicked, a corresponding documentation pop-up window opens.
If a variable (e.g., _light_) is proposed, selecting it should add an error marker to the transition with the following error message:
"Trigger 'light' is no event!"
Select any transition.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _Expression_ text field.
In the _Expression_ text field, enter the text @after@, followed by a space character.
Press [Ctrl+Space]
.
Enter a integer value, e.g., 42, followed by a space character.
Press @[Ctrl+Space]@.
In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:
as
ms
ns
s
us
If a keyword proposal is clicked, a corresponding documentation pop-up window opens.
Select any transition.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _Expression_ text field.
In the _Expression_ text field, enter the text @every@, followed by a space character.
Press [Ctrl+Space]
.
Enter a integer value, e.g., 42, followed by a space character.
Press @[Ctrl+Space]@.
In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:
as
ms
ns
s
us
If a keyword proposal is clicked, a corresponding documentation pop-up window opens.
Select any state.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _State behaviour_ text field.
In the _State behaviour_ text field, press @[Ctrl+Space]@.
The following proposals are shown in a drop-down menu:
after
always
entry
every
exit
oncycle
If a keyword proposal is clicked, a corresponding documentation pop-up window opens.
Select any state.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _State behaviour_ text field.
In the _State behaviour_ text field, enter the text @after@, followed by a space character.
Press [Ctrl+Space]
.
Enter a integer value, e.g., 42, followed by a space character.
Press @[Ctrl+Space]@.
In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:
as
ms
ns
s
us
If a keyword proposal is clicked, a corresponding documentation pop-up window opens.
Select any state.
Open the _properties_ view.
Select the _Model_ tab.
Empty the _State behaviour_ text field.
In the _State behaviour_ text field, enter the text @every@, followed by a space character.
Press [Ctrl+Space]
.
Enter a integer value, e.g., 42, followed by a space character.
Press @[Ctrl+Space]@.
In a drop-down menu, language elements suitable to continue the expression are shown. Additionally, the following keywords are shown:
as
ms
ns
s
us
If a keyword proposal is clicked, a corresponding documentation pop-up window opens.