Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #58066] |
Mon, 30 August 2004 14:06  |
Eclipse User |
|
|
|
Originally posted by: elvis_dowson.hotmail.com
Hi ,
I would like to know if there is some environment variable
required for activating support for SWT using VE1.0M2.
I am using the Editor plug-in class that is automatically generated from an
EMF model.
For the Editor project, when I go to the build path and click on 'Add
Library' and select SWT, it allows me to do so, but build path errors are
reported because some of the *.jar files are already included by the plug-in
dependencies object.
Now, the plug-in dependencies already show most of the required *.jar files
for SWT, except for the following :
- compatibility.jar
- jfacetext.jar
So, I proceed to remove the SWT library definition, manually add the two
missing jar files as External Jar Files, add a new Visual Class and select
SWT Application. When I click on the Visual Class, I do not get the SWT
Widgets on the VE palette.
The SWT widgets get displayed on a normal palette however, for a simple Java
project, with the SWT Library added to the build path, alone, and when using
a Visual Class.
So, I'm just having problems with a project that has a plug-in defined in
it. How do I resolve this issue ?
Best regards,
Elvis Dowson
|
|
|
|
|
Re: Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #58166 is a reply to message #58142] |
Mon, 30 August 2004 14:40   |
Eclipse User |
|
|
|
Originally posted by: elvis_dowson.hotmail.com
Hi,
The swt.jar file is already included anyway as part of the list of
standard jar files discoved using the plug-in dependencies extracted from
the plugin.xml file.
So, since the current project is already importing from org.eclipse.ui.ide ,
is probably the reason why it doesnt show the org.eclipse.ui plug-in again,
when I try to manually add it. Upon inspection in the plug-in dependencies,
ui.jar is already added. The same goes for swt.jar and jface.jar.
So, most of the required jar's exist except for the compatibility and
jfacetext.jar files.
What should I do ?
Elvis Dowson
"Elvis John Dowson" <elvis_dowson@hotmail.com> wrote in message
news:cgvr5u$2nm$1@eclipse.org...
> Hi,
> I launched the plugin.xml editor and tried adding the plug-ins you
> suggested, but they do not exist as an option in the window.
>
> What should I do ?
>
> Elvis Dowson
>
> "Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
> news:cgvqdm$1ea$1@eclipse.org...
> > If you are developing a plugin, then just add the "org.eclipse.ui" or
> > "org.eclipse.swt" plugin as a required plugin for your plugin.
> >
> > Do not use the java build path to add plugin jars when you are
> > developing a plugin. You should use the plugin.xml manifest editor
> > instead. That takes care of all plugin dependencies for you.
> >
> >
> > --
> > Thanks, Rich Kulp
> >
> >
>
>
|
|
|
|
|
|
Re: Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #58496 is a reply to message #58488] |
Tue, 31 August 2004 14:25  |
Eclipse User |
|
|
|
Originally posted by: elvis_dowson.hotmail.com
Hi ,
Yes, you are correct. In order to make it work, I had to directly
reference the org.eclipse.ui plugin. Then the SWT widgets appeared in the
panel.
Thanks !!
Elvis Dowson
"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:ch20mm$f63$1@eclipse.org...
> I'm willing to bet that you do not have org.eclipse.ui as a direct
> required plugin of your plugin. If it is a required plugin of some
> plugin that you require it may be hidden because the required plugin
> doesn't export the org.eclipse.ui plugin. If a plugin doesn't export a
> plugin, then plugins down the line can't see that plugin. So in that
> case the SWT palette doesn't show because the SWT isn't visible to your
> plugin.
>
> --
> Thanks, Rich Kulp
>
>
|
|
|
|
Re: Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #597965 is a reply to message #58094] |
Mon, 30 August 2004 14:20  |
Eclipse User |
|
|
|
Hi,
I launched the plugin.xml editor and tried adding the plug-ins you
suggested, but they do not exist as an option in the window.
What should I do ?
Elvis Dowson
"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:cgvqdm$1ea$1@eclipse.org...
> If you are developing a plugin, then just add the "org.eclipse.ui" or
> "org.eclipse.swt" plugin as a required plugin for your plugin.
>
> Do not use the java build path to add plugin jars when you are
> developing a plugin. You should use the plugin.xml manifest editor
> instead. That takes care of all plugin dependencies for you.
>
>
> --
> Thanks, Rich Kulp
>
>
|
|
|
Re: Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #597971 is a reply to message #58142] |
Mon, 30 August 2004 14:40  |
Eclipse User |
|
|
|
Hi,
The swt.jar file is already included anyway as part of the list of
standard jar files discoved using the plug-in dependencies extracted from
the plugin.xml file.
So, since the current project is already importing from org.eclipse.ui.ide ,
is probably the reason why it doesnt show the org.eclipse.ui plug-in again,
when I try to manually add it. Upon inspection in the plug-in dependencies,
ui.jar is already added. The same goes for swt.jar and jface.jar.
So, most of the required jar's exist except for the compatibility and
jfacetext.jar files.
What should I do ?
Elvis Dowson
"Elvis John Dowson" <elvis_dowson@hotmail.com> wrote in message
news:cgvr5u$2nm$1@eclipse.org...
> Hi,
> I launched the plugin.xml editor and tried adding the plug-ins you
> suggested, but they do not exist as an option in the window.
>
> What should I do ?
>
> Elvis Dowson
>
> "Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
> news:cgvqdm$1ea$1@eclipse.org...
> > If you are developing a plugin, then just add the "org.eclipse.ui" or
> > "org.eclipse.swt" plugin as a required plugin for your plugin.
> >
> > Do not use the java build path to add plugin jars when you are
> > developing a plugin. You should use the plugin.xml manifest editor
> > instead. That takes care of all plugin dependencies for you.
> >
> >
> > --
> > Thanks, Rich Kulp
> >
> >
>
>
|
|
|
|
|
Re: Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #598049 is a reply to message #58291] |
Tue, 31 August 2004 10:10  |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
I'm willing to bet that you do not have org.eclipse.ui as a direct
required plugin of your plugin. If it is a required plugin of some
plugin that you require it may be hidden because the required plugin
doesn't export the org.eclipse.ui plugin. If a plugin doesn't export a
plugin, then plugins down the line can't see that plugin. So in that
case the SWT palette doesn't show because the SWT isn't visible to your
plugin.
--
Thanks, Rich Kulp
|
|
|
Re: Is there some environment variable required to activate SWT support for VE1.0M2 ? [message #598065 is a reply to message #58488] |
Tue, 31 August 2004 14:25  |
Eclipse User |
|
|
|
Hi ,
Yes, you are correct. In order to make it work, I had to directly
reference the org.eclipse.ui plugin. Then the SWT widgets appeared in the
panel.
Thanks !!
Elvis Dowson
"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:ch20mm$f63$1@eclipse.org...
> I'm willing to bet that you do not have org.eclipse.ui as a direct
> required plugin of your plugin. If it is a required plugin of some
> plugin that you require it may be hidden because the required plugin
> doesn't export the org.eclipse.ui plugin. If a plugin doesn't export a
> plugin, then plugins down the line can't see that plugin. So in that
> case the SWT palette doesn't show because the SWT isn't visible to your
> plugin.
>
> --
> Thanks, Rich Kulp
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03891 seconds