isDesignTime [message #287644] |
Tue, 05 July 2005 18:49 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 20:48 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 21:03 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 15:32 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02695 seconds