1 19 20 package org.openide.cookies; 21 22 import java.io.IOException ; 23 import org.openide.nodes.Node; 24 25 32 public interface InstanceCookie extends Node.Cookie { 33 34 40 public String instanceName(); 41 42 51 public Class <?> instanceClass() throws IOException , ClassNotFoundException ; 52 53 59 public Object instanceCreate() throws IOException , ClassNotFoundException ; 60 61 69 public interface Of extends InstanceCookie { 70 80 public boolean instanceOf(Class <?> type); 81 } 82 83 } 84 | Popular Tags |