property Class
as %ZEN.Datatype.string(ZENURL="CLASS"); property LinkHelp
as %String [ Calculated ]; property New
as %ZEN.Datatype.boolean(ZENURL="NEW"); property canViewFileSystem
as %Boolean [ Final,InitialExpression = $system.Security.Check("%Ens_ViewFileSystem","USE") ];
Is the user permitted to access the fileSelect popup.
property classpaths
as %String(MAXLEN=""); property currFile
as %Integer [ InitialExpression = 0 ]; property msgNotPermitted
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("You are not permitted to perform this action") ];
Message to inform the user they may not perform a given action.
method GetClassClasspaths(pClassname As %String)
as %String
[ ZenMethod ]
classmethod GetClassDefaultLanguageServer(pClassname As %String)
as %String
[ ZenMethod ]
classmethod GetClassRemoteClass(pClassname As %String)
as %String
[ ZenMethod ]
classmethod GetDefaultDir()
as %String
[ ZenMethod ]
method GetFullFilepath(pFilename)
as %String
[ ZenMethod ]
classmethod SetDefaultDir(pPathname As %String)
[ ZenMethod ]
method SuggestBounce(pLanguageServer As %String)
as %Boolean
[ ZenMethod ]
method SwitchCasingToExistingPackage(pClassname As %String = "", pAddPkgIfNone As %Boolean = 0)
as %String
[ ZenMethod ]
This method is used to generate an appropriate proxy class name
which won't have a classname conflict due to differing cases between
an existing package and one used by this class
method UseIRISHost(pFilename)
as %String
[ ZenMethod ]
method addFile()
[ Language = javascript ]
method browseSelect(fileNum)
[ Language = javascript ]
User clicked the Browse button.
method createProxyName()
[ Language = javascript ]
method deleteFile(pNumber)
as %Boolean
[ ZenMethod ]
method doBounceOnRegister()
[ Language = javascript ]
Invoked when user clicks 'yes' after being prompted about bouncing the ELS
This will run instead of ondialogFinish in order to close the dialog.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method onFileSelect(filename)
[ Language = javascript ]
method onPopupAction(popupName, action, value)
[ Language = javascript ]
Returning from file select and setting the value into the appropriate field.
method ondialogFinish(action)
as %Boolean
[ Language = javascript ]
This callback is called when the user presses the OK button.
If this returns false, then the action is canceled.
method onloadHandler()
[ Language = javascript ]
Trigger keepAlive behaviour for the page.
method refreshClasspaths()
[ Language = javascript ]
Refresh the table which displays the extra CLASSPATHS to use