public void preConfigure() { module.addPropertyType("myProperty", URL.class, null, true); }
public void init(Module module) { this.module = module; this.inputService = module.getService("theService"); boolean property = module.getPropertyBooleanValue("myProperty"); }This is also the ideal moment to perform lengthy setup or initializations for your module, if you have some code which will take a long time to complete.
public void start() { inputService.setDataValue("myValue", true); inputService.invoke(); }
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence