public interface ApplicationService
open tab applications. (only available inside java-client!)
Example:
servicesBroker=specialistsBroker.requestSpecialist(ServicesBroker.TYPE); appService =servicesBroker.getService(ApplicationService.class); app =appService.openApplication(BrowserApplication.TYPE, config).getApplication();
ServicesBroker.getService(Class)| Modifier and Type | Method and Description |
|---|---|
<T,C extends ApplicationTabConfiguration<?>> |
getApplication(ApplicationType<T,C> type,
Object tabIdentifier)
Returns an application specified by the given type and
tabIdentifier or null if
it doesn't exists. |
boolean |
isVisible()
Indicates whether the application area (split pane in javaclient) is visible or not.
|
<T,C extends ApplicationTabConfiguration<?>> |
openApplication(ApplicationType<T,C> type,
C configuration)
Opens a client application of specified
type with the given configuration in a new
tab and returns the tab control interface. |
void |
setVisible(boolean visible)
Sets the visibility of the application area (split pane in javaclient).
|
<T,C extends ApplicationTabConfiguration<?>> ApplicationTab<T> openApplication(ApplicationType<T,C> type, @Nullable C configuration) throws IllegalArgumentException, LicenseException
type with the given configuration in a new
tab and returns the tab control interface. Access the application with ApplicationTab.getApplication().T - application interface.C - configuration interface.type - application type.configuration - the configuration for the created application tab - maybe nullIllegalArgumentException - if the given application type is unknown.LicenseException - thrown if the license parameters are insufficientgetApplication(ApplicationType, Object)@Nullable <T,C extends ApplicationTabConfiguration<?>> ApplicationTab<T> getApplication(ApplicationType<T,C> type, Object tabIdentifier)
tabIdentifier or null if
it doesn't exists.tabIdentifier - the identifier associated with the applicationtype - the type belonginig to the application specified by given tabIdentifiernullApplicationTabConfiguration.getIdentifier(),
openApplication(ApplicationType, ApplicationTabConfiguration)boolean isVisible()
true if the application area is visible , false otherwisesetVisible(boolean)void setVisible(boolean visible)
visible - true to show application area, false otherwiseApplicationTab.setSelected(),
isVisible()Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408