ExtensionContext

ExtensionContext exposes available contribution points. The contribution points are how you extend Studio for your custom workflow.

The first argument to your activate function is an ExtensionContext. My calling methods on the context you extend the capabilities of Studio.

export function activate(extensionContext: ExtensionContext) {
  // ... call methods on the extensionContext to extend Studio
}

registerPanel

registerPanel adds a new panel to the Studio panel catalog. To register a panel you provide a name and an initPanel function. The initPanel function is provided a PanelExtensionContext which exposes API methods specifically for authoring panels.

See the Creating a custom panel guide for more details.

registerMessageConverter

registerMessageConverter register a function to convert messages from one schema to another.

Message converters allow you to leverage the visualization features of built-in Studio panels for your own custom messages by writing a conversion from your custom message to a set of well-known messages supported within the panels.

See the Creating a message converter guide for more details.

API Reference