Execute unload functions depth first.
Called when the console layout is received or when a conlet has been added or updated. Attempts to resolve all unresolved components, i.e. calls {@link Console#addConlet} for the conlets that provide the missing component.
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-apply
attributes of the tree with root container
. Must be
invoked by edit dialogs when they are closed.
the container of the edit dialog
Delegates to Renderer.findConletPreview.
Delegates to Renderer.findConletView.
Delegates to Renderer.findPreviewIds.
Delegates to Renderer.findViewIds.
Starts the websocket connection to the server, invokes
Renderer.init and sends the consoleReady
message
to the server.
the session id
additional options
Increases the lock count on the receiver. As long as the lock count is greater than 0, the invocation of handlers is suspended.
Delegates 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
additional arguments to send
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
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 conletDeleted
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.
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 conletDeleted
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.
Sends a notification that requests the rendering of a conlet.
the conlet id
the requested render mode(s)
Invokes the given method on the server.
the parameters
Sends a notification for changing the language to the server.
the id of the selected locale
Decreases the lock count on the receiver. When the count reaches 0, the invocation of handlers is resumed.
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
extra information spcific to the console implementation
Generated using TypeDoc
Provides the console related functions.