Bug 136331 - Generate SWT code generator style for Swing
Summary: Generate SWT code generator style for Swing
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 10:25 EDT by Ivan Mising name CLA
Modified: 2011-06-13 11:36 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Mising name CLA 2006-04-12 10:25:56 EDT
Hi,

  Nice if able to switch to SWT style generated code for Swing which are more 
clean and simple, less private method created.

Thanks
Comment 1 Peter Walker CLA 2006-04-12 10:37:31 EDT
(In reply to comment #0)
>   Nice if able to switch to SWT style generated code for Swing which are more 
> clean and simple, less private method created.
> 
I'm not sure I understand your request. Could you be more specific as to what you mean by "SWT style generated for Swing"? Some simple example might be helpful.
Thanks... Peter Walker

FYI... as a side note about Bugzilla... you don't have to add your email@ to the CC list since you are the reporter of the bug. Bugzilla will keep you informed of all updates because you opened the bug.
Comment 2 Ivan Mising name CLA 2006-04-13 10:42:15 EDT
Hi,

 Sorry for my late repply. 
Currently Swing are using Getter/Setter styles... 
so, nice if it able to generate something like SWT style, 
There's no private method created for Button creation process.
for an example :-

sShell = new Shell();
sShell.setText("Shell");
sShell.setSize(new Point(511, 280));
sShell.setLayout(null);
button = new Button(sShell, SWT.NONE);
button.setBounds(new Rectangle(24, 9, 99, 21));  // Generated
checkBox = new Button(sShell, SWT.CHECK);
checkBox.setBounds(new Rectangle(169, 23, 136, 16));  // Generated

Thanks