Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Some classes created with VE don't show all components
Some classes created with VE don't show all components [message #117933] Wed, 15 February 2006 13:49 Go to next message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

This is a multi-part message in MIME format.
--------------070007000009090604030904
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

We've faced a problem sometimes in projects, that we create some classes
with visual editor, but some appear ok on screen and another appear with
components invisible.

Attached is an example project that shows this problem. We have three
classes. One is the main menu (MyMenu) , and the other two classes are
called by the menu items.

The TipoConta class is called and is shown ok, but Key class is called
but only Composite and ToolBar are visible.

This project was executed in three different desktops that have exactly
the same configuration of eclipse:

Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
running on Windows XP Professional.


Thanks.

--------------070007000009090604030904
Content-Type: application/x-zip-compressed;
name="SWT.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="SWT.zip"

UEsDBBQAAAAIAMBbTjR8zQdykQAAABYBAAAOAAAAU1dULy5jbGFzc3BhdGiz sa/IzVEoSy0q
zszPs1Uy1DNQUkjNS85PycxLt1UKDXHTtVCyt+PlsknOSSwuLkgsyQByOBG8 1LySokqF7My8
FFul4qJkJQWQoK2Skj5uZcn5eTBl+UXpeqnJOZkFxal6WSklejmJpXnJGUCr 9byCXOOd/f1C
HD39XIOINC04PIQ4PfmlJQWlJShutdFH9iAAUEsDBBQAAAAIAMRbTjSed8ok 5gAAAPMBAAAM
AAAAU1dULy5wcm9qZWN0jVHLTsMwEDyDxD9UuWPDjYObSjwqgQSXFnF2nCW4 xOto7RQ+n7Vx
gIAqcZsZzWhGu2r17vrFHihYj8vqXJxVC0DjW4vdsnrcrk8vqlV9cqwG8jsw 8RqCITtEdrN6
pFA7qDdPWyUzSpLxzgHGWskJJbXkQyZyxprR9u1mAJNYoVcc1dhmpbR46gSY 3g4BxK6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/MnBQAA
6AkAABcAAAAAAAAAAAAgALaBWBUAAFNXVC92aXN1YWwvTXlNZW51LmNsYXNz UEsBAhQAFAAA
AAgAaYNONIgpuRAzBAAABA0AABYAAAAAAAAAAQAgALaBtBoAAFNXVC92aXN1 YWwvTXlNZW51
LmphdmFQSwECFAAUAAAACAAwhk40O4XPI8gBAAAbAwAAHAAAAAAAAAAAACAA toEbHwAAU1dU
L3Zpc3VhbC9UaXBvQ29udGEkMS5jbGFzc1BLAQIUABQAAAAIADCGTjQvELC9 lAkAACgSAAAa
AAAAAAAAAAAAIAC2gR0hAABTV1QvdmlzdWFsL1RpcG9Db250YS5jbGFzc1BL AQIUABQAAAAI
AM2CTjQMDviQMQUAADAVAAAZAAAAAAAAAAEAIAC2gekqAABTV1QvdmlzdWFs L1RpcG9Db250
YS5qYXZhUEsBAhQACgAAAAAAZ4VONAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAQ AP9BUTAAAFNX
VC9QSwUGAAAAAA8ADwDfAwAAczAAAAAA
--------------070007000009090604030904--
Re: Some classes created with VE don't show all components [message #117986 is a reply to message #117933] Wed, 15 February 2006 15:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Are you saying that it fails in the VE, or it fails when you run it as
an application?

Alexandre Boaventura wrote:
> We've faced a problem sometimes in projects, that we create some classes
> with visual editor, but some appear ok on screen and another appear with
> components invisible.
>
> Attached is an example project that shows this problem. We have three
> classes. One is the main menu (MyMenu) , and the other two classes are
> called by the menu items.
>
> The TipoConta class is called and is shown ok, but Key class is called
> but only Composite and ToolBar are visible.
>
> This project was executed in three different desktops that have exactly
> the same configuration of eclipse:
>
> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
> running on Windows XP Professional.
>
>
> Thanks.

--
Thanks,
Rich Kulp
Re: Some classes created with VE don't show all components [message #118010 is a reply to message #117986] Wed, 15 February 2006 17:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

Rich Kulp escreveu:
> Are you saying that it fails in the VE, or it fails when you run it as
> an application?
>
> Alexandre Boaventura wrote:
>> We've faced a problem sometimes in projects, that we create some
>> classes with visual editor, but some appear ok on screen and another
>> appear with components invisible.
>>
>> Attached is an example project that shows this problem. We have three
>> classes. One is the main menu (MyMenu) , and the other two classes are
>> called by the menu items.
>>
>> The TipoConta class is called and is shown ok, but Key class is called
>> but only Composite and ToolBar are visible.
>>
>> This project was executed in three different desktops that have
>> exactly the same configuration of eclipse:
>>
>> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
>> running on Windows XP Professional.
>>
>>
>> Thanks.
>

Rich,

It fails when it runs as an application. In VE it appears normally.
Re: Some classes created with VE don't show all components [message #118022 is a reply to message #117933] Wed, 15 February 2006 16:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem was that in Key the key.setSize() was done before adding of
the children, while in TipoConta the setSize() was after the children.

Because of the way you are creating these the setSize is the only thing
that causes a layout to occur. Because of this when the layout from the
setsize within key has no children yet, it doesn't do anything. Then the
children are created, but they have zero size and position.

There are other problems with the way the code is written. First just
newing up a child in the selected event will cause problems because each
time it is selected, a new Key or TipoConta will be created. The old one
will still be there. They will just accumulate over top of each other.

Next since your Shell did not have a layout manager, it simply placed
each child at (0,0) and used the setSize within the initialize to set
its size. Null layout is simple, but is almost always wrong to use, such
as in this case. There is probably some other layout you want.

There is a bug in VE 1.1.0.1 that sometimes puts things after the
setSize(), but that has been fixed in the development drivers of VE 1.2.
But I suggest getting away from the null layout entirely in the shell,
in that case it wouldn't matter where or if there was a setSize.

Alexandre Boaventura wrote:
> We've faced a problem sometimes in projects, that we create some classes
> with visual editor, but some appear ok on screen and another appear with
> components invisible.
>
> Attached is an example project that shows this problem. We have three
> classes. One is the main menu (MyMenu) , and the other two classes are
> called by the menu items.
>
> The TipoConta class is called and is shown ok, but Key class is called
> but only Composite and ToolBar are visible.
>
> This project was executed in three different desktops that have exactly
> the same configuration of eclipse:
>
> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
> running on Windows XP Professional.
>
>
> Thanks.

--
Thanks,
Rich Kulp
Re: Some classes created with VE don't show all components [message #118034 is a reply to message #118022] Wed, 15 February 2006 21:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

Rich Kulp escreveu:
> The problem was that in Key the key.setSize() was done before adding of
> the children, while in TipoConta the setSize() was after the children.
>
> Because of the way you are creating these the setSize is the only thing
> that causes a layout to occur. Because of this when the layout from the
> setsize within key has no children yet, it doesn't do anything. Then the
> children are created, but they have zero size and position.
>
> There are other problems with the way the code is written. First just
> newing up a child in the selected event will cause problems because each
> time it is selected, a new Key or TipoConta will be created. The old one
> will still be there. They will just accumulate over top of each other.
>
> Next since your Shell did not have a layout manager, it simply placed
> each child at (0,0) and used the setSize within the initialize to set
> its size. Null layout is simple, but is almost always wrong to use, such
> as in this case. There is probably some other layout you want.
>
> There is a bug in VE 1.1.0.1 that sometimes puts things after the
> setSize(), but that has been fixed in the development drivers of VE 1.2.
> But I suggest getting away from the null layout entirely in the shell,
> in that case it wouldn't matter where or if there was a setSize.
>
> Alexandre Boaventura wrote:
>> We've faced a problem sometimes in projects, that we create some
>> classes with visual editor, but some appear ok on screen and another
>> appear with components invisible.
>>
>> Attached is an example project that shows this problem. We have three
>> classes. One is the main menu (MyMenu) , and the other two classes are
>> called by the menu items.
>>
>> The TipoConta class is called and is shown ok, but Key class is called
>> but only Composite and ToolBar are visible.
>>
>> This project was executed in three different desktops that have
>> exactly the same configuration of eclipse:
>>
>> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
>> running on Windows XP Professional.
>>
>>
>> Thanks.
>

Rich,

I understood what you've explained to me.

I just disagree when you talk about newing up a child, because at action
event of Exit button, a dispose() is called, removing all resources in
use by that Composite. I tested and I really need to do as it's done.
Correct me if I'm dealing with wrong concepts, please.

Well, I have another question, in a new topic... it will be more clean !

Thank you.
Re: Some classes created with VE don't show all components [message #118059 is a reply to message #118034] Wed, 15 February 2006 23:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Your current example created a NEW Key every time the Key menu item was
selected. It did not dispose of the previous one. So if you clicked the
menu item twice, there will be two Key composites created. They would
occupy the exact same location so you wouldn't notice it visually but
they would both be there.

--
Thanks,
Rich Kulp
Re: Some classes created with VE don't show all components [message #118070 is a reply to message #118059] Thu, 16 February 2006 11:46 Go to previous message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

Rich Kulp escreveu:
> Your current example created a NEW Key every time the Key menu item was
> selected. It did not dispose of the previous one. So if you clicked the
> menu item twice, there will be two Key composites created. They would
> occupy the exact same location so you wouldn't notice it visually but
> they would both be there.
>

Sure !

I forgot this little detail... :-)

Thanks !
Re: Some classes created with VE don't show all components [message #612116 is a reply to message #117933] Wed, 15 February 2006 15:51 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Are you saying that it fails in the VE, or it fails when you run it as
an application?

Alexandre Boaventura wrote:
> We've faced a problem sometimes in projects, that we create some classes
> with visual editor, but some appear ok on screen and another appear with
> components invisible.
>
> Attached is an example project that shows this problem. We have three
> classes. One is the main menu (MyMenu) , and the other two classes are
> called by the menu items.
>
> The TipoConta class is called and is shown ok, but Key class is called
> but only Composite and ToolBar are visible.
>
> This project was executed in three different desktops that have exactly
> the same configuration of eclipse:
>
> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
> running on Windows XP Professional.
>
>
> Thanks.

--
Thanks,
Rich Kulp
Re: Some classes created with VE don't show all components [message #612118 is a reply to message #117986] Wed, 15 February 2006 17:27 Go to previous message
Alexandre Boaventura is currently offline Alexandre BoaventuraFriend
Messages: 31
Registered: July 2009
Member
Rich Kulp escreveu:
> Are you saying that it fails in the VE, or it fails when you run it as
> an application?
>
> Alexandre Boaventura wrote:
>> We've faced a problem sometimes in projects, that we create some
>> classes with visual editor, but some appear ok on screen and another
>> appear with components invisible.
>>
>> Attached is an example project that shows this problem. We have three
>> classes. One is the main menu (MyMenu) , and the other two classes are
>> called by the menu items.
>>
>> The TipoConta class is called and is shown ok, but Key class is called
>> but only Composite and ToolBar are visible.
>>
>> This project was executed in three different desktops that have
>> exactly the same configuration of eclipse:
>>
>> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
>> running on Windows XP Professional.
>>
>>
>> Thanks.
>

Rich,

It fails when it runs as an application. In VE it appears normally.
Re: Some classes created with VE don't show all components [message #612119 is a reply to message #117933] Wed, 15 February 2006 16:41 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem was that in Key the key.setSize() was done before adding of
the children, while in TipoConta the setSize() was after the children.

Because of the way you are creating these the setSize is the only thing
that causes a layout to occur. Because of this when the layout from the
setsize within key has no children yet, it doesn't do anything. Then the
children are created, but they have zero size and position.

There are other problems with the way the code is written. First just
newing up a child in the selected event will cause problems because each
time it is selected, a new Key or TipoConta will be created. The old one
will still be there. They will just accumulate over top of each other.

Next since your Shell did not have a layout manager, it simply placed
each child at (0,0) and used the setSize within the initialize to set
its size. Null layout is simple, but is almost always wrong to use, such
as in this case. There is probably some other layout you want.

There is a bug in VE 1.1.0.1 that sometimes puts things after the
setSize(), but that has been fixed in the development drivers of VE 1.2.
But I suggest getting away from the null layout entirely in the shell,
in that case it wouldn't matter where or if there was a setSize.

Alexandre Boaventura wrote:
> We've faced a problem sometimes in projects, that we create some classes
> with visual editor, but some appear ok on screen and another appear with
> components invisible.
>
> Attached is an example project that shows this problem. We have three
> classes. One is the main menu (MyMenu) , and the other two classes are
> called by the menu items.
>
> The TipoConta class is called and is shown ok, but Key class is called
> but only Composite and ToolBar are visible.
>
> This project was executed in three different desktops that have exactly
> the same configuration of eclipse:
>
> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
> running on Windows XP Professional.
>
>
> Thanks.

--
Thanks,
Rich Kulp
Re: Some classes created with VE don't show all components [message #612120 is a reply to message #118022] Wed, 15 February 2006 21:20 Go to previous message
Alexandre Boaventura is currently offline Alexandre BoaventuraFriend
Messages: 31
Registered: July 2009
Member
Rich Kulp escreveu:
> The problem was that in Key the key.setSize() was done before adding of
> the children, while in TipoConta the setSize() was after the children.
>
> Because of the way you are creating these the setSize is the only thing
> that causes a layout to occur. Because of this when the layout from the
> setsize within key has no children yet, it doesn't do anything. Then the
> children are created, but they have zero size and position.
>
> There are other problems with the way the code is written. First just
> newing up a child in the selected event will cause problems because each
> time it is selected, a new Key or TipoConta will be created. The old one
> will still be there. They will just accumulate over top of each other.
>
> Next since your Shell did not have a layout manager, it simply placed
> each child at (0,0) and used the setSize within the initialize to set
> its size. Null layout is simple, but is almost always wrong to use, such
> as in this case. There is probably some other layout you want.
>
> There is a bug in VE 1.1.0.1 that sometimes puts things after the
> setSize(), but that has been fixed in the development drivers of VE 1.2.
> But I suggest getting away from the null layout entirely in the shell,
> in that case it wouldn't matter where or if there was a setSize.
>
> Alexandre Boaventura wrote:
>> We've faced a problem sometimes in projects, that we create some
>> classes with visual editor, but some appear ok on screen and another
>> appear with components invisible.
>>
>> Attached is an example project that shows this problem. We have three
>> classes. One is the main menu (MyMenu) , and the other two classes are
>> called by the menu items.
>>
>> The TipoConta class is called and is shown ok, but Key class is called
>> but only Composite and ToolBar are visible.
>>
>> This project was executed in three different desktops that have
>> exactly the same configuration of eclipse:
>>
>> Eclipse SDK 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1. ,
>> running on Windows XP Professional.
>>
>>
>> Thanks.
>

Rich,

I understood what you've explained to me.

I just disagree when you talk about newing up a child, because at action
event of Exit button, a dispose() is called, removing all resources in
use by that Composite. I tested and I really need to do as it's done.
Correct me if I'm dealing with wrong concepts, please.

Well, I have another question, in a new topic... it will be more clean !

Thank you.
Re: Some classes created with VE don't show all components [message #612122 is a reply to message #118034] Wed, 15 February 2006 23:05 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Your current example created a NEW Key every time the Key menu item was
selected. It did not dispose of the previous one. So if you clicked the
menu item twice, there will be two Key composites created. They would
occupy the exact same location so you wouldn't notice it visually but
they would both be there.

--
Thanks,
Rich Kulp
Re: Some classes created with VE don't show all components [message #612123 is a reply to message #118059] Thu, 16 February 2006 11:46 Go to previous message
Alexandre Boaventura is currently offline Alexandre BoaventuraFriend
Messages: 31
Registered: July 2009
Member
Rich Kulp escreveu:
> Your current example created a NEW Key every time the Key menu item was
> selected. It did not dispose of the previous one. So if you clicked the
> menu item twice, there will be two Key composites created. They would
> occupy the exact same location so you wouldn't notice it visually but
> they would both be there.
>

Sure !

I forgot this little detail... :-)

Thanks !
Previous Topic:How to Design an "Eclipse style" application
Next Topic:Parse Error and partial solution
Goto Forum:
  


Current Time: Thu Apr 25 08:28:59 GMT 2024

Powered by FUDForum. Page generated in 0.03734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top