ExplorerUtils.actionCopy(org.openide.explorer.ExplorerManager)
, etc, see ExplorerUtils
javadoc
for details@Deprecated public class ExplorerActions extends Object
ExplorerManager
. Then
this class will listen to changes of selected nodes or the explored context
of that manager, and update the state of cut/copy/paste/delete actions.
An instance of this class can only be attached to one manager at a time. Use
ExplorerActions.attach(org.openide.explorer.ExplorerManager)
and ExplorerActions.detach()
to make the connection.
Constructor and Description |
---|
ExplorerActions()
Deprecated.
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
attach(org.openide.explorer.ExplorerManager m)
Deprecated.
Attach to new manager.
|
void |
detach()
Deprecated.
Detach from manager currently being listened on.
|
boolean |
isConfirmDelete()
Deprecated.
Should deletions be confirmed?
|
void |
setConfirmDelete(boolean yes)
Deprecated.
Set whether to confirm deletions.
|
public void attach(org.openide.explorer.ExplorerManager m)
m
- the manager to listen onpublic void detach()
public final void setConfirmDelete(boolean yes)
yes
- true
to confirm deletionspublic final boolean isConfirmDelete()
true
if deletions must be confirmed