Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE brings up Print dialog
VE brings up Print dialog [message #133305] Mon, 20 November 2006 13:27 Go to next message
Eclipse UserFriend
Originally posted by: joe.coughlin.itt.com

When I open a class using VE, I often get a print dialog (or sometimes another dialog) before the display will properly render. I have a method call within the class to start a print thread which opens a print dialog. Could this be doing it? Any ideas how to turn off this feature?
Re: VE brings up Print dialog [message #133446 is a reply to message #133305] Thu, 23 November 2006 16:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spider_a.freenet.am

Same thing I've here on my PC, I've tried to remove it lot of times, NO success :(
Re: VE brings up Print dialog [message #133533 is a reply to message #133446] Mon, 27 November 2006 11:08 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We are actually executing any (most) classes that you reference in your
code that is being edited. That is how we get WYSIWYG. If certain code
is being executed that you don't want to execute while in design mode,
then surround that code with:

if (!Beans.isDesignTime()) {
... your code ...
}

During VE design time, the isDesignTime() will return true. When your
code is running in normal runtime, the isDesignTime() will return false.

vid wrote:
> Same thing I've here on my PC, I've tried to remove it lot of times, NO success :(

--
Thanks,
Rich Kulp
Re: VE brings up Print dialog [message #614804 is a reply to message #133305] Thu, 23 November 2006 16:25 Go to previous message
Eclipse UserFriend
Originally posted by: spider_a.freenet.am

Same thing I've here on my PC, I've tried to remove it lot of times, NO success :(
Re: VE brings up Print dialog [message #614811 is a reply to message #133446] Mon, 27 November 2006 11:08 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We are actually executing any (most) classes that you reference in your
code that is being edited. That is how we get WYSIWYG. If certain code
is being executed that you don't want to execute while in design mode,
then surround that code with:

if (!Beans.isDesignTime()) {
... your code ...
}

During VE design time, the isDesignTime() will return true. When your
code is running in normal runtime, the isDesignTime() will return false.

vid wrote:
> Same thing I've here on my PC, I've tried to remove it lot of times, NO success :(

--
Thanks,
Rich Kulp
Previous Topic:how to prevent the generation of default constructor
Next Topic:Automatically generated UI code
Goto Forum:
  


Current Time: Fri Jun 20 22:48:16 EDT 2025

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

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

Back to the top