Lookups.forPath(java.lang.String) instead.@Deprecated public class FolderLookup extends FolderInstance
Any instances which are in fact instances of Lookup
will be proxied to, permitting one file to generate many instances
in the lookup system easily.
folder| Constructor | Description |
|---|---|
FolderLookup(DataObject.Container df) |
Deprecated.
Constructs the FolderLookup for given container.
|
FolderLookup(DataObject.Container df,
java.lang.String prefix) |
Deprecated.
Constructs the FolderLookup for given container.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected org.openide.cookies.InstanceCookie |
acceptContainer(DataObject.Container df) |
Deprecated.
Container is recognized as underlying
FolderLookup which passes
its items to parent FolderLookup. |
protected org.openide.cookies.InstanceCookie |
acceptFolder(DataFolder df) |
Deprecated.
Folder is recognized as underlying
FolderLookup which passes
its items to parent FolderLookup. |
protected java.lang.Object |
createInstance(org.openide.cookies.InstanceCookie[] cookies) |
Deprecated.
Updates the content of the lookup.
|
org.openide.util.Lookup |
getLookup() |
Deprecated.
Getter for the lookup that should be used.
|
java.lang.Class<?> |
instanceClass() |
Deprecated.
The correct class that this folder recognizes.
|
protected java.lang.Object |
instanceForCookie(DataObject dobj,
org.openide.cookies.InstanceCookie cookie) |
Deprecated.
Overrides superclass method.
|
protected org.openide.util.Task |
postCreationTask(java.lang.Runnable run) |
Deprecated.
Starts the creation of the object in the Folder recognizer thread.
|
acceptCookie, acceptDataObject, instanceCreate, instanceFinished, instanceName, recreate, run, toString, waitFinishedpublic FolderLookup(DataObject.Container df)
df - container (or folder) to work onpublic FolderLookup(DataObject.Container df, java.lang.String prefix)
df - container (or folder) to work onprefix - the prefix to usepublic final java.lang.Class<?> instanceClass()
instanceClass in class FolderInstancepublic final org.openide.util.Lookup getLookup()
Serializable since 3.27.
protected final java.lang.Object createInstance(org.openide.cookies.InstanceCookie[] cookies)
throws java.io.IOException,
java.lang.ClassNotFoundException
createInstance in class FolderInstancecookies - updated array of instance cookies for the folderjava.io.IOException - an I/O error occuredjava.lang.ClassNotFoundException - a class has not been foundprotected java.lang.Object instanceForCookie(DataObject dobj, org.openide.cookies.InstanceCookie cookie) throws java.io.IOException, java.lang.ClassNotFoundException
DataObject&InstanceCookie 'pair'.
If the instance is of FolderLookup.Lkp class it is created otherwise
new Lkp.ICItem created and returned.instanceForCookie in class FolderInstancedobj - the data object that is the source of the cookiecookie - the instance cookie to read the instance fromjava.io.IOException - when there I/O errorjava.lang.ClassNotFoundException - if the class cannot be foundprotected org.openide.cookies.InstanceCookie acceptFolder(DataFolder df)
FolderLookup which passes
its items to parent FolderLookup.acceptFolder in class FolderInstancedf - the folder foundprotected org.openide.cookies.InstanceCookie acceptContainer(DataObject.Container df)
FolderLookup which passes
its items to parent FolderLookup.acceptContainer in class FolderInstancedf - the container foundprotected final org.openide.util.Task postCreationTask(java.lang.Runnable run)
postCreationTask in class FolderInstancerun - runable to startnull, because the runnable is started immediatellyBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.