Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE doesn't display components properly
VE doesn't display components properly [message #123365] Wed, 19 April 2006 06:39 Go to next message
Eclipse UserFriend
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 #123416 is a reply to message #123365] Wed, 19 April 2006 11:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Is the Java JDK a 1.4.2 or later vm? There are problems that sound like
yours if you use a 1.4.0 or 1.4.1 vm.

Is there a .log file with errors in it?

--
Thanks,
Rich Kulp
Re: VE doesn't display components properly [message #123427 is a reply to message #123416] Wed, 19 April 2006 11:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepehn.gmail.com

"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e25l1c$dfh$5@utils.eclipse.org...
> Is the Java JDK a 1.4.2 or later vm? There are problems that sound like
> yours if you use a 1.4.0 or 1.4.1 vm.
>
> Is there a .log file with errors in it?

I can't see any log files relating to VE problems.

I'm using JDK 1.4.2 and JRE 1.5.0.
Re: VE doesn't display components properly [message #123459 is a reply to message #123427] Wed, 19 April 2006 15:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

When you say doesn't display correctly, what does that mean?

--
Thanks,
Rich Kulp
Re: VE doesn't display components properly [message #123473 is a reply to message #123459] Wed, 19 April 2006 19:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepehn.gmail.com

"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 #123575 is a reply to message #123473] Thu, 20 April 2006 12:33 Go to previous messageGo to next message
Eclipse UserFriend
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 #123612 is a reply to message #123575] Thu, 20 April 2006 15:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepehn.gmail.com

"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e28d3u$k1e$2@utils.eclipse.org...
> Are they still within the shell while in the VE? Or are they outside the
> shell but on the white freeform surface?

OK they *were* inside the shell, but now when I run it they are on the white
surface... in fact there is no shell any more apart from an icon
representing the shell on the white surface. Weird.
Re: VE doesn't display components properly [message #123625 is a reply to message #123575] Thu, 20 April 2006 15:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepehn.gmail.com

"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e28d3u$k1e$2@utils.eclipse.org...
> Are they still within the shell while in the VE? Or are they outside the
> shell but on the white freeform surface?

I can provide a screenshot if necessary, thanks for your time Rich.
Re: VE doesn't display components properly [message #123648 is a reply to message #123625] Thu, 20 April 2006 17:17 Go to previous message
Eclipse UserFriend
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 #612693 is a reply to message #123365] Wed, 19 April 2006 11:29 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Is the Java JDK a 1.4.2 or later vm? There are problems that sound like
yours if you use a 1.4.0 or 1.4.1 vm.

Is there a .log file with errors in it?

--
Thanks,
Rich Kulp
Re: VE doesn't display components properly [message #612697 is a reply to message #123416] Wed, 19 April 2006 11:44 Go to previous message
Eclipse UserFriend
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e25l1c$dfh$5@utils.eclipse.org...
> Is the Java JDK a 1.4.2 or later vm? There are problems that sound like
> yours if you use a 1.4.0 or 1.4.1 vm.
>
> Is there a .log file with errors in it?

I can't see any log files relating to VE problems.

I'm using JDK 1.4.2 and JRE 1.5.0.
Re: VE doesn't display components properly [message #612703 is a reply to message #123427] Wed, 19 April 2006 15:24 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

When you say doesn't display correctly, what does that mean?

--
Thanks,
Rich Kulp
Re: VE doesn't display components properly [message #612705 is a reply to message #123459] Wed, 19 April 2006 19:26 Go to previous message
Eclipse UserFriend
"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 Go to previous message
Eclipse UserFriend
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 #612726 is a reply to message #123575] Thu, 20 April 2006 15:37 Go to previous message
Eclipse UserFriend
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e28d3u$k1e$2@utils.eclipse.org...
> Are they still within the shell while in the VE? Or are they outside the
> shell but on the white freeform surface?

OK they *were* inside the shell, but now when I run it they are on the white
surface... in fact there is no shell any more apart from an icon
representing the shell on the white surface. Weird.
Re: VE doesn't display components properly [message #612727 is a reply to message #123575] Thu, 20 April 2006 15:37 Go to previous message
Eclipse UserFriend
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e28d3u$k1e$2@utils.eclipse.org...
> Are they still within the shell while in the VE? Or are they outside the
> shell but on the white freeform surface?

I can provide a screenshot if necessary, thanks for your time Rich.
Re: VE doesn't display components properly [message #612730 is a reply to message #123625] Thu, 20 April 2006 17:17 Go to previous message
Eclipse UserFriend
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
Previous Topic:Not able to Install
Next Topic:[OT] insert swing or swt widgets in gef editor
Goto Forum:
  


Current Time: Fri Jun 13 10:31:16 EDT 2025

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

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

Back to the top