OverviewSingleDeprecated

package jsx3.ide

The public API of the TIBCO General Interface™ IDE. This package is only available when running in the IDE.

Field Summary
static jsx3.app.Server
SERVER
The server instance corresponding to the application opened in the IDE.
Method Summary
static jsx3.app.Server
Returns the server instance corresponding to the currently active component editor tab.
static Array<jsx3.app.Model>
getSelected(bIncludeBody : boolean)
Returns the collection of DOM objects currently selected in the Component Hierarchy palette.
static void
loadTemplateCatalog(strType : String, strPath : String, objResolver : jsx3.net.URIResolver)
Loads a template catalog for the Properties Editor, Events Editor, or XSL Parameters palettes.
static void
registerTemplateForClass(strType : String, strClass : String, strPath : String)
Registers a template for a particular class in the Properties Editor, Events Editor, or XSL Parameters palettes.
Field Detail

SERVER

static jsx3.app.Server SERVER
The server instance corresponding to the application opened in the IDE.
Method Detail

getActiveServer

static jsx3.app.Server getActiveServer()
Returns the server instance corresponding to the currently active component editor tab. If no tab is open or the active tab is not a component editor, this method returns null.

Returns:

 

getSelected

static Array<jsx3.app.Model> getSelected(bIncludeBody : boolean)
Returns the collection of DOM objects currently selected in the Component Hierarchy palette. Returns an empty array if that palette is closed.

Parameters:

bIncludeBody

Returns:

 

loadTemplateCatalog

static void loadTemplateCatalog(strType : String, strPath : String, objResolver : jsx3.net.URIResolver)
Loads a template catalog for the Properties Editor, Events Editor, or XSL Parameters palettes.

Parameters:

strTypeprop, event, or xsl.
strPaththe path to the catalog file.
objResolverthe object against which to resolve URIs contained in the catalog file.

See Also:

registerTemplateForClass()

registerTemplateForClass

static void registerTemplateForClass(strType : String, strClass : String, strPath : String)
Registers a template for a particular class in the Properties Editor, Events Editor, or XSL Parameters palettes.

Parameters:

strTypeprop, event, or xsl.
strClassthe fully-qualified class name.
strPaththe resolved path to the template file.