Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » SWT components Dont appear in VE pallette
SWT components Dont appear in VE pallette [message #131493] Wed, 27 September 2006 12:41 Go to next message
Eclipse UserFriend
Originally posted by: hkjonus.yahoo.com

Ive downloaded the SWT package from the eclipse website. Unfortunatley there
are NO installation instructions, and when i try to use Help>Software
Updates, it tells me there is nothing in the folder that can be installed.
Some how (Import I think) I did manage to get the components to show up in
the Naviagtor under Junit.junit.org.eclipse.swt, however I dont think they
are truley installed as I cannot see them in the VE palette. Someone
please!!!
Re: SWT components Dont appear in VE pallette [message #131509 is a reply to message #131493] Wed, 27 September 2006 13:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

You don't need to separately install SWT to develop SWT classes in the
VE. The most straightforward to way to use SWT in VE is to create a new
Java project, then create a new Visual Class extending one of the SWT
classes (Shell, Composite, etc). By doing this, your project will be
configured to have the SWT library accessible, and the SWT items will
show up in the VE palette.

Hope this helps,
- Jeff

hkjonus wrote:
> Ive downloaded the SWT package from the eclipse website. Unfortunatley there
> are NO installation instructions, and when i try to use Help>Software
> Updates, it tells me there is nothing in the folder that can be installed.
> Some how (Import I think) I did manage to get the components to show up in
> the Naviagtor under Junit.junit.org.eclipse.swt, however I dont think they
> are truley installed as I cannot see them in the VE palette. Someone
> please!!!
>
>
Re: SWT components Dont appear in VE pallette [message #131550 is a reply to message #131509] Wed, 27 September 2006 19:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hkjonus.yahoo.com

trying to do what you sugested. a little confused though. i tried to enter

"extends org.eclipse.swt.shell" in the class definition.

cant seem to find that class and everything i type is red underlined.

"Jeff Myers" <jefmyers@us.ibm.com> wrote in message
news:efduic$5fn$1@utils.eclipse.org...
> You don't need to separately install SWT to develop SWT classes in the VE.
> The most straightforward to way to use SWT in VE is to create a new Java
> project, then create a new Visual Class extending one of the SWT classes
> (Shell, Composite, etc). By doing this, your project will be configured
> to have the SWT library accessible, and the SWT items will show up in the
> VE palette.
>
> Hope this helps,
> - Jeff
>
> hkjonus wrote:
>> Ive downloaded the SWT package from the eclipse website. Unfortunatley
>> there are NO installation instructions, and when i try to use
>> Help>Software Updates, it tells me there is nothing in the folder that
>> can be installed. Some how (Import I think) I did manage to get the
>> components to show up in the Naviagtor under Junit.junit.org.eclipse.swt,
>> however I dont think they are truley installed as I cannot see them in
>> the VE palette. Someone please!!!
Re: SWT components Dont appear in VE pallette [message #131561 is a reply to message #131550] Wed, 27 September 2006 19:45 Go to previous message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

Go to New->Visual Class. In the Style tree on the left, expand SWT and
select Shell. Name the class and press Finish. The VE will open with a
class containing the SWT shell. If you want the class to be runnable,
check the create main stub check box in the new Visual Class wizard.

- Jeff

hkjonus wrote:
> trying to do what you sugested. a little confused though. i tried to enter
>
> "extends org.eclipse.swt.shell" in the class definition.
>
> cant seem to find that class and everything i type is red underlined.
>
> "Jeff Myers" <jefmyers@us.ibm.com> wrote in message
> news:efduic$5fn$1@utils.eclipse.org...
>> You don't need to separately install SWT to develop SWT classes in the VE.
>> The most straightforward to way to use SWT in VE is to create a new Java
>> project, then create a new Visual Class extending one of the SWT classes
>> (Shell, Composite, etc). By doing this, your project will be configured
>> to have the SWT library accessible, and the SWT items will show up in the
>> VE palette.
>>
>> Hope this helps,
>> - Jeff
>>
>> hkjonus wrote:
>>> Ive downloaded the SWT package from the eclipse website. Unfortunatley
>>> there are NO installation instructions, and when i try to use
>>> Help>Software Updates, it tells me there is nothing in the folder that
>>> can be installed. Some how (Import I think) I did manage to get the
>>> components to show up in the Naviagtor under Junit.junit.org.eclipse.swt,
>>> however I dont think they are truley installed as I cannot see them in
>>> the VE palette. Someone please!!!
>
>
Re: SWT components Dont appear in VE pallette [message #614664 is a reply to message #131493] Wed, 27 September 2006 13:33 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
You don't need to separately install SWT to develop SWT classes in the
VE. The most straightforward to way to use SWT in VE is to create a new
Java project, then create a new Visual Class extending one of the SWT
classes (Shell, Composite, etc). By doing this, your project will be
configured to have the SWT library accessible, and the SWT items will
show up in the VE palette.

Hope this helps,
- Jeff

hkjonus wrote:
> Ive downloaded the SWT package from the eclipse website. Unfortunatley there
> are NO installation instructions, and when i try to use Help>Software
> Updates, it tells me there is nothing in the folder that can be installed.
> Some how (Import I think) I did manage to get the components to show up in
> the Naviagtor under Junit.junit.org.eclipse.swt, however I dont think they
> are truley installed as I cannot see them in the VE palette. Someone
> please!!!
>
>
Re: SWT components Dont appear in VE pallette [message #614667 is a reply to message #131509] Wed, 27 September 2006 19:21 Go to previous message
Eclipse UserFriend
Originally posted by: hkjonus.yahoo.com

trying to do what you sugested. a little confused though. i tried to enter

"extends org.eclipse.swt.shell" in the class definition.

cant seem to find that class and everything i type is red underlined.

"Jeff Myers" <jefmyers@us.ibm.com> wrote in message
news:efduic$5fn$1@utils.eclipse.org...
> You don't need to separately install SWT to develop SWT classes in the VE.
> The most straightforward to way to use SWT in VE is to create a new Java
> project, then create a new Visual Class extending one of the SWT classes
> (Shell, Composite, etc). By doing this, your project will be configured
> to have the SWT library accessible, and the SWT items will show up in the
> VE palette.
>
> Hope this helps,
> - Jeff
>
> hkjonus wrote:
>> Ive downloaded the SWT package from the eclipse website. Unfortunatley
>> there are NO installation instructions, and when i try to use
>> Help>Software Updates, it tells me there is nothing in the folder that
>> can be installed. Some how (Import I think) I did manage to get the
>> components to show up in the Naviagtor under Junit.junit.org.eclipse.swt,
>> however I dont think they are truley installed as I cannot see them in
>> the VE palette. Someone please!!!
Re: SWT components Dont appear in VE pallette [message #614668 is a reply to message #131550] Wed, 27 September 2006 19:45 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Go to New->Visual Class. In the Style tree on the left, expand SWT and
select Shell. Name the class and press Finish. The VE will open with a
class containing the SWT shell. If you want the class to be runnable,
check the create main stub check box in the new Visual Class wizard.

- Jeff

hkjonus wrote:
> trying to do what you sugested. a little confused though. i tried to enter
>
> "extends org.eclipse.swt.shell" in the class definition.
>
> cant seem to find that class and everything i type is red underlined.
>
> "Jeff Myers" <jefmyers@us.ibm.com> wrote in message
> news:efduic$5fn$1@utils.eclipse.org...
>> You don't need to separately install SWT to develop SWT classes in the VE.
>> The most straightforward to way to use SWT in VE is to create a new Java
>> project, then create a new Visual Class extending one of the SWT classes
>> (Shell, Composite, etc). By doing this, your project will be configured
>> to have the SWT library accessible, and the SWT items will show up in the
>> VE palette.
>>
>> Hope this helps,
>> - Jeff
>>
>> hkjonus wrote:
>>> Ive downloaded the SWT package from the eclipse website. Unfortunatley
>>> there are NO installation instructions, and when i try to use
>>> Help>Software Updates, it tells me there is nothing in the folder that
>>> can be installed. Some how (Import I think) I did manage to get the
>>> components to show up in the Naviagtor under Junit.junit.org.eclipse.swt,
>>> however I dont think they are truley installed as I cannot see them in
>>> the VE palette. Someone please!!!
>
>
Previous Topic:ve debugging
Next Topic:ve debugging
Goto Forum:
  


Current Time: Mon Sep 23 17:16:47 GMT 2024

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

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

Back to the top