Core
Provides access to all important classes. Acts as an entry point for the JavaScript API.
Static Method Summary
Static Public Methods | ||
public static |
getInstance(): Core |
Member Summary
Public Members | ||
public get |
|
|
public get |
|
|
public get |
|
|
public get |
|
|
public get |
|
|
public get |
|
|
public get |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
dialog(title: string): DialogBuilder Creates and returns a dialog builder using the specified title. |
|
public |
Shows an error message. |
|
public |
form(meta: Metadata | AddressTemplate | string): FormBuilder Returns a new form builder for a ModelNode. |
|
public |
Shows an info message. |
|
public |
namedForm(meta: Metadata | AddressTemplate | string): FormBuilder Returns a new form builder for a NamedNode. |
|
public |
namedTable(meta: Metadata | AddressTemplate | string): TableBuilder Returns a new table builder for a NamedNode. |
|
public |
operation(address: AddressTemplate | ResourceAddress | string, name: string): OperationBuilder Returns a new operation builder. |
|
public |
Shows a success message. |
|
public |
table(meta: Object): TableBuilder Returns a new table builder for a ModelNode. |
|
public |
Shows a warning message. |
Static Public Methods
Public Members
Public Methods
public dialog(title: string): DialogBuilder source
Creates and returns a dialog builder using the specified title.
Params:
Name | Type | Attribute | Description |
title | string | The dialog title. |
public error(message: string) source
Shows an error message.
Params:
Name | Type | Attribute | Description |
message | string | The error message. |
public form(meta: Metadata | AddressTemplate | string): FormBuilder source
Returns a new form builder for a ModelNode.
Params:
Name | Type | Attribute | Description |
meta | Metadata | AddressTemplate | string | The metadata for the form. |
public info(message: string) source
Shows an info message.
Params:
Name | Type | Attribute | Description |
message | string | The info message. |
public namedForm(meta: Metadata | AddressTemplate | string): FormBuilder source
Returns a new form builder for a NamedNode.
Params:
Name | Type | Attribute | Description |
meta | Metadata | AddressTemplate | string | The metadata for the form. |
public namedTable(meta: Metadata | AddressTemplate | string): TableBuilder source
Returns a new table builder for a NamedNode.
Params:
Name | Type | Attribute | Description |
meta | Metadata | AddressTemplate | string | The metadata for the table. |
public operation(address: AddressTemplate | ResourceAddress | string, name: string): OperationBuilder source
Returns a new operation builder.
Params:
Name | Type | Attribute | Description |
address | AddressTemplate | ResourceAddress | string | The address. |
|
name | string | The operation name. |
public success(message: string) source
Shows a success message.
Params:
Name | Type | Attribute | Description |
message | string | The success message. |
public table(meta: Object): TableBuilder source
Returns a new table builder for a ModelNode.
Params:
Name | Type | Attribute | Description |
meta | Object | The metadata for the table. |