Arquivos
CTAT/Examples/CTATButton.brd
2016-07-06 14:40:31 -04:00

334 linhas
13 KiB
XML

<?xml version="1.0" standalone="yes"?>
<stateGraph firstCheckAllStates="true" caseInsensitive="true" unordered="false" lockWidget="true" hintPolicy="Use Both Kinds of Bias" version="4.0" suppressStudentFeedback="Show All Feedback" highlightRightSelection="true" startStateNodeName="%(startStateNodeName)%" tutorType="Example-tracing Tutor">
<startNodeMessages>
<message>
<verb>SendNoteProperty</verb>
<properties>
<MessageType>StartProblem</MessageType>
<ProblemName>CTATJumble</ProblemName>
</properties>
</message>
<message>
<verb>NotePropertySet</verb>
<properties>
<MessageType>InterfaceAction</MessageType>
<transaction_id>ac551868-9ace-ed53-dc2c-0d6fba317b8f</transaction_id>
<Selection>
<value>button1</value>
</Selection>
<Action>
<value>setText</value>
</Action>
<Input>
<value>Click</value>
</Input>
</properties>
</message>
<message>
<verb>NotePropertySet</verb>
<properties>
<MessageType>InterfaceAction</MessageType>
<transaction_id>b1574d1c-ca99-b7e6-c99e-ddcff97f8191</transaction_id>
<Selection>
<value>button2</value>
</Selection>
<Action>
<value>setText</value>
</Action>
<Input>
<value>&lt;img src="skindata/CTAT-icon.svg"&gt;</value>
</Input>
</properties>
</message>
<message>
<verb>SendNoteProperty</verb>
<properties>
<MessageType>StartStateEnd</MessageType>
</properties>
</message>
</startNodeMessages>
<node locked="false" doneState="false">
<text>CTATButton</text>
<uniqueID>1</uniqueID>
<dimension>
<x>192</x>
<y>38</y>
</dimension>
</node>
<node locked="false" doneState="false">
<text>state1</text>
<uniqueID>2</uniqueID>
<dimension>
<x>232</x>
<y>148</y>
</dimension>
</node>
<node locked="false" doneState="false">
<text>Done</text>
<uniqueID>3</uniqueID>
<dimension>
<x>347</x>
<y>328</y>
</dimension>
</node>
<node locked="false" doneState="false">
<text>state3</text>
<uniqueID>4</uniqueID>
<dimension>
<x>343</x>
<y>247</y>
</dimension>
</node>
<node locked="false" doneState="false">
<text>state4</text>
<uniqueID>5</uniqueID>
<dimension>
<x>79</x>
<y>242</y>
</dimension>
</node>
<edge>
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
<studentHintRequest></studentHintRequest>
<stepSuccessfulCompletion></stepSuccessfulCompletion>
<stepStudentError></stepStudentError>
<uniqueID>1</uniqueID>
<message>
<verb>SendNoteProperty</verb>
<properties>
<MessageType>CorrectAction</MessageType>
<Selection>
<value>button1</value>
</Selection>
<Action>
<value>ButtonPressed</value>
</Action>
<Input>
<value>-1</value>
</Input>
<transaction_id>T20bfb39b-09d6-43ad-bb4f-7838cfb0f399</transaction_id>
</properties>
</message>
<buggyMessage>No, this is not correct.</buggyMessage>
<successMessage></successMessage>
<hintMessage>Please click the highlighted button.</hintMessage>
<callbackFn></callbackFn>
<actionType>Correct Action</actionType>
<oldActionType>Correct Action</oldActionType>
<checkedStatus>Never Checked</checkedStatus>
<matchers Concatenation="true">
<Selection>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">button1</matcherParameter>
</matcher>
</Selection>
<Action>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">ButtonPressed</matcherParameter>
</matcher>
</Action>
<Input>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">-1</matcherParameter>
</matcher>
</Input>
<Actor linkTriggered="false">Student</Actor>
</matchers>
</actionLabel>
<preCheckedStatus>No-Applicable</preCheckedStatus>
<rule>
<text>unnamed</text>
<indicator>-1</indicator>
</rule>
<sourceID>1</sourceID>
<destID>2</destID>
<traversalCount>0</traversalCount>
</edge>
<edge>
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
<studentHintRequest></studentHintRequest>
<stepSuccessfulCompletion></stepSuccessfulCompletion>
<stepStudentError></stepStudentError>
<uniqueID>6</uniqueID>
<message>
<verb>NotePropertySet</verb>
<properties>
<MessageType>InterfaceAction</MessageType>
<transaction_id>c026bea5-d682-ead0-8f97-b64f79249943</transaction_id>
<Selection>
<value>button3</value>
</Selection>
<Action>
<value>ButtonPressed</value>
</Action>
<Input>
<value>-1</value>
</Input>
</properties>
</message>
<buggyMessage>No, this is not correct.</buggyMessage>
<successMessage></successMessage>
<hintMessage>Please click on the highlighted button.</hintMessage>
<callbackFn></callbackFn>
<actionType>Correct Action</actionType>
<oldActionType>Correct Action</oldActionType>
<checkedStatus>Never Checked</checkedStatus>
<matchers Concatenation="true">
<Selection>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">button3</matcherParameter>
</matcher>
</Selection>
<Action>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">ButtonPressed</matcherParameter>
</matcher>
</Action>
<Input>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">-1</matcherParameter>
</matcher>
</Input>
<Actor linkTriggered="false">Student</Actor>
</matchers>
</actionLabel>
<preCheckedStatus>No-Applicable</preCheckedStatus>
<rule>
<text>unnamed</text>
<indicator>-1</indicator>
</rule>
<sourceID>2</sourceID>
<destID>4</destID>
<traversalCount>0</traversalCount>
</edge>
<edge>
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
<studentHintRequest></studentHintRequest>
<stepSuccessfulCompletion></stepSuccessfulCompletion>
<stepStudentError></stepStudentError>
<uniqueID>4</uniqueID>
<message>
<verb>SendNoteProperty</verb>
<properties>
<MessageType>CorrectAction</MessageType>
<Selection>
<value>done</value>
</Selection>
<Action>
<value>ButtonPressed</value>
</Action>
<Input>
<value>-1</value>
</Input>
<transaction_id>T07fdb2c6-510d-4bb0-b79e-ee86c7fc4aa0</transaction_id>
</properties>
</message>
<buggyMessage>No, this is not correct.</buggyMessage>
<successMessage></successMessage>
<hintMessage>Please click the Done button.</hintMessage>
<callbackFn></callbackFn>
<actionType>Correct Action</actionType>
<oldActionType>Correct Action</oldActionType>
<checkedStatus>Never Checked</checkedStatus>
<matchers Concatenation="true">
<Selection>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">done</matcherParameter>
</matcher>
</Selection>
<Action>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">ButtonPressed</matcherParameter>
</matcher>
</Action>
<Input>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">-1</matcherParameter>
</matcher>
</Input>
<Actor linkTriggered="false">Student</Actor>
</matchers>
</actionLabel>
<preCheckedStatus>No-Applicable</preCheckedStatus>
<rule>
<text>unnamed</text>
<indicator>-1</indicator>
</rule>
<sourceID>4</sourceID>
<destID>3</destID>
<traversalCount>0</traversalCount>
</edge>
<edge>
<actionLabel preferPathMark="false" minTraversals="1" maxTraversals="1">
<studentHintRequest></studentHintRequest>
<stepSuccessfulCompletion></stepSuccessfulCompletion>
<stepStudentError></stepStudentError>
<uniqueID>8</uniqueID>
<message>
<verb>NotePropertySet</verb>
<properties>
<MessageType>InterfaceAction</MessageType>
<transaction_id>94d30199-bfbc-89d6-b4ed-e11def38c1c8</transaction_id>
<Selection>
<value>button2</value>
</Selection>
<Action>
<value>ButtonPressed</value>
</Action>
<Input>
<value>-1</value>
</Input>
</properties>
</message>
<buggyMessage>No, do not press this button. It is incorrect and is only intended to show how it looks when incorrect.</buggyMessage>
<successMessage></successMessage>
<hintMessage>Please click on the highlighted button.</hintMessage>
<callbackFn></callbackFn>
<actionType>Buggy Action</actionType>
<oldActionType>Correct Action</oldActionType>
<checkedStatus>Never Checked</checkedStatus>
<matchers Concatenation="true">
<Selection>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">button2</matcherParameter>
</matcher>
</Selection>
<Action>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">ButtonPressed</matcherParameter>
</matcher>
</Action>
<Input>
<matcher>
<matcherType>ExactMatcher</matcherType>
<matcherParameter name="single">-1</matcherParameter>
</matcher>
</Input>
<Actor linkTriggered="false">Student</Actor>
</matchers>
</actionLabel>
<preCheckedStatus>No-Applicable</preCheckedStatus>
<rule>
<text>unnamed</text>
<indicator>-1</indicator>
</rule>
<sourceID>2</sourceID>
<destID>5</destID>
<traversalCount>0</traversalCount>
</edge>
<EdgesGroups ordered="true"></EdgesGroups>
</stateGraph>