Home > Class Reference > ENSLIB namespace > EnsPortal.DTLEditor
Private  Storage   


class EnsPortal.DTLEditor extends EnsPortal.Template.devPage, EnsPortal.Util.CodeEditorBase

Ensemble Data Transformation Editor.
Also called from the BPL editor as Request or Response builder.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
7 21 113


This is a Zen Page class. It belongs to the application EnsPortal.Application.

%condition %dtl %import %includeFiles
%page %resource HelpAddress ISREADONLY
LocatorHeader ParentURL StdTitle aboutPage
actionList align aux backgroundTimerInterval
bplLang canEdit canTest cellAlign
cellSize cellStyle cellVAlign children
classCallRequest classCallResponse classContextSuper classRequest
classResponse composite containerStyle contextList
cssLevel currAction currSortMode currStep
currViewMode currentNamespace currentProject currentUser
designerURL diagramLoaded disabled dragAndDrop
dragEnabled dropEnabled dtlId enclosingClass
enclosingStyle error groupClass groupStyle
hasSCOutput height hidden hint
hintClass hintStyle home homePage
id index keepAliveInterval label
labelClass labelDisabledClass labelPosition labelStyle
layout lblTitle limitPopups msgDocReadOnly
msgNotPermitted name needProject onafterdrag
onbeforedrag onclick ondrag ondrop
onhide onrefresh onshow onupdate
pageModified parent readOnly readOnlyReason
renamed searchKey showLabel slice
sourceControlEnabled sourceControlManagerDialog sourceControlNewlineFormat sourceControlOutputDialog
sourceControlVisible studioMode tipCSVWizard tipCompile
tipContractAll tipDelete tipExpandAll tipExport
tipGen tipImport tipImportLegacy tipNew
tipOpen tipSave tipSaveAs title
tuple useSVG useSoftModals valign
visible which width window

%AddCSPShareHyperevents %AddChild %AddChildAfter %AddChildBefore
%AddComponent %AddEnsExceptionHandler %AddImportedComponents %AddLocatorLinks
%AddToSaveSet %ApplyURLParms %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions
%DrawComponentHTML %DrawHTML %DrawHTMLPage %DrawJSStrings
%DrawObjectDefinitions %DrawSourceControlCommands %DrawSourceControlHead %DrawSourceControlJS
%DrawSourceControlStyle %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetHomePage %GetHomeParam %GetLinks
%GetLocatorLinks %GetPageName %GetParameter %GetProductName
%GetPropertyListForClass %GetValueById %GetValueByName %GetXMLName
%IsA %IsModified %Link %LinkCSS
%LinkScript %MakeId %New %NormalizeObject
%ObjectModified %OnAddToPageAfter %OnAddToPageBefore %OnAfterCreatePage
%OnBeforeCreatePage %OnCreateApplication %OnCreatePage %OnDetermineCSSLevel
%OnDrawEnclosingDiv %OnDrawHTMLBody %OnDrawHTMLHead %OnDrawHTMLMeta
%OnDrawObjectProperties %OnFinishBackgroundTask %OnGetPageName %OnGetProductName
%OnGetSmallMenu %OnGetTitle %OnMonitorBackgroundTask %OnMutateChildren
%OnObjectSynch %OnPreHTTP %OnSubmit %OnUseSoftModals
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %Register %RemoveChild %RemoveChildren
%RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod %Self
%SerializeObject %SetBackgroundMethodStatus %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %ValidateObject %ZENVersion AfterUserAction
AppendSourceControlOutput BuildMenu CheckAllBlanks CheckContextLinks
CheckEnterpriseManager ClearSourceControlOutput CompilesWithoutKey ConvertParameter
CreateProject CreateSourceControl Decrypt DoLogout
DocumentLoad DocumentSave DrawLocator DrawRibbon
DrawTitle Encrypt EscapeHTML EscapeURL
EvalResult GetCSPURL GetContextLinks GetCurrentProject
GetDTLContent GetDTLStream GetDocPage GetDocument
GetFullProjectName GetHomePage GetHyperEventResources GetInternalName
GetMiniModeData GetNewURL GetQuickLinks GetSegments
GetSourceControlClass GetSourceControlCommands GetTimestamp GetTopSegments
GetTransform HaveSourceControlOutput HyperEventCall HyperEventHead
Include InsertHiddenField InsertHiddenFields IsDocReadOnly
IsEnabled IsPrivate IsProjectRequired IsSourceControlReadOnly
IsVirtualDocument Link LoadProject OnDrawRibbon
OnGetRibbonInfo OnHTTPHeader OnPage OnPageError
OnPostHTTP OnPostHyperEvent OnPreHTTP OnPreHyperEvent
Page QuoteJS RegisterRecent RewriteURL
SaveDTLToClass SetCurrentProject SetProjectRequired ShowError
SimpleKeepAlive StartTimer StopTimer SubmitDTL
ThrowError UnescapeHTML UnescapeURL UpdateSCMenus
UserAction XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType addAction addChild addChildAfter
addChildBefore addClass addNewAction addPopupSuffix
addUndoAction adjustSizes afterActionMove appendServerOutput
applyChanges applyDetailForm arrowClick canUndo
canUserModify cancelChanges cancelPopup changePassword
changeURLNamespace checkActionDisabled checkChildActions checkEdit
checkStudioHyperEvents checkTextControls childrenMutated chooseSCMenu
chooseSCProject clearSCOutput clearUndoBuffer clientKeepAlive
cloneObject codeKeyPress compile correctAssignProperty
correctIELayering createComponent createComponentNS createSCMenuItem
createSCProject createSCSubMenu decorateActionList deleteComponent
detailBlur detailChange detailClearSelection disableCommandButton
doSave dragFinishHandler dragHandler dragNotifyHandler
dragStartHandler dropHandler dropStartHandler dump
editPropertyValue enableCommandButton endModal escapeCData
exposeComponent findElement fireOnResizeEvent fireOnUnloadEvent
fireOnUpdateEvent firePopupAction fixDocumentTitle generalChange
getActionDesc getActionType getChildIndex getClientModel
getComponent getComponentById getCurrentAction getCurrentExpression
getCurrentExtension getCurrentName getDTLObject getEnclosingDiv
getHidden getHintElement getIsReadOnly getLabelElement
getOpener getParentActionInfo getPrevWhitespace getProperty
getReadOnlyReason getSVGWindow getSaveAction getSettings
getTitleAreaHeight getType goHome goMenu
gotoNamespace gotoPage grayOutButtons hideCommandButton
horizEndDrag horizStartDrag inResizeLoop initDragBars
initPopupSuffix initUIConstraints initializeSVG initializeSourceControl
initializeTextMonitor insertSourceSegments insertTargetSegments invokeAfterUserAction
invokeSourceControl invokeSuper isOfType isVDoc
itemSelected launchPopupWindow loadDT loadDocument
loadSegmentsFromServer loadTopSegmentsFromServer logout makeId
moveItemDown moveItemIn moveItemOut moveItemUp
navigate newAction newDT onCreate
onDelete onDisplayHandler onDocumentLoad onDocumentLoadComplete
onDocumentSave onDocumentSaveComplete onEndModalHandler onPopupAction
onRefreshContents onSVGLoad onSerialize onServerMethodCall
onServerMethodError onServerMethodReturn onStartModalHandler ondisabledHandler
onkeydownHandler onkeyupHandler onlayoutHandler onloadHandler
onlogoutHandler onoverlayHandler onresizeHandler onunloadHandler
onupdateHandler popupActionHandler propertyClick raiseEvent
refreshContents reloadDocument removeAction removeAllActions
removeChild removeClass removePopupSuffix render
renderContents renderSVG resizeFormControls saveDT
saveDocument saveNotification searchBlur searchBoxHandler
searchFocus searchKeyDown searchKeyPress selectAction
selectTransformClass selectType serializeAction setCanvasSize
setClassAndType setComponentId setConnectivityStatusMsg setDescription
setHidden setModified setOverlayMode setPageTitle
setProperty setPropertyAll setReadOnly setResultsDiv
setSCProject setSortMode setSortModeHandler setSourceSegments
setTargetSegments setTraceOption setViewMode setViewModeHandler
setZoom shiftElements showAbout showActionDoc
showCommandButton showDocumentation showHelp showSCMenu
showSCOutput showSVGMask startKeepAlive startModal
startProgressBar stopKeepAlive stopProgressBar studioSave
switchNamespace textControlKeyDown textControlKeyUp toggleReadOnly
toggleRowHover toggleSVGElements toggleSettings toolTestDT
undo updateDiagramActions updateDocumentState updateGeneralForm
updateSCIndicator updateTable validateAction validateDT
vertEndDrag vertStartDrag


• parameter DEFAULTVIEWMODE = "both";
If this page has multiple views, this is its initial display mode.
• parameter DEFAULTZOOM = 100;
• parameter DESIGNERURL = "EnsPortal.DTLEditor.zen";
URL for DT Designer.
• parameter EDITRESOURCE = "%Ens_Code:WRITE,%Ens_DTL:WRITE";
User needs WRITE permissions on either the %Ens_Code or the %Ens_DTL resource to make changes on this page.
• parameter JSINCLUDES = "zenCSLM.js";
Comma-separated list of additional JS include files for the page.
• parameter PAGENAME = "Data Transformation Editor";
Displayed name of this page.
• parameter RESOURCE = "%Ens_Code:READ,%Ens_DTL:READ";
User needs READ permissions on either the %Ens_Code or the %Ens_DTL resource to view this page.


• property %dtl as Ens.DTL.Transform;
Placeholder for DTL object representation during page load.
• property actionList as %ZEN.Datatype.string(MAXLEN=30000,ZENURL="ACTIONLIST");
List of actions from BP (dialog mode).
• property bplLang as %ZEN.Datatype.string(ZENURL="LANG");
Language from BPL.
• property canTest as %Boolean [ InitialExpression = $system.Security.Check("%Ens_DTLTest","USE") ];
Flag to indicate whether the user is permitted to test transforms.
• property classCallRequest as %ZEN.Datatype.string(ZENURL="CALLREQUEST");
Name of call request class (dialog mode).
• property classCallResponse as %ZEN.Datatype.string(ZENURL="CALLRESPONSE");
Name of call response class (dialog mode).
• property classContextSuper as %ZEN.Datatype.string(ZENURL="CONTEXTSUPER");
Name of context super class (dialog mode).
• property classRequest as %ZEN.Datatype.string(ZENURL="REQUEST");
Name of BPL request class (dialog mode).
• property classResponse as %ZEN.Datatype.string(ZENURL="RESPONSE");
Name of BPL response class (dialog mode).
• property contextList as %ZEN.Datatype.string(MAXLEN=30000,ZENURL="CONTEXTLIST");
Csv list of properties in BP context (dialog mode).
• property currAction as %Integer [ InitialExpression = -1 ];
ID (index number, 0-based) of current selected action.
• property designerURL as %ZEN.Datatype.string [ InitialExpression = ..#DESIGNERURL ];
URL for designer.
• property diagramLoaded as %Boolean [ InitialExpression = 0 ];
Flag to indicate that the SVG diagram has been loaded.
• property dtlId as %String(MAXLEN=250,ZENURL="DT");
Name of Data Transformation to display.
• property msgDocReadOnly as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("This data transformation is read only") ];
• property tipCompile as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Compile this Data Transformation into executable code") ];
• property tipNew as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Create a new Data Transformation") ];
• property tipOpen as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Load an existing Data Transformation") ];
• property tipSave as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Save this Data Transformation") ];
• property tipSaveAs as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Save this Data Transformation with a new name") ];
• property which as %ZEN.Datatype.string(ZENURL="WHICH");
Indicated Request or Response.


• method %GetLocatorLinks(Output pLink) as %Status
Return the array of links to show in the locator bar.
• classmethod %GetPropertyListForClass(pClass As %String = "", Output pList As %ListOfObjects) as %Status
For mini mode, create a list of properties within the given class that can be used to drive the diagram contents.
• method %OnAfterCreatePage() as %Status
Decorate the page.
• method %OnDrawHTMLHead() as %Status
This callback is called at the end of the HTML HEAD section of the page.
(default implementation is a simple expression).
• method %OnGetPageName() as %String
Get the (localized) name of the page based on whether we are in MiniMode or not.
• method %OnGetTitle() as %String
Get the (localized) title string for the page. This should be implemented in a subclass.
• classmethod CompilesWithoutKey(pProperty) as %Boolean [ ZenMethod ]
• method GetDTLContent(ByRef pParms, Output pObject As %RegisteredObject) as %Status
Get DTL object for JSON provider.
• classmethod GetDTLStream(Output pStream As %Stream.Object, pClassName As %String, ByRef pDesc As %String, Output pTimestamp As %String, Output pReadOnly As %Boolean = 0) as %Status
Find the DTL definition (as a stream) for the given DTL class; return "" if not found.
Also returns Description for this class
• classmethod GetDocument(pDTLId As %String, Output pDocument As %RegisteredObject) as %Status
Find DTL transform (Ens.DTL.Transform) object for the given DTL class.
• method GetInternalName() as %String
Return the internal name of the current DTL document.
• method GetMiniModeData(ByRef pParms, Output pObject As %RegisteredObject) as %Status
Get the properties of the objects for use in miniMode (i.e. as the Request/Response Builder).
• classmethod GetSegments(pMode As %String, pClass As %String, pDocType As %String = "", pSegment As %String, pNodeAddr As %String = "") as %Boolean [ ZenMethod ]
Called from client to get list of subsegments pNodeAddr is csv-list of id numbers
• classmethod GetTopSegments(pMode As %String = "", pClass As %String = "", pDocType As %String = "", pDyn As %Boolean = 0) as %Boolean [ ZenMethod ]
Generate JS to populate list of top-level segment
• classmethod GetTransform(Output pTransform As Ens.DTL.Transform, pClassName As %String) as %Status
Get DTL info for a class.
• classmethod IsVirtualDocument(pClass As %String) as %Boolean [ ZenMethod ]
Server method to test if document is virtual.
• method OnDrawRibbon() as %Status
Add content to ribbon bar.
• method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String) as %Status
Get information to display in the ribbon bar.
• classmethod SaveDTLToClass(pClassName As %String, pDTL As Ens.DTL.Transform) as %Status
Given a DTL transform object, convert it to XML and save it in the specified class' XDATA block.
If class does not exist, create a new one.
(Copied from the old DTLDocument class).
• method SubmitDTL(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As Ens.DTL.Transform, Output pResponseObject As %RegisteredObject) as %Status
Object submit handler JSON provider. This is called when the client submits the DTL definition.
• method addAction(cls, actionType, prop, value) [ Language = javascript ]
Add a new action (called from toolbar or diagram).
• method addClass(element, cls) [ Language = javascript ]
• method addNewAction() [ Language = javascript ]
User has selected a new action to add.
• method addUndoAction() [ Language = javascript ]
Remember the current state in the undo buffer.
• method adjustSizes() [ Language = javascript ]
Adjust sizes of components on the page.
• method afterActionMove(actionList, action) [ Language = javascript ]
Helper method to execute common code after an action has been moved.
• method applyChanges() [ Language = javascript ]
In miniMode (dialog) apply changes..
• method applyDetailForm() [ Language = javascript ]
Apply changes from detail form.
• method canUndo() [ Language = javascript ]
Return true if it is possible to undo an action
• method canUserModify(saveAs) [ Language = javascript ]
Test if the user has write privilege.
• method cancelChanges() [ Language = javascript ]
In miniMode (dialog) cancel changes..
• method checkActionDisabled(action, recurse) [ Language = javascript ]
• method checkChildActions(children) [ Language = javascript ]
Update the disabled status of any actions in the supplied children that need to be updated.
• method chooseSCMenu(menuName, commandName, saveFlags) [ Language = javascript ]
Handle a source control menu selection.
• method clearUndoBuffer() [ Language = javascript ]
• method cloneObject(obj, clone) [ Language = javascript ]
Create a clone of the given object.
• method compile() [ Language = javascript ]
Launch the compile dialog.
• method correctAssignProperty(action, prop) [ Language = javascript ]
Helper method to add or remove trailing array syntax from an assign property depending on the type of Assign.
• method decorateActionList(actionList, parent, parentProp, depth) [ Language = javascript ]
Walk down list of actions, build an index, and set the parent pointers.
• method detailBlur(zenControl) [ Language = javascript ]
OnBlur handler for the detailValue and detailCondition controls, where we need to track the currently selected text for the DTL Function Wizard. During the onblur, we capture the currently selected text (if any) and store that in the _selectionData property of the zenControl Zen control. If we populate _selectionData, we also set up a timer to call detailClearSelection() to clear the data in 250 milliseconds. This means we will have the selection data if the user launches the wizard within 250 ms, but don't keep lingering data when the user does something else.
• method detailChange(which) [ Language = javascript ]
Change to item in detail form.
• method detailClearSelection(controlId) [ Language = javascript ]
Clear out any data in the _selectionData property of the Zen control with id controlId.
• method doSave(delayAlert) [ Language = javascript ]
Actually perform the save.
• method dump() [ Language = javascript ]
• method editPropertyValue(name, type) [ Language = javascript ]
Launch the property editor dialog.
• method generalChange(which) [ Language = javascript ]
Change to item in general form.
• method getActionDesc(type, actionType) [ Language = javascript ]
Get description for an action.
• method getActionType(action) [ Language = javascript ]
Return the "type" of the given action (by combining its class and action).
• method getClientModel() [ Language = javascript ]
Get the jsonProvider object on the client. Subclasses MUST override this method to return the jsonProvider.
• method getCurrentAction() [ Language = javascript ]
Return current selected action, if any.
• method getCurrentExpression() [ Language = javascript ]
• method getCurrentName() [ Language = javascript ]
Return the current name of the class/object being modified
• method getDTLObject() [ Language = javascript ]
Return the dtl transform object.
• method getParentActionInfo() [ Language = javascript ]
Find information on the ancestors of the current selected item. Returns an array of all ancestors of the current action that are forEach actions. Most immediate ancestor is at the start of the list.
• method getSVGWindow() [ Language = javascript ]
Get the SVG window object for the diagram. This provides a way to access scripts in the SVG diagram.
• method horizEndDrag(mgr, wrapper) [ Language = javascript ]
Function to handle the completion of horizontal bar drags, which adjusts the height of the SVG and table wrapper elements. It also removes the svgMask that is placed in front of the SVG during the drag. Note that this refers to the drag manager, and NOT the zenPage object.
• method horizStartDrag(mgr, wrapper) [ Language = javascript ]
Function to handle the start of a drag for the horizontal bar between the SVG and table items. The main work is to determine the initial location of the bar, as well as the maximum reach of the bar so that the constrainDragX and constrainDragY callbacks can correctly limit the drag. This code also invokes showSVGMask() to ensure that we correctly handle mouse events in this window and not in the SVG diagram window.
• method initDragBars() [ Language = javascript ]
• method initUIConstraints() [ Language = javascript ]
• method initializeSVG(noAdjust) [ Language = javascript ]
• method insertSourceSegments(segment, proplist) [ Language = javascript ]
Insert segments into the source portion of the diagram. This is called by the GetSegments method.
• method insertTargetSegments(segment, proplist) [ Language = javascript ]
Insert segments into the target portion of the diagram. This is called by the GetSegments method.
• method invokeAfterUserAction(input, userContext) [ Language = javascript ]
Client-side coordinator of calls to the AfterUserAction callback in the core source control class.
• method isVDoc(cls) [ Language = javascript ]
Test if the given class is a VDoc.
• method itemSelected(item) [ Language = javascript ]
Notification that an item within the diagram has been selected.
• method loadDT() [ Language = javascript ]
Launch the finder dialog.
• method loadSegmentsFromServer(type, cls, doctype, origName, idlist) [ Language = javascript ]
Load specified segments from the server.
• method loadTopSegmentsFromServer(mode, cls, doctype) [ Language = javascript ]
Load top-level document segments from the server and populate part of the diagram.
mode is "target" or "source".
• method moveItemDown() [ Language = javascript ]
Move the current item (action) down.
• method moveItemIn() [ Language = javascript ]
Move the current item (action) into an adjacent block of actions.
• method moveItemOut() [ Language = javascript ]
Move the current item (action) out of the current action block, i.e. move the action one level up.
• method moveItemUp() [ Language = javascript ]
Move the current item (action) up.
• method newAction(cls) [ Language = javascript ]
Construct a new Action object.
• method newDT() [ Language = javascript ]
Create a new data transformation.
• method onDocumentSaveComplete(contentUpdated) [ Language = javascript ]
Ensure we redraw the diagram and actions table based if the model was updated.
• method onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
• method onSVGLoad() [ Language = javascript ]
• method onlayoutHandler(load) [ Language = javascript ]
Adjust sizes of components on the page.
• method propertyClick(type, prop) [ Language = javascript ]
User double-clicked on a property box in the diagram.
• method removeAction(idx) [ Language = javascript ]
Delete the current action.
• method removeAllActions() [ Language = javascript ]
Remove all actions.
• method removeClass(element, cls) [ Language = javascript ]
• method resizeFormControls() [ Language = javascript ]
Helper method to increase or decrease the size of the text controls in the property pane when the pane's size changes.
• method saveDT(showDialog) [ Language = javascript ]
Launch the save dialog.
• method saveNotification() [ Language = javascript ]
• method selectAction(index, force, notify, tabChange) [ Language = javascript ]
Select a DTL action.
• method selectTransformClass() [ Language = javascript ]
Launch the finder dialog to select a class for a subtransform.
• method selectType(which) [ Language = javascript ]
Launch the select type dialog.
• method serializeAction(action, useDOM) [ Language = javascript ]
Helper to serialize the Action in action when saving data for Studio. useDOM should only be true under IE10, as IE9 and lower aren't happy with this approach.
• method setCanvasSize(width, height) [ Language = javascript ]
Called from diagram to set size of svg canvas.
• method setClassAndType(isSource, classname, doctype, noreload) [ Language = javascript ]
• method setDescription(desc) [ Language = javascript ]
Update the description (annotation) of this DT.
• method setModified(flag) [ Language = javascript ]
Set the modified flag for the page.
• method setReadOnly(readOnly) [ Language = javascript ]
Set readOnly to the value of readOnly. Subclasses MUST implement this method to update the controls on the page so that the page's behaviour actually matches the value of the readOnly flag.
• method setSourceSegments(clsname, doctype, reload, proplist) [ Language = javascript ]
Set segments into the source portion of the diagram. This is called by the GetTopSegments method.
• method setTargetSegments(clsname, doctype, reload, proplist) [ Language = javascript ]
Set segments into the target portion of the diagram. This is called by the GetTopSegments method.
• method setViewModeHandler(mode) [ Language = javascript ]
Do the actual work of updating the view to match the current view mode.
• method setZoom(zoom, updateSelect) [ Language = javascript ]
User has selected a new zoom level.
• method shiftElements(elements, cssProp, change) [ Language = javascript ]
Helper method to allow a list of elements to have the CSS property specified in cssProp to be modified by the increment in change. The method is used to move elements around in response to the delta from a dragged bar.
• method showActionDoc(type) [ Language = javascript ]
Show documentation for given action.
• method showSVGMask() [ Language = javascript ]
Helper method to move the svgMask div in front of SVG to ensure the mouse events aren't pushed through to the SVG window and lost to the ZLM drag handling in this window. Under IE, we also push in an iframe to make IE behave well with the embedded SVG.
• method studioSave() [ Language = javascript ]
• method toggleRowHover(row) [ Language = javascript ]
• method toggleSettings() [ Language = javascript ]
Toggle display of settings box.
• method toolTestDT() [ Language = javascript ]
Launch test dialog.
• method undo() [ Language = javascript ]
Undo the most recent change.
• method updateDiagramActions(keepSelected) [ Language = javascript ]
Update actions in dtl diagram.
• method updateGeneralForm() [ Language = javascript ]
Update contents of general settings form.
• method updateTable() [ Language = javascript ]
Update the contents of the dtl "action" table.
• method validateAction(item) [ Language = javascript ]
Validate the given action; return a list of errors (or an empty list).
• method validateDT(errors) [ Language = javascript ]
Test if there are any errors in this DTL definition.
• method vertEndDrag(mgr, wrapper) [ Language = javascript ]
Function to handle the completion of vertical bar drags and adjust the width of various elements that have explicit widths. It also removes the svgMask that is placed in front of the SVG during the drag. Note that this refers to the drag manager, and NOT the zenPage object.
• method vertStartDrag(mgr, wrapper) [ Language = javascript ]
Function to handle the start of a drag for the vertical bar between the editor and property panes. The main work is to determine the initial location of the bar, as well as the maximum reach of the bar so that the constrainDragX and constrainDragY callbacks can correctly limit the drag. This code also invokes showSVGMask() to ensure that we correctly handle mouse events in this window and not in the SVG diagram window.