public interface ExternalPreviewItem extends Item<ExternalPreviewContext>
Modifier and Type | Method and Description |
---|---|
EngineType |
getBrowserType()
Returns the browser type to be used for opening an application tab,
or
null if the current default browser should be used. |
Icon |
getIcon(ExternalPreviewContext context)
Returns an icon representing this report plug-in, or
null if not available. |
String |
getLabel(ExternalPreviewContext context)
Returns a human-readable title representing this report plug-in.
|
String |
getUrl(ExternalPreviewContext context)
Provides an url for the given
IDProvider . |
String getLabel(@NotNull ExternalPreviewContext context)
context
- The context to be considered for providing a label.@Nullable Icon getIcon(@NotNull ExternalPreviewContext context)
null
if not available.context
- The context to be considered for providing an icon.null
.@Nullable EngineType getBrowserType()
null
if the current default browser should be used.null
@Nullable String getUrl(@NotNull ExternalPreviewContext context)
IDProvider
.
This method may generate and deploy the related page for usage
in an external webservice.context
- The context to be considered for providing a url.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210