Wrapper of the Scenario List (AngularJS) to make it available on WireCloud.
Simply download the binary from here. Then upload the widget to your local marketplace of the WireCloud platform that you want to use.
You can also build the widget from scratch. The project uses npm/bower/grunt for project management. Follow these instructions on how to build such a project.
<Platform.Preferences>
<Preference
name="DEBUG"
type="text"
description="Toggle debug mode"
label="DEBUG toggle"
default="true"/>
<Preference
name="CRISMA_DOMAIN"
type="text"
description="The CRISMA domain this widget lives in"
label="CRISMA domain"
default="CRISMA"/>
<Preference
name="CRISMA_ICMM_API"
type="text"
description="The URL to the ICMM API instance"
label="CRISMA ICMM API"
default="http://crisma.cismet.de/icmm_api"/>
</Platform.Preferences>
<Platform.Wiring>
<InputEndpoint
name="setActiveWorldstate"
type="text"
label="Set Worldstate active"
description="Let's other widgets activate a specific worldstate. The text has to be a worldstate id only so every widget has to agree on a single ICMS instance"
friendcode="activeWorldstate"/>
<OutputEndpoint
name="getActiveWorldstate"
type="text"
label="Get the currently active worldstate"
description="Let's other widgets know which worldstate is active. The text is a worldstate id only so every widget has to agree on a single ICMS instance"
friendcode="activeWorldstate"/>
</Platform.Wiring>
The world_leaf_16.png
is a mashup of two icons created by Yusuke Kamiyamane
(Leaf icon, http://p.yusukekamiyamane.com/) and FatCow Web Hosting (World icon, http://www.fatcow.com/) that are
released under the [Creative Commons (Attribution 3.0) license] (http://creativecommons.org/licenses/by/3.0/legalcode).
The resulting icon is also released under this license. All other icons used in the widget are made available by
(Bootstrap, http://getbootstrap.com) that in turn makes use of (Glyphicons, http://glyphicons.com/).