Interface ExternalPreviewItem
- All Superinterfaces:
Item<ExternalPreviewContext>
Provides access to an external preview service.
This item might be used to support previews for multiple devices and browsers.
- Since:
- 5.2.101
-
Method Summary
Modifier and TypeMethodDescription@Nullable EngineType
Returns the browser type to be used for opening an application tab, ornull
if the current default browser should be used.@Nullable Icon
getIcon
(@NotNull ExternalPreviewContext context) Returns an icon representing this report plug-in, ornull
if not available.getLabel
(@NotNull ExternalPreviewContext context) Returns a human-readable title representing this report plug-in.@Nullable String
getUrl
(@NotNull ExternalPreviewContext context) Provides an url for the givenIDProvider
.
-
Method Details
-
getLabel
Returns a human-readable title representing this report plug-in.- Parameters:
context
- The context to be considered for providing a label.- Returns:
- plugin title.
- Since:
- 5.2.101
-
getIcon
Returns an icon representing this report plug-in, ornull
if not available.- Parameters:
context
- The context to be considered for providing an icon.- Returns:
- plugin icon or
null
. - Since:
- 5.2.101
-
getBrowserType
Returns the browser type to be used for opening an application tab, ornull
if the current default browser should be used.- Returns:
- The preferred browser type, or
null
- Since:
- 5.2.101
-
getUrl
Provides an url for the givenIDProvider
. This method may generate and deploy the related page for usage in an external webservice.- Parameters:
context
- The context to be considered for providing a url.- Returns:
- The url of the external webservice to be displayed.
- Since:
- 5.2.101
-