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 | Description |
---|---|
CloneableEditorSupportRedirector() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract CloneableEditorSupport |
redirect(org.openide.util.Lookup env) |
Find a delegate for given
CloneableEditorSupport 's Lookup . |
protected abstract CloneableEditorSupport redirect(org.openide.util.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 CloneableEditorSupportBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.