HelpStringCustomEditor.java 文件源码

java
阅读 18 收藏 0 点赞 0 评论 0

项目:incubator-netbeans 作者:
public void attachEnv(PropertyEnv env) {
    this.env = env;

    FeatureDescriptor desc = env.getFeatureDescriptor();
    if (desc instanceof Node.Property){
        Node.Property prop = (Node.Property)desc;
        editable = prop.canWrite();
        //enh 29294 - support one-line editor & suppression of custom
        //editor
        instructions = (String) prop.getValue ("instructions"); //NOI18N
        oneline = Boolean.TRUE.equals (prop.getValue ("oneline")); //NOI18N
        customEd = !Boolean.TRUE.equals (prop.getValue 
            ("suppressCustomEditor")); //NOI18N
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号