Sends a notification to the server requesting the addition of a conlet.
the type of the conlet to add
the requested render mode(s), RenderMode.Foreground is automatically added
Invokes Renderer.connectionLost.
Invokes Renderer.connectionRestored.
Invokes Renderer.connectionSuspended.
Invokes the functions defined in data-jgwc-on-action
attributes of the tree with root container
. If close
is true
also executes the "on unload" functions. Must
be invoked by edit or modal dialogs when they are closed.
the container of the edit dialog
true
if the dialog should be closed
Delegates to Renderer.findConletContents.
Optional
conletId: stringDelegates to Renderer.findConletPreview.
Delegates to Renderer.findConletView.
Delegates to Renderer.findPreviews.
Delegates to Renderer.findViews.
Starts the websocket connection to the server, invokes
Renderer.init and sends the consoleReady
message
to the server.
the connection id
additional options
Optional
inactivityOptional
refreshDelegates to Renderer.notification.
an object representing the notification
Sends a JSON RPC notification to the server with method
notifyConletModel
and as parameters the given conletId
,
the method
and the additional arguments.
the id of the conlet to send to
the method to invoke
Rest
...args: any[]additional arguments to send
Opens a modal dialog related to the conlet with the given type and id.
the opening conlet's type
the opening conlet's id
the dialog's content as HTML
the dialog options
Registers a conlet function that is to be invoked when a
JSON RPC notification with method notifyConletView
is received from the server.
the conlet type for which the method is registered
the method that is registered
the function to invoke
Rest
...args: any[]Removes a conlet preview by invoking the respective methods of the associated renderer. If a view of the conlet is displayed, it will be removed, too.
After un-displaying the conlet, any "execOnUnload" functions
in the conlet tree are invoked (depth first) and JSON RPC
notifications with method conletsDeleted
and the conlet id
as parameter are sent to the server for nested component
conlets and the preview itself (again depth first). The
notifications for the component conlets have as additional
argument the collected properties.
the conlet id
Removes a conlet view by invoking the respective methods of the associated renderer.
After un-displaying the conlet, any "execOnUnload" functions
in the conlet tree are invoked (depth first) and JSON RPC
notifications with method conletsDeleted
and the conlet id
as parameter are sent to the server for nested component
conlets and the view itself (again depth first). The
notifications for the component conlets have as additional
argument the collected properties.
the conlet id
Sends a notification that requests the rendering of a conlet.
the conlet id
the requested render mode(s)
Delegates to Renderer.updateConletModes.
Delegates to Renderer.updateConletTitle.
Send the current console layout to the server.
the conlet ids from top left to bottom right
the ids of the conlets viewable in tabs
extra information spcific to the console implementation
Provides the console related functions.