Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX
No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #126350] Fri, 16 June 2006 15:56 Go to next message
Marcelo R. Lopez, Jr. is currently offline Marcelo R. Lopez, Jr.Friend
Messages: 19
Registered: July 2009
Junior Member
Configuration:

Eclipse build eclipse-SDK-3.2RC6
VE 1.2RC2
EMF build 2.2.0RC6
GEF Build 3.2RC3

Plus the SWT_AWT Compatibility package from Apple.

The VE download page these are the builds that should work together.
Well....

If I open up a workspace of mine with an SWT applet project inside of
it. I can open up the code for it, and the editor tries to load ( still
takes a long time to load on OS X for some reason ). I can see the
palette displaying SWING and even AWT components, but NO SWT components.

Not to mention that I all I see on the design pane of the editor is a
single bean ( sometimes with some info popped up in a tooltip window,
sometimes not ).

Funny thing is if I ask Eclipse to just generate a simple shell of an
applet, VE can't even display THAT !

Am I missing something here ? I thought SWT support in VE was already up
and running under OS X.

Marcelo
Re: No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #126363 is a reply to message #126350] Fri, 16 June 2006 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

Does your project have the SWT Library added to it? (not the swt jar,
the Library container). Bring up the properties of the project, switch
to the Java Build Path, Libraries tab. Hit Add Library... and select
the SWT Library.

You can also try creating a new project, then creating a new Visual
Class with the SWT Shell or Composite style. I'm doubtful that an SWT
applet project will be supported in the VE - what's the base class for
your visual class?

Hope this helps,
- Jeff
Re: No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #126393 is a reply to message #126363] Sat, 17 June 2006 01:53 Go to previous messageGo to next message
Marcelo R. Lopez, Jr. is currently offline Marcelo R. Lopez, Jr.Friend
Messages: 19
Registered: July 2009
Junior Member
Jeff Myers wrote:
> Does your project have the SWT Library added to it? (not the swt jar,
> the Library container). Bring up the properties of the project, switch
> to the Java Build Path, Libraries tab. Hit Add Library... and select
> the SWT Library.
>
> You can also try creating a new project, then creating a new Visual
> Class with the SWT Shell or Composite style. I'm doubtful that an SWT
> applet project will be supported in the VE - what's the base class for
> your visual class?
>
> Hope this helps,
> - Jeff

Jeff,

Yes it's got the Library container added to the project. The applet was
simply one that was created through the wizard it's your run of the
mill, Shell derived application. Apparently, the issue was that it
wanted more than just the library container. Still apparently I can now
get it to come up. It's a start.

Making menu's isn't possible. I can add a menu bar, but can't drag menu
items to it.

That, and VE must be using a WHOLE LOT of memory, because it ran out of
vm space awfully quick ( the workbench had to restart itself ).
Re: No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #126405 is a reply to message #126393] Sat, 17 June 2006 22:30 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
You can't graphically edit menus, but you can drop menu items onto the
menu bar in the Java Beans view.

- Jeff
Re: No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #613360 is a reply to message #126350] Fri, 16 June 2006 16:17 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Does your project have the SWT Library added to it? (not the swt jar,
the Library container). Bring up the properties of the project, switch
to the Java Build Path, Libraries tab. Hit Add Library... and select
the SWT Library.

You can also try creating a new project, then creating a new Visual
Class with the SWT Shell or Composite style. I'm doubtful that an SWT
applet project will be supported in the VE - what's the base class for
your visual class?

Hope this helps,
- Jeff
Re: No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #613362 is a reply to message #126363] Sat, 17 June 2006 01:53 Go to previous message
Marcelo R. Lopez, Jr. is currently offline Marcelo R. Lopez, Jr.Friend
Messages: 19
Registered: July 2009
Junior Member
Jeff Myers wrote:
> Does your project have the SWT Library added to it? (not the swt jar,
> the Library container). Bring up the properties of the project, switch
> to the Java Build Path, Libraries tab. Hit Add Library... and select
> the SWT Library.
>
> You can also try creating a new project, then creating a new Visual
> Class with the SWT Shell or Composite style. I'm doubtful that an SWT
> applet project will be supported in the VE - what's the base class for
> your visual class?
>
> Hope this helps,
> - Jeff

Jeff,

Yes it's got the Library container added to the project. The applet was
simply one that was created through the wizard it's your run of the
mill, Shell derived application. Apparently, the issue was that it
wanted more than just the library container. Still apparently I can now
get it to come up. It's a start.

Making menu's isn't possible. I can add a menu bar, but can't drag menu
items to it.

That, and VE must be using a WHOLE LOT of memory, because it ran out of
vm space awfully quick ( the workbench had to restart itself ).
Re: No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX [message #613363 is a reply to message #126393] Sat, 17 June 2006 22:30 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
You can't graphically edit menus, but you can drop menu items onto the
menu bar in the Java Beans view.

- Jeff
Previous Topic:No SWT Controls ( only bean icon shown ) using VE1.2RC2 on OSX
Next Topic:Nebula question....anyone used this grid ?
Goto Forum:
  


Current Time: Thu Apr 25 15:33:05 GMT 2024

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

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

Back to the top