This is a Zen Page class. It belongs to the application
User needs WRITE permissions on either the %Ens_Code or the %Ens_RecordMap resource to make changes on this page.
Displayed name of this page.
User needs READ permissions on either the %Ens_Code or the %Ens_RecordMap resource to view this page.
Name of ComplexMap being viewed.
ID (index number, 0-based) of current selected item.
CSV-string used to remember last location across page redraws, especially involving popups.
Determine whether source control is enabled and ensure we don't write out the session cookie if we are running in Studio mode.
Add the EnsException error handling on the client.
Get the (localized) name of the page.
Get the (localized) title string for the page.
Return the internal name of the current document, including the three letter extension in upper-case. For example, MyPackage.MyClass.CLS would be the internal name for the class MyPackage.MyClass. Subclasses MUST override this method.
Get ComplexBatch object for the JSON provider.
%DrawSourceControlCommands() to render the extra source control options in the tool ribbon.
Get information to display in the ribbon bar.
Process submitted JSON content based on the object created
Remember the current state in the undo buffer.
Return true if it is possible to undo an action
Check that the Target Classname is changed along with the ComplexMap name
Handle a source control menu selection.
Clear the undo buffer.
Create a clone of the given object.
Get the jsonProvider object on the client. Subclasses MUST override this method to return the jsonProvider.
Returns the index of the currently selected item and the offsets of the main window in a comma separated list. It returns the empty string "" if no item is selected.
Return the current name of the class/object being modified
Load the page for the specified RecordMap.
Create a new ComplexMap.
Ensure we redraw the diagram if the model was updated.
Ensure we redraw the table if the model was updated.
Returning from popups
This client event, if present, is fired when the page is first loaded or whenever it is resized.
If this is called at load time, then load will be true.
Launch the finder dialog to select a ComplexMap.
Method to save the Complex RecordMap to disk without generating any classes.
Update the description (annotation) of this record map.
readOnlyto 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.
UpdateSCMenu() first in case the document has been modified elsewhere, then display the source control menu based on the contents of the _sourceControlMenu data created by UpdateSCMenu().
Undo the most recent change.