VE doesn't display components properly [message #123365] |
Wed, 19 April 2006 06:39  |
Eclipse User |
|
|
|
Originally posted by: stepehn.gmail.com
I have installed the newest release of Eclipse 3.2 RC1 along with
GEF-runtime 3.2 M6, EMF-runtime 2.2.0 M6 and Visual Editor runtime 1.2 M3.
This should be all the latest versions.
However when I try to open SWT shell applications in VE (that were created
in a slightly older version of VE) it doesn't display them properly. All the
existing widgets are visible in VE - they just aren't laid out properly. If
I run the actual program they display fine (therefore the code is fine).
I also tried to create a new SWTTest shell class to see if it works properly
with newly created classes. It doesn't - I can add widgets fine in VE, but
they don't show in the actual program.
I suspect it may be some sort of parser problem.
Any ideas on how to fix this?
|
|
|
|
|
|
|
|
|
|
Re: VE doesn't display components properly [message #123648 is a reply to message #123625] |
Thu, 20 April 2006 17:17  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
This tells me you don't have an SWT Library in the classpath. (I don't
mean you explicitly adding an swt.jar, I mean you explicitly adding an
SWT Library. They are two different things).
Or there is a cache problem. To make sure it is not a cache problem do:
1) Open a VE then close it and all other VE's.
2) Immediately do a Project->Clean All... and wait for the builder to
finish.
3) Open a VE. The cache should now be cleared.
--
Thanks,
Rich Kulp
|
|
|
|
|
|
Re: VE doesn't display components properly [message #612705 is a reply to message #123459] |
Wed, 19 April 2006 19:26  |
Eclipse User |
|
|
|
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e262p0$7d6$1@utils.eclipse.org...
> When you say doesn't display correctly, what does that mean?
All the existing widgets are visible in VE - they just aren't laid out
properly. For example I have a Shell which contains a bunch of Canvas
objects laid out horizontally across the application. This was created in a
separate *working* install of VE, and when I run the program it works fine.
However in this new install of VE the Canvas objects are shown as being
positioned vertically (top to bottom) with large gaps between them (in
editor mode). The Shell also has different dimensions.
|
|
|
Re: VE doesn't display components properly [message #612720 is a reply to message #123473] |
Thu, 20 April 2006 12:33  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Are they still within the shell while in the VE? Or are they outside the
shell but on the white freeform surface?
Stephen wrote:
> "Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
> news:e262p0$7d6$1@utils.eclipse.org...
>
>>When you say doesn't display correctly, what does that mean?
>
>
> All the existing widgets are visible in VE - they just aren't laid out
> properly. For example I have a Shell which contains a bunch of Canvas
> objects laid out horizontally across the application. This was created in a
> separate *working* install of VE, and when I run the program it works fine.
> However in this new install of VE the Canvas objects are shown as being
> positioned vertically (top to bottom) with large gaps between them (in
> editor mode). The Shell also has different dimensions.
>
>
--
Thanks,
Rich Kulp
|
|
|
|
|
Re: VE doesn't display components properly [message #612730 is a reply to message #123625] |
Thu, 20 April 2006 17:17  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
This tells me you don't have an SWT Library in the classpath. (I don't
mean you explicitly adding an swt.jar, I mean you explicitly adding an
SWT Library. They are two different things).
Or there is a cache problem. To make sure it is not a cache problem do:
1) Open a VE then close it and all other VE's.
2) Immediately do a Project->Clean All... and wait for the builder to
finish.
3) Open a VE. The cache should now be cleared.
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.07093 seconds