Interface Host
- All Known Implementing Classes:
DefaultHost,EclipseHost
public interface Host
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddNativeTypeDelegates(IEolModule module) default voidaddOperationContributors(IEolModule module) Registers anyOperationContributors contributed through theorg.eclipse.epsilon.common.dt.operationContributorextension point with the operation contributor registry of the given module's context.voidaddStopCapabilities(org.apache.tools.ant.Project project, IEolModule module) voidconfigureUserInput(IEolModule module, boolean isGui) createModel(String type) debug(IEolModule module, File file, DebugServerSession debugSession) <T> List<T> getExtensionsOfType(Class<T> klazz) voidbooleandefault voidsetDebugPort(int port) boolean
-
Method Details
-
isRunning
boolean isRunning() -
initialise
void initialise() -
addNativeTypeDelegates
-
addOperationContributors
Registers anyOperationContributors contributed through theorg.eclipse.epsilon.common.dt.operationContributorextension point with the operation contributor registry of the given module's context.The default implementation is a no-op, so that hosts running outside an Eclipse Platform (e.g. the
DefaultHostused from plain JUnit tests) are unaffected. TheEclipseHostoverrides this to discover the extension point when running inside a headless or interactive Eclipse Platform, mirroring the behaviour that the interactive Development Tools launch path already provides.- Since:
- 2.7
-
addStopCapabilities
-
supportsDebugging
boolean supportsDebugging() -
debug
- Throws:
Exception
-
configureUserInput
-
createModel
- Throws:
org.apache.tools.ant.BuildException
-
getExtensionsOfType
- Throws:
Exception
-
setDebugPort
default void setDebugPort(int port)
-