Class Index | File Index

## Classes

- _global_
- OWF
- OWF.Chrome
- OWF.DragAndDrop
- OWF.Eventing
- OWF.Intents
- OWF.Lang
- OWF.Launcher
- OWF.Log
- OWF.Metrics
- OWF.Preferences
- OWF.RPC
- OWF.Util
- Ozone.chrome.WidgetChrome
- Ozone.dragAndDrop.WidgetDragAndDrop
- Ozone.eventing.Widget
- Ozone.eventing.WidgetProxy
- Ozone.lang
- Ozone.launcher.WidgetLauncher
- Ozone.launcher.WidgetLauncherUtils
- Ozone.log
- Ozone.metrics
- Ozone.pref.PrefServer
- Ozone.state.WidgetState
- Ozone.state.WidgetStateHandler
- Ozone.util
- Ozone.util.pageLoad

# Class Ozone.launcher.WidgetLauncherUtils

Defined in: WidgetLauncher.js.

Class Summary
Constructor Attributes | Constructor Name and Description
--- | ---
| Ozone.launcher.WidgetLauncherUtils() Utility functions for a widget that has been launched

Method Summary
Method Attributes | Method Name and Description
--- | ---
<static> | Ozone.launcher.WidgetLauncherUtils.getLaunchConfigData() gets initial launch config data for this widget if it was just launched

Class Detail
Ozone.launcher.WidgetLauncherUtils()
Utility functions for a widget that has been launched
Method Detail
<static> {Object} Ozone.launcher.WidgetLauncherUtils.getLaunchConfigData()
gets initial launch config data for this widget if it was just launched

    var launchConfig = Ozone.launcher.WidgetLauncherUtils.getLaunchConfigData();
    if (launchConfig != null) {
      var data = Ozone.util.parseJson(launchConfig);  //in this example the data object has two fields: channel and message
      if (data != null) {
          //do something with the data
          scope.subscribeToChannel(data.channel);
          scope.addToGrid(null,data.message,data.channel);
      }
    }

Returns:
  {Object} data object which contains initial information for the widget

Documentation generated by JsDoc Toolkit 2.3.2 on Fri Oct 05 2012 16:51:05 GMT-0400 (EDT)