Interface IApplicationClientDelegate
-
public interface IApplicationClientDelegate
The application client delegate of the specific type (or types) of the application.This interface is intended to be implemented and registered by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Process>
open(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.
-
-
-
Method Detail
-
supports
boolean supports(IApplication application, ExecutionContext context)
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
Optional<Process> open(IApplication application, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) throws ApplicationException
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
-
-