Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359169 - Widgets created by new expression and initial properties in construction function does not work
Summary: Widgets created by new expression and initial properties in construction func...
Status: CLOSED DUPLICATE of bug 359165
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Scott Greer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 22:58 EDT by fahua jin CLA
Modified: 2017-02-23 14:19 EST (History)
1 user (show)

See Also:


Attachments
The sample EGL file. (651 bytes, application/octet-stream)
2011-09-27 22:59 EDT, fahua jin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-09-27 22:58:52 EDT
Build Identifier: 0.7.0.v201109192102

Open the attached H9.egl, the text of the button cannot be displayed in the VE.



Reproducible: Always
Comment 1 fahua jin CLA 2011-09-27 22:59:13 EDT
Created attachment 204139 [details]
The sample EGL file.
Comment 2 fahua jin CLA 2011-09-27 23:00:35 EDT
Set the defect priority to major, let's discuss if you don't agree with it.
Comment 3 Brian Svihovec CLA 2011-10-05 10:59:59 EDT
I changed this to Normal, since the following text should not be typical:

Button2 Button = new Button;

Users should only need to say:

Button2 Button;

If you cannot set text on Button2 after using this text, than it is a critical issue.
Comment 4 Scott Greer CLA 2011-10-24 10:22:20 EDT
This is the same issue as 359165 -- the only difference is that lack of a settings block.  The real issue in both cases is that this way of declaring an object results in two new statements;  see 359165 for the details of why that's currently problematic.

*** This bug has been marked as a duplicate of bug 359165 ***