Home > Class Reference > ENSLIB namespace > CSPX.EnsConfigSVG

CSPX.EnsConfigSVG

class CSPX.EnsConfigSVG extends %CSP.Page

Method Inventory (Including Private)

Parameters

parameter BoxWidth = 220;
Width of each component box
parameter CONTENTTYPE = image/svg-xml;
Inherited description: Specifies the default content type for the page. This can be overriden using the <CSP:CONTENT TYPE=> tag, or by setting the %response.ContentType property in the OnPreHTTP() method. The default value if this parameter is not set is text/html.
parameter DOMAIN = Ensemble;
Use our own domain for localization

Methods (Including Private)

classmethod DrawGradient()
classmethod DrawZoom()
classmethod GetBusinessSubtype(pClass As %String) as %String
Returns the business sub type of the given class This depends on type.
For process could be: "router","bpl","component"
For service could be: "metric"
For operation could be: "workflow"
classmethod GetBusinessType(pClass As %String) as %String
Returns the business type of the given class
classmethod GetConnections(ByRef array As %String, class As %String, item As Ens.Config.Item)
For given business class, return an array of business classes it talks to (left to right)
classmethod GetItemNames(item As Ens.Config.Item, Output pkg As %String, Output cls As %String)
Get class/package name for an item
classmethod GetItemStyles(pIsRunning As %Boolean, item As Ens.Config.Item, Output statusClass As %String, Output rectClass As %String, Output hoodStyle As %String, Output ioStatusClass As %String)
Compute style names for item
classmethod GetPolyPath(xIn As %Integer, yIn As %Integer, xOut As %Integer, yOut As %Integer)
Returns a path string that connects in to out...
classmethod LayoutItems(production As Ens.Config.Production, ByRef shapes As %String, ByRef xref As %String, ByRef xpos As %Integer, ByRef ypos As %Integer, ByRef catList As %String)
Displays the current Business Items defined for this production
classmethod LocalizeContextMenu(LBL)
classmethod OnPage() as %Status
Inherited description: Event handler for PAGE event: this is invoked in order to generate the content of a csp page.
classmethod OnPreHTTP() as %Boolean
Inherited description: Event handler for PreHTTP event: this is invoked before the HTTP headers for a CSP page have been sent. All changes to the %CSP.Response class, such as adding cookies, HTTP headers, setting the content type etc. must be made from within the OnPreHTTP() method. Also changes to the state of the CSP application such as changing %session.EndSession or %session.AppTimeout must be made within the OnPreHTTP() method. It is prefered that changes to %session.Preserve are also made in the OnPreHTTP() method as this is more efficient, although it is supported in any section of the page. Return 0 to prevent OnPage() from being called.
classmethod ShowConnections(production As Ens.Config.Production, ByRef shapes As %String, ByRef xref As %String, ByRef xpos As %Integer, ByRef ypos As %Integer)
Generate the connection lines between the components of this production
classmethod ShowOperation(pIsRunning As %Boolean, ByRef pItemNo As %Integer, item As Ens.Config.Item, itemid As %String, xpos As %Integer, ypos As %Integer)
Displays a box for a Business Operation
classmethod ShowProcess(pIsRunning As %Boolean, ByRef pItemNo As %Integer, item As Ens.Config.Item, itemid As %String, xpos As %Integer, ypos As %Integer)
Displays a box for a Business Process
classmethod ShowService(pIsRunning As %Boolean, ByRef pItemNo As %Integer, item As Ens.Config.Item, itemid As %String, xpos As %Integer, ypos As %Integer)
Displays a box for a Business service
classmethod ShowShapes(pIsRunning As %Boolean, ByRef shapes As %String)
Display all the shapes in the shapes array

Inherited Members

Inherited Methods (Including Private)