Community
Participate
Working Groups
The RUIWidget annotation defines an initialUI field declaration; the problem is that this never shows up in the IR. This is a small testcase that illustrates the problem (I'm intentionally assigning initialUI to be an empty array to avoid dependencies on other widgets in this testcase). package FVT.primitives; handler InitialUI type RUIHandler { onConstructionFunction = myStartupFunction, handleHardIOErrors = no, throwNRFEOFExceptions = yes ,initialUI = [ ] } function myStartupFunction() end end
I have added a new field to StructPart (initializerStatements). This is needed to handle initialization of fields inherited from the defaultSuperType (in this case, initialUI). I have updated the following files for this: edtCompiler.eglar EGL2MofPart StructPart StructPartImpl ProxyPart egl.mofar org.eclipse.edt.mof.egl.Structure.egl
Verified fix.