|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ApplicationService
Client service to open tab applications. (only available inside java-client!)
servicesBroker=specialistsBroker.requestSpecialist(ServicesBroker.TYPE); appService =servicesBroker.getService(ApplicationService.class); app =appService.openApplication(BrowserApplication.TYPE, config).getApplication();
ServicesBroker.getService(Class)| Method Summary | ||
|---|---|---|
|
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. |
|
|
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). |
|
| Method Detail |
|---|
<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 null
IllegalArgumentException - if the given application type is unknown.
LicenseException - thrown if the license parameters are insufficientApplicationService.getApplication(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 tabIdentifier
nullApplicationTabConfiguration.getIdentifier(),
ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration)boolean isVisible()
true if the application area is visible , false otherwiseApplicationService.setVisible(boolean)void setVisible(boolean visible)
visible - true to show application area, false otherwiseApplicationTab.setSelected(),
ApplicationService.isVisible()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||