Class InfobaseApplicationClientDelegate
java.lang.Object
com.e1c.g5.dt.applications.ui.contributors.AbstractApplicationClientDelegate
com.e1c.g5.dt.internal.applications.infobases.ui.InfobaseApplicationClientDelegate
- All Implemented Interfaces:
IApplicationClientDelegate
The infobase application client delegate implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionopen
(IApplication application, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) Opens the application and launches application client.boolean
supports
(IApplication application, ExecutionContext context) Returns whether the delegate supports client open for the provided application and execution context.Methods inherited from class com.e1c.g5.dt.applications.ui.contributors.AbstractApplicationClientDelegate
getClientType, getLaunchUrl, getRuntimeExecutionArguments, launchUrlClient, open, supportsPlatform
-
Constructor Details
-
InfobaseApplicationClientDelegate
public InfobaseApplicationClientDelegate()
-
-
Method Details
-
supports
Description copied from interface:IApplicationClientDelegate
Returns whether the delegate supports client open for the provided application and execution context.- Parameters:
application
- the application to open, cannot benull
context
- the execution context, cannot benull
- Returns:
- whether the delegate supports client open for the provided application and execution context
-
open
public Optional<Process> open(IApplication application, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) throws ApplicationException Description copied from interface:IApplicationClientDelegate
Opens the application and launches application client. Returns the application client system process if started any.- Parameters:
application
- the application to open, cannot benull
context
- the execution context, cannot benull
monitor
- the progress monitor to report progress to, cannot benull
- Returns:
- the optional application open client system process, may be empty if application is web for example
- Throws:
ApplicationException
- if method call failed with some reason
-