Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » isDesignTime
isDesignTime [message #287644] Tue, 05 July 2005 14:49 Go to next message
Eclipse UserFriend
Originally posted by: support.softwarefx.com

Why does
java.beans.Beans.isDesignTime()
return false when I try to use Eclipse with my Plugin?
My plugin is designed to depend on it being true, so now I set it manually?
I am concerned that by turning setDesignTime(true) I will mess up somethine
else in eclipse.
Is this the correct way to continue?

--
Regards,
CJS
Software FX, Inc.
Re: isDesignTime [message #287653 is a reply to message #287644] Tue, 05 July 2005 16:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves-do-not-spam.inf.ufsc.br

Eclipse itself does not have a notion of design time nor has it any
special support for JavaBeans-based development. Maybe the Eclipse Visual
Editor does.

http://www.eclipse.org/newsportal/thread.php?group=eclipse.t ools.ve

Software FX Support wrote:

> Why does
> java.beans.Beans.isDesignTime()
> return false when I try to use Eclipse with my Plugin?
> My plugin is designed to depend on it being true, so now I set it manually?
> I am concerned that by turning setDesignTime(true) I will mess up somethine
> else in eclipse.
> Is this the correct way to continue?
Re: isDesignTime [message #287764 is a reply to message #287653] Wed, 06 July 2005 17:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: support.softwarefx.com

So I guess that means that setting
the java.beans.Beans.setDesignTime(true)
should not really affect anyone.
Will have to beta test for that.
-c

"Rafael Chaves" <chaves-do-not-spam@inf.ufsc.br> wrote in message
news:2c333b9cd7d6fae12b96dcbe8d636c13$1@www.eclipse.org...
> Eclipse itself does not have a notion of design time nor has it any
> special support for JavaBeans-based development. Maybe the Eclipse Visual
> Editor does.
>
> http://www.eclipse.org/newsportal/thread.php?group=eclipse.t ools.ve
>
> Software FX Support wrote:
>
>> Why does
>> java.beans.Beans.isDesignTime()
>> return false when I try to use Eclipse with my Plugin?
>> My plugin is designed to depend on it being true, so now I set it
>> manually?
>> I am concerned that by turning setDesignTime(true) I will mess up
>> somethine else in eclipse.
>> Is this the correct way to continue?
>
Re: isDesignTime [message #287861 is a reply to message #287764] Thu, 07 July 2005 11:32 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That could cause a problem. This setting is meant for code that can run
either in production mode or under a visual editor. Running inside
Eclipse is considered to be production mode and not considered design
time. If someone wrote some GUI class and used the isDesignTime so that
when it is being developed under the visual editor it does something
different than in production mode there would be a problem if you set
that. They may be running in Eclipse as their production mode and you
setting that would mess them up.

That is one reason the VE uses a separate vm for its visual editing. The
user code that uses isDesignTime will be set in that remote vm and that
will not interfere with any other live components in the Eclipse IDE.

--
Thanks,
Rich Kulp
Previous Topic:Editor tabs in multiple lines?
Next Topic:Eclipse 3.1 console
Goto Forum:
  


Current Time: Sun Jun 01 15:15:21 EDT 2025

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

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

Back to the top