org.openide.cookies
Interface InstanceCookie.Origin
- All Superinterfaces:
- InstanceCookie, Node.Cookie
- All Known Implementing Classes:
- InstanceSupport.Origin
- Enclosing class:
- InstanceCookie
- public static interface InstanceCookie.Origin
- extends InstanceCookie
Enhanced instance cookie that also knows the file it
was created from and can be serialized back to.
This could be used, e.g., for Beans that could be saved back to their original location after
instantiation and customization.
instanceOrigin
public FileObject instanceOrigin()
- Returns the origin of the instance.
- Returns:
- the original file
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.