Skip to main content

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

Hi Christian,

Later I found the getDefiniton() method in the ModuleDefinition class and it solved my problem.:) I wrote tests to test the all 3 methods in ModuleHelp.java class.  But the build failing problem is still there. I modified the plugin.xml file in org.eclipse.ease.ui plugin just to register my sample module. Please have a look.

https://git.eclipse.org/r/#/c/68386/

Thank you.

On Wed, Mar 9, 2016 at 12:26 PM, Christian Pontesegger <christian.pontesegger@xxxxxx> wrote:
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") }. 



_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev



--
Vidura Mudalige
Undergraduate
Computer Science & Engineering
University of Moratuwa.

Back to the top