new Extension(id, name, mainPath, basePath, windowType, width, height, minWidth, minHeight, maxWidth, maxHeight, defaultExtensionDataXml, specialExtensionDataXml, requiredRuntimeList, isAutoVisible, isPluginExtension)
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The unique identifier of this extension. |
name |
string | The localizable display name of this extension. |
mainPath |
string | The path of the "index.html" file. |
basePath |
string | The base path of this extension. |
windowType |
string | The window type of the main window of this extension. Valid values are defined by CSXSWindowType. |
width |
number | The default width in pixels of the main window of this extension. |
height |
number | The default height in pixels of the main window of this extension. |
minWidth |
number | The minimum width in pixels of the main window of this extension. |
minHeight |
number | The minimum height in pixels of the main window of this extension. |
maxWidth |
number | The maximum width in pixels of the main window of this extension. |
maxHeight |
number | The maximum height in pixels of the main window of this extension. |
defaultExtensionDataXml |
The extension data contained in the default ExtensionDispatchInfo section of the extension manifest. |
|
specialExtensionDataXml |
The extension data contained in the application-specific ExtensionDispatchInfo section of the extension manifest. |
|
requiredRuntimeList |
Array.<object> | An array of Runtime objects for runtimes required by this extension. |
isAutoVisible |
boolean | True if this extension is visible on loading. |
isPluginExtension |
boolean | True if this extension has been deployed in the Plugins folder of the host application. |
- Source:
Returns:
A new Extension object.