1 19 20 package org.netbeans.modules.xml.schema.ui.nodes; 21 22 import org.openide.nodes.Node; 23 24 29 public class ReadOnlyCookie implements Node.Cookie { 30 31 private boolean readonly; 32 33 36 public ReadOnlyCookie() { 37 this(false); 38 } 39 40 45 public ReadOnlyCookie(boolean value) { 46 super(); 47 readonly = value; 48 } 49 50 55 public boolean isReadOnly() { 56 return readonly; 57 } 58 59 64 public void setReadOnly(boolean value) { 65 readonly = value; 66 } 67 } 68 | Popular Tags |