org.openide.loaders
Class InstanceSupport.Origin

java.lang.Object
  |
  +--org.openide.loaders.InstanceSupport
        |
        +--org.openide.loaders.InstanceSupport.Origin
All Implemented Interfaces:
InstanceCookie, InstanceCookie.Of, InstanceCookie.Origin, Node.Cookie
Enclosing class:
InstanceSupport

public static class InstanceSupport.Origin
extends InstanceSupport
implements InstanceCookie.Origin

Enhanced instance cookie support that also knows the file it has been created from and can be serialized back to. Note that InstanceSupport already does; this class only declares the interface.


Inner classes inherited from class org.openide.loaders.InstanceSupport
InstanceSupport.Instance, InstanceSupport.Origin
 
Inner classes inherited from class org.openide.cookies.InstanceCookie
InstanceCookie.Of, InstanceCookie.Origin
 
Constructor Summary
InstanceSupport.Origin(MultiDataObject.Entry entry)
          New support for a given entry.
 
Methods inherited from class org.openide.loaders.InstanceSupport
createClassLoader, findHelp, instanceClass, instanceCreate, instanceName, instanceOf, instanceOrigin, isApplet, isExecutable, isInterface, isJavaBean, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openide.cookies.InstanceCookie.Origin
instanceOrigin
 
Methods inherited from interface org.openide.cookies.InstanceCookie
instanceClass, instanceCreate, instanceName
 

Constructor Detail

InstanceSupport.Origin

public InstanceSupport.Origin(MultiDataObject.Entry entry)
New support for a given entry. The file is taken from the entry and is updated if the entry moves or renames itself.
Parameters:
entry - entry to create instance from


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.