gpt4 book ai didi

java - 在 Eclipse/WindowBuilder 中确定设计时间

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:16:01 25 4
gpt4 key购买 nike

我正在创建用于 WindowBuilder Pro 的控件。是否有可能在 Eclipse 中检测设计模式?

示例我想在我的控制下做什么:

if(designmode) {
loadDummyValues();
}else{
loadRealComplexRuntimeValues();
}

在 Netbeans 中,它是这样确定的:

java.beans.Beans.isDesignTime()

所以我希望 Eclipse 也有可能。

最佳答案

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.

试试这个链接 here

关于java - 在 Eclipse/WindowBuilder 中确定设计时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20351761/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com