Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE staring at me like deer in headlights
VE staring at me like deer in headlights [message #128021] Sat, 08 July 2006 20:24 Go to next message
Eclipse UserFriend
Originally posted by: rjdxxx.xxx.xxx

Installed 3.2 eclispe_SDK
VE,EMF,GEF,RCP,blah blah blah all from 3.2 releases

Open up eclipse and open up a class in VE and it has a nice blank screen.

1. Does it not "parse" and show the layout as programmed?

Create "new" visual class using VE

1. Creates (for example) a new shell but the layout (VE) shows nothing.
2. I can add a SWT widget but it puts the source into the code - then goes
away visualy (code still has widget created).

I KNOW its me because I'm from MFC/Windows world and this java thing has
me all excited but getting this stuff to work is proving...well like
learning MFC all over again ;)

OH! Opening up a previously made class with SWT (I used the SWT controls
example code output and created a test class out of it-it uses SWT of
course) but VE opens up the window (again blank :( ) But only allows Swing
controls in the pallet - no SWT whatsoever... preplexing....

Thanks for your response.
Joe
Re: VE staring at me like deer in headlights [message #128033 is a reply to message #128021] Sat, 08 July 2006 22:28 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Joseph,

Sounds like you manually added the SWT jar to your project, rather than
using the SWT Library classpath container. If you create a new Java
project, then create a new Visual Class using Shell or Composite, your
project will be configured correctly.

Hope this helps,
- Jeff
Re: VE staring at me like deer in headlights [message #128045 is a reply to message #128033] Sun, 09 July 2006 00:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rjdxxx.xxx.xxx

OK to be specific - looked at the product config by "Help->Software
Updates->Manage Configuraion" and :
It has Eclipse Modeling Framework (EMF) 2.2.0.v200606271057
... (some others)
And Graphical Editing Framework SDK 3.2.0.v2060626
And Visual Editor 1.2.0.v20060530_RC2-0a2N7MMI7
under VE it says:
Java EMF Model 1.2.0.v20060530_RC2--ZasJsJJez

How did I creat this? I simply downloaded the zips and simply uncompressed
it all into c:\ which created the eclipse folder and all other folders.
Is this the wrong way to go about it? Should I use the update manager to
download each plug in from the sites?

Also? Why is Java EMF under Visual Editor - am I interpreting that wrong
and what it means is that its using the Eclipse Modeling Framework 2.2.0?

Thanks in advance - and Jeff - you answer a lot! Everybody probly owes
you a six pack of something :)

-Joe

P.S. Tried your suggestion and removed the "manual" JAR of swt and used:
[right click on project]->Build Path->Add Libraries and chose SWT - is
this not what you were talking about? Still didn't work - even opening up
the SWT examples with the editor doesn't seem to work - so I know its got
to be a configuration (idiot user) thing. Honestly there isn't all that
great of information on how set things up - I guess Eclipse/SWT is
relatively new in the life scheme of programing language/ides but it seems
much more poslished than what I WAS used to many years ago :)
Re: VE staring at me like deer in headlights [message #128057 is a reply to message #128045] Sun, 09 July 2006 07:38 Go to previous message
Eclipse UserFriend
Originally posted by: rjdxxx.xxx.xxx

never mind :( I fixed it myself - how? I have no idea thus - :(
So when I install 3.4.0 next time I'll write again :) Now off to the
races! I'm fighting with layouts - which I won't even ask :) I'm sure
everyone gets into this trouble - I can't be the only one.....

BTW no to inspire bad blood but the Netbeans 5.0 provides an ecellent
visual editor but produces HORRIBLE code that I couldn't even understand!
This.add().add().add()
.add().add().add()
.add(layout this and that).add(this that and the other)

Geez!

:)

-Joe
Re: VE staring at me like deer in headlights [message #613484 is a reply to message #128021] Sat, 08 July 2006 22:28 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Joseph,

Sounds like you manually added the SWT jar to your project, rather than
using the SWT Library classpath container. If you create a new Java
project, then create a new Visual Class using Shell or Composite, your
project will be configured correctly.

Hope this helps,
- Jeff
Re: VE staring at me like deer in headlights [message #613485 is a reply to message #128033] Sun, 09 July 2006 00:51 Go to previous message
Joseph is currently offline JosephFriend
Messages: 4
Registered: July 2009
Junior Member
OK to be specific - looked at the product config by "Help->Software
Updates->Manage Configuraion" and :
It has Eclipse Modeling Framework (EMF) 2.2.0.v200606271057
... (some others)
And Graphical Editing Framework SDK 3.2.0.v2060626
And Visual Editor 1.2.0.v20060530_RC2-0a2N7MMI7
under VE it says:
Java EMF Model 1.2.0.v20060530_RC2--ZasJsJJez

How did I creat this? I simply downloaded the zips and simply uncompressed
it all into c:\ which created the eclipse folder and all other folders.
Is this the wrong way to go about it? Should I use the update manager to
download each plug in from the sites?

Also? Why is Java EMF under Visual Editor - am I interpreting that wrong
and what it means is that its using the Eclipse Modeling Framework 2.2.0?

Thanks in advance - and Jeff - you answer a lot! Everybody probly owes
you a six pack of something :)

-Joe

P.S. Tried your suggestion and removed the "manual" JAR of swt and used:
[right click on project]->Build Path->Add Libraries and chose SWT - is
this not what you were talking about? Still didn't work - even opening up
the SWT examples with the editor doesn't seem to work - so I know its got
to be a configuration (idiot user) thing. Honestly there isn't all that
great of information on how set things up - I guess Eclipse/SWT is
relatively new in the life scheme of programing language/ides but it seems
much more poslished than what I WAS used to many years ago :)
Re: VE staring at me like deer in headlights [message #613486 is a reply to message #128045] Sun, 09 July 2006 07:38 Go to previous message
Joseph is currently offline JosephFriend
Messages: 4
Registered: July 2009
Junior Member
never mind :( I fixed it myself - how? I have no idea thus - :(
So when I install 3.4.0 next time I'll write again :) Now off to the
races! I'm fighting with layouts - which I won't even ask :) I'm sure
everyone gets into this trouble - I can't be the only one.....

BTW no to inspire bad blood but the Netbeans 5.0 provides an ecellent
visual editor but produces HORRIBLE code that I couldn't even understand!
This.add().add().add()
.add().add().add()
.add(layout this and that).add(this that and the other)

Geez!

:)

-Joe
Previous Topic:VE staring at me like deer in headlights
Next Topic:VE problem after eclipse updates
Goto Forum:
  


Current Time: Fri Apr 26 04:58:15 GMT 2024

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

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

Back to the top