<?xml version="1.0" encoding="UTF-8"?>
<otrunk id="fb89dc90-ca9b-11dc-95ff-0800200c9a66">
	<imports>
		<import class="org.concord.otrunk.OTSystem" />
		<import class="org.concord.otrunk.OTInclude" />
		<import class="org.concord.otrunk.view.document.OTCompoundDoc" />
		<import class="org.concord.otrunk.view.OTFrameDisplayAction"/>
		<import class="org.concord.framework.otrunk.view.OTFrame" />
		<import class="org.concord.otrunk.ui.OTCardContainer" />
		<import class="org.concord.otrunk.ui.OTButton" />
    	<import class="org.concord.otrunk.capa.util.OTCAPAChecker" />    	
	</imports>
	<idMap>  
		<idMapping local_id="main_activity" id="3787c8df-65dd-4c52-b48f-160cbc806a29"/>
		<idMapping local_id="rubric_object" id="8f89aba0-c916-11dc-95ff-0800200c9a66"/>
		<idMapping local_id="script_bundle" id="bd9d39b0-caa3-11dc-95ff-0800200c9a66"/>
		<idMapping local_id="view_bundle" 	id="8ec3f840-caa3-11dc-95ff-0800200c9a66"/>
		<idMapping local_id="reportButton"	id="bb88b2c0-cabd-11dc-95ff-0800200c9a66"/>
	</idMap>  
	<objects>
		<OTSystem>
			<includes>
				<OTInclude href="capa-multimeter-activity.otml"/> 
			</includes>
			<bundles>
				<object refid="${script_bundle}"/>
				<object refid="${view_bundle}"/>
			</bundles>
			<root>
      			<OTCAPAChecker local_id="checker" name="Checker" 
      				nextToShow="f053ae87-ea98-4218-934d-783b04174fe8" mozSwing="b8f66e60-23a9-4371-beef-24ca390f7349"
      				checkFlashPlugin="true" flashPluginRequiredVersion="8"/>
			</root>
			<library>
				<OTCompoundDoc id="f053ae87-ea98-4218-934d-783b04174fe8" name="Using Multimeter DEMO">
					<bodyText>
						<object refid="${main_area}"/>
						<br/>
						<table>
						<tr>
						<td width="150">
							<object refid="${rubricButton}"/>
						</td>
						<td width="150">
							<object refid="${reportButton}"/>
						</td>
						</tr>
						</table>
					</bodyText>
				</OTCompoundDoc>
				<OTCardContainer local_id="main_area">
				<!--card container is used only to preserve the "show rubric" button in the next page-->
					<cards>
						<object refid="${main_activity}"/>
					</cards>
				</OTCardContainer>
				<OTButton local_id="rubricButton" text="Show/Edit Rubric">
					<action>
						<object refid="${show_rubric_action}"/>
					</action>
				</OTButton>
				<OTFrameDisplayAction local_id="show_rubric_action">
					<frame>
						<OTFrame local_id="rubric_popup"
							width="700" height="500" title="Rubric"/>
					</frame>
					<objectToDisplay>
						<object refid="${rubric_object}"/>
					</objectToDisplay>
				</OTFrameDisplayAction>
			</library>
		</OTSystem>
	</objects>
</otrunk>
