class EnsPortal.SVG.BPLCanvas
extends EnsPortal.SVG.templatePage
Business Process SVG Page
This page renders the SVG needed to host the BPL designer.
parameter DOMAIN = "Ensemble";
Use our own domain for localization
parameter JSINCLUDES = "ensbplzen.js";
Comma-delimited list of additional .js files.
parameter RESOURCE = "%Ens_Code:READ,%Ens_BPL:READ";
User needs READ permissions on either the %Ens_Code or the %Ens_BPL resource to view this page.
property bpName
as %String(ZENURL="BP");
Business process name.
classmethod %OnDrawSVGDef()
as %Status
Callback method called when drawing the SVG defs for this page.
method %OnDrawSVGPage()
as %Status
Callback method.
If defined, this provides a way for a subclass to add static SVG content
to the svgPage.
classmethod %OnDrawStyleSVG()
as %Status
Callback method called when drawing the SVG CSS style for this page.
method DrawBPLCanvas()
as %Status
Draw the canvas for the BPL editor.
classmethod EscapeJSKeepLF(s As %String)
as %String
Escape JS avoiding double-escaping to \n
method onSVGLoad()
[ Language = javascript ]
This method is called when this svgPage is loaded.
method setMenuItemOption(pOption, pItemId, pSubMenuId, value)
[ Language = javascript ]
set the option for the given menu item
method setZoom(zoom)
[ Language = javascript ]
Set the zoom level