public abstract class CloneableEditorSupportRedirector
- extends Object
Allows to find another
CloneableEditorSupport that all the
requests passed to given one should be redirected to. This is useful
for redirecting operation on
FileObject to another one in cases when two
represent the same physical file.
Instances should be registered to default lookup.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected abstract CloneableEditorSupport redirect(Lookup env)
- Find a delegate for given
The common code can be to extract for example a
FileObject from the lookup and use its location to find another
CloneableEditorSupport to delegate to.
env - the environment associated with current CloneableEditorSupport
- null or another CloneableEditorSupport to use as a replacement