| Summary: | initialUI not captured in IRs | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Scott Greer <greer> |
| Component: | EDT | Assignee: | Project Inbox <edt.mofmodel-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | pharmon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 352125 | ||
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. |
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