MenuBar [message #89563] |
Wed, 04 May 2005 08:16 |
Eclipse User |
|
|
|
Originally posted by: akan.aiqa.com
Hello,
When I edit with the menubar property of the shell it creates a
Menu menu = new Menu();
line under createSShell method. Because there is no constructor like
Menu() program gives error. Why eclipse do not use the correct metod like;
Menu menu = new Menu(sShell, SWT.BAR);
thanks,
aiQa
www.projectme.org
|
|
|
Re: MenuBar [message #89598 is a reply to message #89563] |
Wed, 04 May 2005 11:32 |
Eclipse User |
|
|
|
Originally posted by: akan.aiqa.com
aiQa wrote:
> Hello,
>
> When I edit with the menubar property of the shell it creates a
>
> Menu menu = new Menu();
>
> line under createSShell method. Because there is no constructor like
> Menu() program gives error. Why eclipse do not use the correct metod like;
>
> Menu menu = new Menu(sShell, SWT.BAR);
>
> thanks,
> aiQa
>
> www.projectme.org
Additionally,
when using FormLayout (with VE 1.1M1) it creates a code like this;
FormData data = new FormData();
data.left(new FormAttachment(0,0));
while data.left is a property not a method it gives error.
aiQa,
www.projectme.org
|
|
|
Re: MenuBar [message #89700 is a reply to message #89598] |
Wed, 04 May 2005 15:30 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
1) How did you edit the Menubar property of the shell? We shouldn't
produce that code. By showing us how you did that we can fix it.
2) We don't create FormData right now. It probably should work if
created by hand, but we have done nothing yet to automate it. It has a
very different code pattern then the other layouts so that it makes it
more difficult.
aiQa wrote:
> aiQa wrote:
>
>> Hello,
>>
>> When I edit with the menubar property of the shell it creates a
>>
>> Menu menu = new Menu();
>>
>> line under createSShell method. Because there is no constructor like
>> Menu() program gives error. Why eclipse do not use the correct metod
>> like;
>>
>> Menu menu = new Menu(sShell, SWT.BAR);
>>
>> thanks,
>> aiQa
>>
>> www.projectme.org
>
>
> Additionally,
>
> when using FormLayout (with VE 1.1M1) it creates a code like this;
>
> FormData data = new FormData();
> data.left(new FormAttachment(0,0));
>
> while data.left is a property not a method it gives error.
>
> aiQa,
> www.projectme.org
--
Thanks,
Rich Kulp
|
|
|
Re: MenuBar [message #89803 is a reply to message #89700] |
Thu, 05 May 2005 05:07 |
Eclipse User |
|
|
|
Originally posted by: akan.aiqa.com
Rich Kulp wrote:
> 1) How did you edit the Menubar property of the shell? We shouldn't
> produce that code. By showing us how you did that we can fix it.
>
I click on the shell, then on the property menu I click the MenuBar then
choose swt.menubar and name it menubar. It creates this code.
sShell.setMenuBar(new Menu());
I manually edit it and change to ;
sShell.setMenuBar(new Menu(sShell, SWT.BAR));
Actually it is useless because there is no reference of menu that can bu
used. It should be like;
private Menu menu = null;
..
..
..
Menu menu = new Menu(sShell, SWT.BAR);
Also VE work really slowly. When I manually edit the code it tries to
render it and becomes a headache. This morning I opened the project I
was working on yesterday and it could not show the correct form in
preview or design view. It seems that VE is not suitable for production
use. Actuall I have only tried swt and don`t know much about swing
compatibility of VE.
I am using Eclipse 3.1M6 and VE 1.1M1. Do people using Eclipse 3.0.1
have the same problems?
I am really disappointed at this point :( Maybe I shall find some time
and start to work on eclipse ve development...
> 2) We don't create FormData right now. It probably should work if
> created by hand, but we have done nothing yet to automate it. It has a
> very different code pattern then the other layouts so that it makes it
> more difficult.
...yes yes, I shall find that time...
thanks,
aiQa
www.projectme.org
|
|
|
|
Re: MenuBar [message #607329 is a reply to message #89563] |
Wed, 04 May 2005 11:32 |
Eclipse User |
|
|
|
Originally posted by: akan.aiqa.com
aiQa wrote:
> Hello,
>
> When I edit with the menubar property of the shell it creates a
>
> Menu menu = new Menu();
>
> line under createSShell method. Because there is no constructor like
> Menu() program gives error. Why eclipse do not use the correct metod like;
>
> Menu menu = new Menu(sShell, SWT.BAR);
>
> thanks,
> aiQa
>
> www.projectme.org
Additionally,
when using FormLayout (with VE 1.1M1) it creates a code like this;
FormData data = new FormData();
data.left(new FormAttachment(0,0));
while data.left is a property not a method it gives error.
aiQa,
www.projectme.org
|
|
|
Re: MenuBar [message #607336 is a reply to message #89598] |
Wed, 04 May 2005 15:30 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
1) How did you edit the Menubar property of the shell? We shouldn't
produce that code. By showing us how you did that we can fix it.
2) We don't create FormData right now. It probably should work if
created by hand, but we have done nothing yet to automate it. It has a
very different code pattern then the other layouts so that it makes it
more difficult.
aiQa wrote:
> aiQa wrote:
>
>> Hello,
>>
>> When I edit with the menubar property of the shell it creates a
>>
>> Menu menu = new Menu();
>>
>> line under createSShell method. Because there is no constructor like
>> Menu() program gives error. Why eclipse do not use the correct metod
>> like;
>>
>> Menu menu = new Menu(sShell, SWT.BAR);
>>
>> thanks,
>> aiQa
>>
>> www.projectme.org
>
>
> Additionally,
>
> when using FormLayout (with VE 1.1M1) it creates a code like this;
>
> FormData data = new FormData();
> data.left(new FormAttachment(0,0));
>
> while data.left is a property not a method it gives error.
>
> aiQa,
> www.projectme.org
--
Thanks,
Rich Kulp
|
|
|
Re: MenuBar [message #607343 is a reply to message #89700] |
Thu, 05 May 2005 05:07 |
Eclipse User |
|
|
|
Originally posted by: akan.aiqa.com
Rich Kulp wrote:
> 1) How did you edit the Menubar property of the shell? We shouldn't
> produce that code. By showing us how you did that we can fix it.
>
I click on the shell, then on the property menu I click the MenuBar then
choose swt.menubar and name it menubar. It creates this code.
sShell.setMenuBar(new Menu());
I manually edit it and change to ;
sShell.setMenuBar(new Menu(sShell, SWT.BAR));
Actually it is useless because there is no reference of menu that can bu
used. It should be like;
private Menu menu = null;
..
..
..
Menu menu = new Menu(sShell, SWT.BAR);
Also VE work really slowly. When I manually edit the code it tries to
render it and becomes a headache. This morning I opened the project I
was working on yesterday and it could not show the correct form in
preview or design view. It seems that VE is not suitable for production
use. Actuall I have only tried swt and don`t know much about swing
compatibility of VE.
I am using Eclipse 3.1M6 and VE 1.1M1. Do people using Eclipse 3.0.1
have the same problems?
I am really disappointed at this point :( Maybe I shall find some time
and start to work on eclipse ve development...
> 2) We don't create FormData right now. It probably should work if
> created by hand, but we have done nothing yet to automate it. It has a
> very different code pattern then the other layouts so that it makes it
> more difficult.
...yes yes, I shall find that time...
thanks,
aiQa
www.projectme.org
|
|
|
|
Powered by
FUDForum. Page generated in 0.03138 seconds