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).
| Methods | ||
|---|---|---|
public
|
__construct(Ui5ModuleInterface $module)
|
# |
public
|
getModule(): Ui5ModuleInterface
|
# |
public
|
getType(): ArtifactType
|
# |
public
|
getViewName(): string
|
# |