1 19 20 package org.netbeans.modules.xml.wsdl.ui.view.treeeditor; 21 22 import java.lang.reflect.InvocationTargetException ; 23 import org.openide.nodes.PropertySupport; 24 25 30 public class ReadOnlyProperty extends PropertySupport.ReadOnly { 31 32 private Object value; 33 34 43 public ReadOnlyProperty(String name, Class type, String displayName, 44 String shortDescription, Object value) { 45 super(name, type, displayName, shortDescription); 46 this.value = value; 47 } 48 49 public Object getValue() throws IllegalAccessException , 50 InvocationTargetException { 51 return value; 52 } 53 } 54 | Popular Tags |