SWT Version [message #455701] |
Thu, 19 May 2005 17:23 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
I can see that I can do SWT.getVersion() to get the version of SWT. The
problem is the numbers returned don't seem to coorespond with the
version of Eclipse. I need to know if the version is 3.0.x or if it is
version 3.1 or later because I need to be able to target both versions.
In my case if it is 3.1 or later I can use Composite.layout(Control[]
controls), but I need to do the old way for 3.0.x versions.
--
Thanks,
Rich Kulp
|
|
|
|
Re: SWT Version [message #455832 is a reply to message #455710] |
Thu, 19 May 2005 21:11 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Thanks for the info. I'll need to rely on the SWT.getVersion() because
this can also run standalone without Eclipse being up and running.
Veronika Irvine wrote:
> If it is 3.0.x, the value of SWT.getVersion() will be between 3000 and 3099.
> (There is no way to e
> If it is 3.1.x, the value of SWT.getVersion() will be between 3100 and 3199.
>
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.04703 seconds