|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openide.explorer.ExplorerActions
ExplorerUtils.actionCopy(org.openide.explorer.ExplorerManager), etc, see ExplorerUtils javadoc
for details
This class contains the default implementation of reactions to the standard
explorer actions. It can be attached to any 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
attach(org.openide.explorer.ExplorerManager) and detach() to make the connection.
| Constructor Summary | |
ExplorerActions()
Deprecated. Creates new instance. |
|
| Method Summary | |
void |
attach(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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExplorerActions()
| Method Detail |
public void attach(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
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||