Interface ApplicationPlugin
Definition of a plug-in describing an application connected to FirstSpirit.
- Since:
- 5.2.1904
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe contextual icon type. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringA description for the application, ornull.@NotNull Image<?>getIcon(@NotNull ApplicationPlugin.IconType type) Returns the icon representing the application.@NotNull StringgetLabel()The label to be displayed at the application icon.@NotNull StringgetUrl()Returns the URL to be opened when starting the application on the webstart page.booleanReturns whether or not the application should be enabled in the current context.booleanReturns whether or not the application should be visible in the current context.
-
Method Details
-
getIcon
Returns the icon representing the application.- Parameters:
type- The type of requested icon.- Returns:
- The icon.
- Since:
- 5.2.1904
-
getLabel
The label to be displayed at the application icon.- Returns:
- The label.
- Since:
- 5.2.1904
-
getDescription
A description for the application, ornull.- Returns:
- The description.
- Since:
- 5.2.1904
-
getUrl
Returns the URL to be opened when starting the application on the webstart page.- Returns:
- The application URL.
- Since:
- 5.2.1904
-
isVisible
boolean isVisible()Returns whether or not the application should be visible in the current context.- Returns:
trueif the application should be visible,falseotherwise.- Since:
- 5.2.1904
-
isEnabled
boolean isEnabled()Returns whether or not the application should be enabled in the current context.- Returns:
trueif the application should be enabled,falseotherwise.- Since:
- 5.2.1904
-