CRecordNotifyDialogClosed

The CRecordNotifyDialogClosed message indicates that a Swing dialog has been closed. These messages are collected by the NY_DialogMonitor microservice, which provides statistics via the console.

The message belongs to the plugin NY_RemoteSkinDialogMonitorPlugIn.

{
  "id": "eba68077-1b26-4a16-a012-b6d05ae2aff9",
  "name": "NOTIFY_DIALOG_CLOSED",
  "isService": "true",
  "namespaces": "SYSTEM",
  "description": "Notification that a RemoteSkin dialog has been closed.",
  "slots": [
    {
      "key": "1",
      "name": "ID",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "UUID",
      "description": "The instance ID of the dialog."
    }
  ]
}

Arguments

  • ID: The instance ID of the dialog.

Usage

Sending the message

private void unregisterDialog(@NotNull final UUID aDialogInstanceId) throws CException
{
    final IId microServiceId = CIdFactory.fromObject("NY_DialogMonitor");
    final CEnvelope env = CEnvelope.forMicroService(microServiceId);
    
    final CRecord record = CRecordNotifyDialogClosed.create();
    CRecordNotifyDialogClosed.setId(record,
                                    aDialogInstanceId);
    sendNotification(env,
                     record);
}

See also: