%ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.LoadNewModule
class %ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.LoadNewModule extends %ZHSLIB.PackageManager.Developer.Extension.UI.templatePage, %ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.fileSelect
This page is opened when user selects Load New Module from Package Manager in Studio When user selects a directory and clicks OK the selected directory is returned to server where it is executed and result shown in Studio's Output area, and this page closed.Property Inventory (Including Private)
Method Inventory (Including Private)
- %OnAfterCreatePage()
- %OnGetJSResources()
- %OnGetSubtitle()
- %OnGetTitle()
- DirContainsFile()
- IsTopLevel()
- changeDrive()
- changeFileType()
- changeView()
- itemClicked()
- itemSelected()
- loadModule()
- onloadHandler()
- onresizeHandler()
- reloadLookin()
- upOneLevel()
Parameters
parameter PAGENAME = LoadNewModule;
Displayed name of this page.
Properties (Including Private)
property FileName as %ZEN.Datatype.string (ZENURL = "File");
Original File name passed in (optional)
Property methods: FileNameDisplayToLogical(), FileNameGet(), FileNameIsValid(), FileNameLogicalToDisplay(), FileNameLogicalToOdbc(), FileNameNormalize(), FileNameSet()
property HideFileType as %ZEN.Datatype.boolean (ZENURL = "HideFileType") [ InitialExpression = 1 ];
Property methods: HideFileTypeDisplayToLogical(), HideFileTypeGet(), HideFileTypeIsValid(), HideFileTypeLogicalToDisplay(), HideFileTypeLogicalToOdbc(), HideFileTypeLogicalToXSD(), HideFileTypeNormalize(), HideFileTypeSet(), HideFileTypeXSDToLogical()
property dialogTitle as %ZEN.Datatype.string [ ReadOnly ];
Provide a title for the dialog window. The value is supplied
by the %OnGetTitle() method.
Property methods: dialogTitleDisplayToLogical(), dialogTitleGet(), dialogTitleIsValid(), dialogTitleLogicalToDisplay(), dialogTitleLogicalToOdbc(), dialogTitleNormalize()
Methods (Including Private)
method %OnAfterCreatePage() as %Status [ Language = objectscript ]
Inherited description: This callback is called after the server-side page
object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
private method %OnGetJSResources(ByRef pResources As %String) as %Status [ Language = objectscript ]
Inherited description: Pages can implement this callback method in order to define a set of
client-side resources: javascript strings that have been localized.
This method should fill in the array pResources with a set of localized strings, indexed by resource id:
Javascript methods can refer to these resources using the helper function zenGetResource:
Zen defines a set of built-in resource strings using this mechanism. These
have a "zen" prefix to keep them seperate from user ids.
You can also override the same callback method within your %ZEN.application class if you wish to share resources across an application. In this case, the application-wide callback is invoked first.
This method should fill in the array pResources with a set of localized strings, indexed by resource id:
Set pResources("MyId") = $$$Text("Some string")
alert(zenText('MyId'));
You can also override the same callback method within your %ZEN.application class if you wish to share resources across an application. In this case, the application-wide callback is invoked first.
method %OnGetSubtitle() as %String [ Language = objectscript ]
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle() as %String [ Language = objectscript ]
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
classmethod DirContainsFile(pFile) as %Boolean [ Language = objectscript, ZenMethod ]
classmethod IsTopLevel(currentDir, newDir) as %Boolean [ Language = objectscript, ZenMethod ]
This is mainly for Windows. e.g. If you are already on the D:\ drive then don't go up to C:\.
clientmethod changeDrive(thisobj) [ Language = javascript ]
User selected a different directory from "Lookin" drop-down. If FileName is available, add to the newly selected directory.
clientmethod changeFileType() [ Language = javascript ]
This method refreshes the contents with the current file type and directory/file name
clientmethod changeView(viewtype) [ Language = javascript ]
changeView
clientmethod itemClicked(viewobj) [ Language = javascript ]
User clicked an item.
We put it in the File name field. User can OK it or [Enter] to drill down.
clientmethod itemSelected(viewobj) [ Language = javascript ]
User has selected a new item (double click).
clientmethod loadModule() [ Language = javascript ]
Calls a web socket to perform module load and show output.
clientmethod onloadHandler() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
clientmethod onresizeHandler() [ Language = javascript ]
This client event, if present, is fired when the page is resized.
clientmethod reloadLookin(driveobj, tvalue) [ Language = javascript ]
clientmethod upOneLevel() [ Language = javascript ]
up one level
Inherited Members
Inherited Properties (Including Private)
- %condition
- %import
- %includeFiles
- %page
- %resource
- DefaultDirectory
- DirFile
- DocumentName
- DocumentNamespace
- Language
- Namespace
- Page
- Project
- SelectModuleNameTitle
- SelectOne
- SelectedText
- User
- align
- aux
- backgroundTimerInterval
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- containerStyle
- cssLevel
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- helpId
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- isVMS
- isWINDOWS
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblErrorPrefix
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageModified
- parent
- showLabel
- showdirectoryonly
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited Methods (Including Private)
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddImportedComponents()
- %AddToProject()
- %AddToSaveSet()
- %AddToSourceControl()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawFooter()
- %DrawFrameSet()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSResources()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %DrawTitle()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetJSResources()
- %GetLinks()
- %GetPageName()
- %GetParameter()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %LayoutChildren()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnAddToSaveSet()
- %OnBeforeCreatePage()
- %OnClose()
- %OnConstructClone()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnNew()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnTemplateAction()
- %OnUseSoftModals()
- %OnValidateObject()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetClassName()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %TemplateHeader()
- %ValidateObject()
- %ZENVersion()
- BuildDrive()
- CheckDirectoryContents()
- CheckFileExt()
- CheckPath()
- CheckRootDir()
- ConvertParameter()
- Decrypt()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- GetCommonLocalization()
- GetDirFile()
- GetDirectory()
- GetFileType()
- GetModuleListSQL()
- GetSnapshotModuleListSQL()
- GetSubDir()
- GetViewContents()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsEnabled()
- IsPrivate()
- IsValidClassName()
- Link()
- LocalizeName()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RebuildLookin()
- RewriteURL()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- UpdateFileName()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- adjustSize()
- canFinish()
- canGoBack()
- canGoNext()
- cancelPopup()
- cancelTemplate()
- childrenMutated()
- confirmCancel()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- endModal()
- exposeComponent()
- findElement()
- finishTemplate()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- formValidationHandler()
- getChildIndex()
- getComponent()
- getComponentById()
- getDialogValue()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getProperty()
- getSettings()
- getType()
- gotoPage()
- hasMultiplePages()
- hasdelimiter()
- invokeSuper()
- isModified()
- isOfType()
- launchPopupWindow()
- loadDropdown()
- makeId()
- nextPage()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondialogFinish()
- ondialogStart()
- ondisabledHandler()
- onfinishHandler()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onlogoutHandler()
- onoverlayHandler()
- onstartHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- previousPage()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setErrorMessage()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- showDocumentation()
- showHelp()
- startModal()
- startProgressBar()
- stopProgressBar()
- updateState()