Changing Preview L&F [message #101219] |
Wed, 03 August 2005 10:48  |
Eclipse User |
|
|
|
Is it possible to have the preview window use the System L&F rather than the
cross-platform L&F?
Joel
|
|
|
|
|
Re: Changing Preview L&F [message #101291 is a reply to message #101278] |
Wed, 03 August 2005 15:36   |
Eclipse User |
|
|
|
imho I dont think apply is live, as the remote VM is not restarted on
L&F change. It should definitely pick it up the next time a VE editor is
opened. Please open a defect against VE for this and also put exceptions
you are seeing so that we can fix this
(https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE).
If the NPE on setPaletteViewer() is a seperate problem, please open
another defect for that too so that we can fix it soon.
Regards,
Sri.
Joel Kamentz wrote:
> D'Oh! I even looked at that page.
>
> How soon are changes supposed to take effect? (Apply, for example,
> certainly isn't live.)
>
> Perhaps due to the NPE at
> org.eclipse.ve.internal.cde.core.EditDomain.setPaletteViewer (EditDomain.java:79)
> which I regularly get, I sometimes need to close and re-open the visual
> class twice before it picks up a new L&F setting.
>
> A little further testing.... It seems that if the VE is open when I make
> the preference change, then closing and re-opening the visual class picks up
> the change. If the VE is closed when I change the L&F, then I need to open
> the visual class, close it and then re-open it to get the new L&F setting.
>
> Joel
>
> "Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
> news:dcqmhq$pmf$2@news.eclipse.org...
>
>>In the preferences one can change the look and feel of Swing
>>(Window>Preferences>Java>Visual Editor>Swing Look and Feel).
>>Regards,
>>Sri.
>>
>>Joel Kamentz wrote:
>>
>>>Is it possible to have the preview window use the System L&F rather than
>>>the cross-platform L&F?
>>>
>>>Joel
>
>
>
|
|
|
Re: Changing Preview L&F [message #101311 is a reply to message #101291] |
Thu, 04 August 2005 15:35   |
Eclipse User |
|
|
|
A new day and now I can't reproduce the issue with VE needing to re-open
twice to pick up a L&F change.
The NPE is already bugged as 105205.
I've created 106088 as a RFE for being able to apply L&F changes without
needing to close and re-open VE windows.
Joel
"Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
news:dcr6cn$d5r$1@news.eclipse.org...
> imho I dont think apply is live, as the remote VM is not restarted on L&F
> change. It should definitely pick it up the next time a VE editor is
> opened. Please open a defect against VE for this and also put exceptions
> you are seeing so that we can fix this
> (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE).
>
> If the NPE on setPaletteViewer() is a seperate problem, please open
> another defect for that too so that we can fix it soon.
> Regards,
> Sri.
>
>
>
> Joel Kamentz wrote:
>> D'Oh! I even looked at that page.
>>
>> How soon are changes supposed to take effect? (Apply, for example,
>> certainly isn't live.)
>>
>> Perhaps due to the NPE at
>> org.eclipse.ve.internal.cde.core.EditDomain.setPaletteViewer (EditDomain.java:79)
>> which I regularly get, I sometimes need to close and re-open the visual
>> class twice before it picks up a new L&F setting.
>>
>> A little further testing.... It seems that if the VE is open when I make
>> the preference change, then closing and re-opening the visual class picks
>> up the change. If the VE is closed when I change the L&F, then I need to
>> open the visual class, close it and then re-open it to get the new L&F
>> setting.
>>
>> Joel
>>
>> "Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
>> news:dcqmhq$pmf$2@news.eclipse.org...
>>
>>>In the preferences one can change the look and feel of Swing
>>>(Window>Preferences>Java>Visual Editor>Swing Look and Feel).
>>>Regards,
>>>Sri.
>>>
>>>Joel Kamentz wrote:
>>>
>>>>Is it possible to have the preview window use the System L&F rather than
>>>>the cross-platform L&F?
>>>>
>>>>Joel
>>
>>
|
|
|
Re: Changing Preview L&F [message #101321 is a reply to message #101311] |
Thu, 04 August 2005 15:44  |
Eclipse User |
|
|
|
Originally posted by: jdstinto.us.ibm.com
I could be totally mistaken here but...
When we open a Visual Class we use an available remote VM and then
shortly after create a second remote VM for the next class that wants to
open. I believe we apply the properties to the next remote VM to open.
The same thing occurs for JFace color and font preferences in a plugin
project. If they are not applied before the next VM is started you will
have to open a class and close it then open it again to get the new
settings.
Just my guess from trial and error when working on the RCP Launcher.
Thanks,
Jon
|
|
|
Re: Changing Preview L&F [message #610138 is a reply to message #101219] |
Wed, 03 August 2005 11:06  |
Eclipse User |
|
|
|
In the preferences one can change the look and feel of Swing
(Window>Preferences>Java>Visual Editor>Swing Look and Feel).
Regards,
Sri.
Joel Kamentz wrote:
> Is it possible to have the preview window use the System L&F rather than the
> cross-platform L&F?
>
> Joel
>
>
|
|
|
Re: Changing Preview L&F [message #610139 is a reply to message #101264] |
Wed, 03 August 2005 12:54  |
Eclipse User |
|
|
|
D'Oh! I even looked at that page.
How soon are changes supposed to take effect? (Apply, for example,
certainly isn't live.)
Perhaps due to the NPE at
org.eclipse.ve.internal.cde.core.EditDomain.setPaletteViewer (EditDomain.java:79)
which I regularly get, I sometimes need to close and re-open the visual
class twice before it picks up a new L&F setting.
A little further testing.... It seems that if the VE is open when I make
the preference change, then closing and re-opening the visual class picks up
the change. If the VE is closed when I change the L&F, then I need to open
the visual class, close it and then re-open it to get the new L&F setting.
Joel
"Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
news:dcqmhq$pmf$2@news.eclipse.org...
> In the preferences one can change the look and feel of Swing
> (Window>Preferences>Java>Visual Editor>Swing Look and Feel).
> Regards,
> Sri.
>
> Joel Kamentz wrote:
>> Is it possible to have the preview window use the System L&F rather than
>> the cross-platform L&F?
>>
>> Joel
|
|
|
Re: Changing Preview L&F [message #610141 is a reply to message #101278] |
Wed, 03 August 2005 15:36  |
Eclipse User |
|
|
|
imho I dont think apply is live, as the remote VM is not restarted on
L&F change. It should definitely pick it up the next time a VE editor is
opened. Please open a defect against VE for this and also put exceptions
you are seeing so that we can fix this
(https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE).
If the NPE on setPaletteViewer() is a seperate problem, please open
another defect for that too so that we can fix it soon.
Regards,
Sri.
Joel Kamentz wrote:
> D'Oh! I even looked at that page.
>
> How soon are changes supposed to take effect? (Apply, for example,
> certainly isn't live.)
>
> Perhaps due to the NPE at
> org.eclipse.ve.internal.cde.core.EditDomain.setPaletteViewer (EditDomain.java:79)
> which I regularly get, I sometimes need to close and re-open the visual
> class twice before it picks up a new L&F setting.
>
> A little further testing.... It seems that if the VE is open when I make
> the preference change, then closing and re-opening the visual class picks up
> the change. If the VE is closed when I change the L&F, then I need to open
> the visual class, close it and then re-open it to get the new L&F setting.
>
> Joel
>
> "Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
> news:dcqmhq$pmf$2@news.eclipse.org...
>
>>In the preferences one can change the look and feel of Swing
>>(Window>Preferences>Java>Visual Editor>Swing Look and Feel).
>>Regards,
>>Sri.
>>
>>Joel Kamentz wrote:
>>
>>>Is it possible to have the preview window use the System L&F rather than
>>>the cross-platform L&F?
>>>
>>>Joel
>
>
>
|
|
|
Re: Changing Preview L&F [message #610144 is a reply to message #101291] |
Thu, 04 August 2005 15:35  |
Eclipse User |
|
|
|
A new day and now I can't reproduce the issue with VE needing to re-open
twice to pick up a L&F change.
The NPE is already bugged as 105205.
I've created 106088 as a RFE for being able to apply L&F changes without
needing to close and re-open VE windows.
Joel
"Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
news:dcr6cn$d5r$1@news.eclipse.org...
> imho I dont think apply is live, as the remote VM is not restarted on L&F
> change. It should definitely pick it up the next time a VE editor is
> opened. Please open a defect against VE for this and also put exceptions
> you are seeing so that we can fix this
> (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE).
>
> If the NPE on setPaletteViewer() is a seperate problem, please open
> another defect for that too so that we can fix it soon.
> Regards,
> Sri.
>
>
>
> Joel Kamentz wrote:
>> D'Oh! I even looked at that page.
>>
>> How soon are changes supposed to take effect? (Apply, for example,
>> certainly isn't live.)
>>
>> Perhaps due to the NPE at
>> org.eclipse.ve.internal.cde.core.EditDomain.setPaletteViewer (EditDomain.java:79)
>> which I regularly get, I sometimes need to close and re-open the visual
>> class twice before it picks up a new L&F setting.
>>
>> A little further testing.... It seems that if the VE is open when I make
>> the preference change, then closing and re-opening the visual class picks
>> up the change. If the VE is closed when I change the L&F, then I need to
>> open the visual class, close it and then re-open it to get the new L&F
>> setting.
>>
>> Joel
>>
>> "Sri Gunturi" <sgunturi@us.ibm.com> wrote in message
>> news:dcqmhq$pmf$2@news.eclipse.org...
>>
>>>In the preferences one can change the look and feel of Swing
>>>(Window>Preferences>Java>Visual Editor>Swing Look and Feel).
>>>Regards,
>>>Sri.
>>>
>>>Joel Kamentz wrote:
>>>
>>>>Is it possible to have the preview window use the System L&F rather than
>>>>the cross-platform L&F?
>>>>
>>>>Joel
>>
>>
|
|
|
Re: Changing Preview L&F [message #610146 is a reply to message #101311] |
Thu, 04 August 2005 15:44  |
Eclipse User |
|
|
|
I could be totally mistaken here but...
When we open a Visual Class we use an available remote VM and then
shortly after create a second remote VM for the next class that wants to
open. I believe we apply the properties to the next remote VM to open.
The same thing occurs for JFace color and font preferences in a plugin
project. If they are not applied before the next VM is started you will
have to open a class and close it then open it again to get the new
settings.
Just my guess from trial and error when working on the RCP Launcher.
Thanks,
Jon
|
|
|
Powered by
FUDForum. Page generated in 0.06689 seconds