OSLC service provider user interface dialog
oslc.core.Dialog objects represent user interface dialogs
from an Open Services for Lifecycle Collaboration (OSLC) service provider. After creating and
object, query the service provider for available user interface dialogs by using the
dialog — Dialog URL
User interface dialog URL, returned as a character array.
hintWidth — User interface width
User interface width in pixels, specified as a character array.
hintHeight — User interface height
User interface height in pixels, specified as a character array.
title — Dialog title
User interface dialog title, returned as a character array.
resourceType — OSLC resource type
Resource type to select or create in user interface dialog, specified as a cell array.
|View OSLC dialog in system browser|
Get and View OSLC User Interface Dialogs
This example shows how to get and view an OSLC user interface dialog for a configured OSLC client.
After you have created and configured an OSLC client as described in Create and Configure an OSLC Client for the Requirements Management Domain, get the available user interface dialogs in the requirements management domain of the
dialogs = getDialog(myClient)
dialogs = 1×4 Dialog array with properties: dialog hintWidth hintHeight title resourceType
Examine the properties of one of the dialogs. From the
determine the resource type and if the dialog is for creating or selecting resources.
myDialog = dialogs(1); title = myDialog.title
title = 'Requirement Creation'
Open the dialog in a browser.
Introduced in R2021a