Class LaravelUi5\Sdk\Ui5\AbstractUi5Dialog

abstract
implements Ui5DialogInterface
uses HasArtifactIdentity

Base for SDK-owned {@see Ui5DialogInterface} artifacts — a globally invokable, shell-agitated View/Controller pair (a sap.m.Dialog-rooted view).

The enum case (ArtifactType::Dialog) and the interface live in Core — the interface is Core-expressible, its whole contract being getViewName(): string. This abstract base and the open runtime (the shell DialogAdapter, the client BaseComponent.openGlobalDialog) live in the SDK, because a Dialog only does anything with the shell to agitate it. See ui5/Sdk/doc/artifact-ownership.md.

A concrete dialog declares five constants and nothing else:

public const NAMESPACE = 'com.acme.foo.dialogs.create'; public const VERSION = '1.0.0'; public const TITLE = 'Create Foo'; public const DESCRIPTION = 'Create a new foo.'; public const VIEW = 'com.acme.foo.view.dialogs.CreateFoo';

mirroring {@see \LaravelUi5\Core\Ui5\AbstractUi5Tile} (the same const-backed identity, keystone ②). The view's single root control MUST be a sap.m.Dialog (enforced at open time by BaseComponent.openGlobalDialog).

  • LaravelUi5\Sdk\Ui5\AbstractUi5Dialog implements Ui5DialogInterface uses HasArtifactIdentity
    • LaravelUi5\Sdk\Partners\Dialogs\CreatePersonDialog
    • LaravelUi5\Sdk\Partners\Dialogs\CreateCompanyDialog
Methods