Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Checkbox in TableCells - Screenshots of Button fails
Checkbox in TableCells - Screenshots of Button fails [message #330237] Tue, 22 July 2008 15:52 Go to next message
Eclipse UserFriend
Originally posted by: sf.tragwerk-software.de

Hi,

I use screenshots of buttons as described in

http://tom-eclipse-dev.blogspot.com/2007/01/tableviewers-and -nativelooking.html

to get a table full of simulated Checkbox-Widgets.

Everything is working fine except when the screenshot is taken at a
point where the appplication has no active shell (e.g. bringing another
application in front during startup). Then the image is taken from the
active shell.

OS: Windows XP

Not sure wheter this is SWT related. Any hints ?

Thanks,
Sebastian
Re: Checkbox in TableCells - Screenshots of Button fails [message #330240 is a reply to message #330237] Tue, 22 July 2008 16:13 Go to previous messageGo to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
I've experienced exactly the same problem.

Sebastian Fuchs wrote:

> Hi,

> I use screenshots of buttons as described in

>
http://tom-eclipse-dev.blogspot.com/2007/01/tableviewers-and -nativelooking.html

> to get a table full of simulated Checkbox-Widgets.

> Everything is working fine except when the screenshot is taken at a
> point where the appplication has no active shell (e.g. bringing another
> application in front during startup). Then the image is taken from the
> active shell.

> OS: Windows XP

> Not sure wheter this is SWT related. Any hints ?
Re: Checkbox in TableCells - Screenshots of Button fails [message #330645 is a reply to message #330237] Thu, 07 August 2008 07:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sf.tragwerk-software.de

just pinging for reactivation of this thread.
any suggestions ?

Sebastian

Sebastian Fuchs schrieb:
> Hi,
>
> I use screenshots of buttons as described in
>
> http://tom-eclipse-dev.blogspot.com/2007/01/tableviewers-and -nativelooking.html
>
>
> to get a table full of simulated Checkbox-Widgets.
>
> Everything is working fine except when the screenshot is taken at a
> point where the appplication has no active shell (e.g. bringing another
> application in front during startup). Then the image is taken from the
> active shell.
>
> OS: Windows XP
>
> Not sure wheter this is SWT related. Any hints ?
>
> Thanks,
> Sebastian
Re: Checkbox in TableCells - Screenshots of Button fails [message #330646 is a reply to message #330645] Thu, 07 August 2008 07:24 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Maybe you should force the shell be get in to the foreground by creating
the shell with SWT.ON_TOP? This looks like an SWT problem maybe you
should create a snippet only holding the makeShot method and post it to
the SWT-newsgroup.

Tom

Sebastian Fuchs schrieb:
> just pinging for reactivation of this thread.
> any suggestions ?
>
> Sebastian
>
> Sebastian Fuchs schrieb:
>> Hi,
>>
>> I use screenshots of buttons as described in
>>
>> http://tom-eclipse-dev.blogspot.com/2007/01/tableviewers-and -nativelooking.html
>>
>>
>> to get a table full of simulated Checkbox-Widgets.
>>
>> Everything is working fine except when the screenshot is taken at a
>> point where the appplication has no active shell (e.g. bringing
>> another application in front during startup). Then the image is taken
>> from the active shell.
>>
>> OS: Windows XP
>>
>> Not sure wheter this is SWT related. Any hints ?
>>
>> Thanks,
>> Sebastian


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Checkbox in TableCells - Screenshots of Button fails [message #330649 is a reply to message #330646] Thu, 07 August 2008 09:36 Go to previous message
Eclipse UserFriend
Originally posted by: sf.tragwerk-software.de

Thanks Tom,

SWT.ON_TOP helped.

SWT newsgroup is already informed. Unfortunately there hasn't been any
response.

Sebastian

Tom Schindl schrieb:
> Maybe you should force the shell be get in to the foreground by creating
> the shell with SWT.ON_TOP? This looks like an SWT problem maybe you
> should create a snippet only holding the makeShot method and post it to
> the SWT-newsgroup.
>
> Tom
Previous Topic:Control visibility of an action declared in plugin.xml
Next Topic:inwanted shutdown.
Goto Forum:
  


Current Time: Sat Nov 09 05:17:36 GMT 2024

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

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

Back to the top