Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Tooltip testing

Hi Vidura,

hm, not sure why you need an instance of the module, but couldn't you simply create a new YourModule? As it is all about help topics, your module should not have any dependency to the environment or the running script engine. If you still need that, have a look at
http://git.eclipse.org/c/ease/org.eclipse.ease.modules.git/tree/tests/org.eclipse.ease.modules.platform.test/src/org/eclipse/ease/modules/platform/ResourcesModuleTest.java
where we register a module instance with an engine

HTH
Christian

On 03/04/2016 03:14 PM, Vidura Mudalige wrote:
Hi Christian,

I created a simple module and registered it correctly like a normal module by following your blog. The module works fine. 

Is there a way to create an instance of a module like creating an instance of the EnvironmentModule { new org.eclipse.ease.modules.EnvironmentModule().loadModule("/System/Environment") }. 



Back to the top