public abstract class CloneableEditorSupportRedirector extends Object
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 FileObject
s
represent the same physical file.
Instances should be registered to default lookup.
Constructor and Description |
---|
CloneableEditorSupportRedirector() |
Modifier and Type | Method and Description |
---|---|
protected abstract CloneableEditorSupport |
redirect(Lookup env)
Find a delegate for given
CloneableEditorSupport 's Lookup . |
protected abstract CloneableEditorSupport redirect(Lookup env)
CloneableEditorSupport
's Lookup
.
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