<?xml version="1.0" encoding="UTF-8"?>
<!--
+========================================================================+
| Licensed Materials - Property of IBM
|
| IBM Cognos Products: BUX
|
| (C) Copyright IBM Corp. 2009, 2013
|
| US Government Users Restricted Rights - Use, duplication or
| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
+========================================================================+
-->

<!--
	Guidance page Events

		Guidance page ready: the event is fired at the end of onLoad function
			com.ibm.bux.guidancePage.ready
				payload: null

	Favorite Events

		The following events are implemented for integration:


		Mark as favorite:
			com.ibm.bux.guidancePage.markAsFavorite to mark as favorite.
				payload: {
					entry: atom entry of dashboard or report to be mark as favorite
				}
			com.ibm.bux.guidancePage.markAsFavorite.done will be published when the operation is completed.
				palyload: {
					entry: favorite atom entry which is feed response plus 'source' property to hold input entry data
					status: boolean,
					message: optional-error-message-if-failed
				}

		Remove from favorites:
			com.ibm.bux.guidancePage.removeFromFavorites to remove from favorites.
				payload: {
					entry: favorite atom entry of dashboard or report to be removed from favorites
					viewsNode: the tree/list view node that has to be removed from the views. This is used to round trip the node need to be removed
				}
			com.ibm.bux.guidancePage.removeFromFavorites.done will be published when the operation is completed.
				palyload: {
					entry: favorite atom entry passed to the action event
					status: boolean,
					message: optional-error-message-if-failed
					viewsNode: the tree/list view node that has to be removed from the views
				}

		Get Favorites:
			com.ibm.bux.guidancePage.getFavorites to retrieve faverites.
				payload: null
			com.ibm.bux.guidancePage.getFavorites.done will be published when the operation is completed.
				palyload: {
					feed: atom-feed which favorite entries
					status: boolean,
					message: optional-error-message-if-failed
				}

		Is Favorite:
			com.ibm.bux.guidancePage.isFavorite to retrieve faverites.
				payload: {
					url: url to dashboard/report atom-entry
				}
			com.ibm.bux.guidancePage.isFavorite.done will be published when the operation is completed.
				palyload: {
					favoriteEntry: favorite entry if the dashboard or report is mark as favorite, if not, null
					status: boolean,
					message: optional-error-message-if-failed
				}

-->
<iw:iwidget id="buxGuidancePage" xmlns:iw="http://www.ibm.com/xmlns/prod/iWidget" iScope="bux.iwidget.gettingstarted.GettingStarted" supportedModes="view" mode="view">
	<iw:itemSet id="attributes" private="true">
		<iw:item id="copyright" value="(C) Copyright IBM Corp. 2009, 2012.  All Rights Reserved."/>
		<iw:item id="version" value="1.0.0.0.0"/>
		<iw:item id="controllerNS" value="ICDNS0"/>
		<iw:item id="source" readOnly="false" value=""/>
		<iw:item id="ui.action" readOnly="false" value=""/>
	</iw:itemSet>

	<iw:itemSet id="buxuserprofile" private="false">
		<iw:item id="version" value="1.0.0.0.0"/>
		<iw:item id="currentUserRole" readOnly="false" value="assemble"/>
	</iw:itemSet>

	<!-- ==================================== -->
	<!-- Guidance Page Public events          -->
	<!-- ==================================== -->
	<iw:event id="com.ibm.bux.guidancePage.ready" eventDescName="com.ibm.bux.guidancePage.readyDesc" published="true"/>
	<iw:eventDescription id="com.ibm.bux.guidancePage.readyDesc" payloadType="any" description="Signal at the end of onLoad function"/>

	<!-- ==================================== -->
	<!-- Events Guidance Page fires or React  -->
	<!-- ==================================== -->
	<!-- contentPane events -->
	<iw:event id="com.ibm.bux.contentpane.toggle" eventDescName="com.ibm.bux.contentpane.toggleDesc" published="true"/>
	<iw:eventDescription id="com.ibm.bux.contentpane.toggleDesc" payloadType="string" description="Open the Content Pane Event" lang="en"/>

	<iw:event id="com.ibm.bux.contentpane.slide.start" eventDescName="com.ibm.bux.contentpane.slide.startDesc" handled="true" onEvent="onContentPaneStartResize"/>
	<iw:eventDescription id="com.ibm.bux.contentpane.slide.startDesc" payloadType="string" description="Fired when the content Pane starts sliding in or out" lang="en"/>

	<!-- canvas events -->
	<iw:event id="com.ibm.bux.canvas.add" eventDescName="com.ibm.bux.canvas.addDesc" published="true"/>
	<iw:eventDescription id="com.ibm.bux.canvas.addDesc" payloadType="any" description="Event for adding iWidget onto current dashboard."/>

	<!-- ==================================== -->
	<!-- resources                            -->
	<!-- ==================================== -->
	<iw:resource uri="js/bux/iwidget/gettingstarted/GettingStarted.js" skipLoad="bux.hasModule('bux/iwidget/gettingstarted/GettingStarted')"/>

	<!--
	* Do not load CSS files directly here, use bux.uncompressed.css *
	<iw:resource uri="../../../themes/default/bux_guidancePage.css" />
	-->

	<iw:content mode="view">
		<![CDATA[
			<div id="_IWID_guidancePageDiv"/>
		]]>
	</iw:content>
</iw:iwidget>

