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
}
}
HelpStringCustomEditor.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:incubator-netbeans
作者:
评论列表
文章目录