public class OperationAdapter extends Object implements OperationListener
OperationListener
.Constructor and Description |
---|
OperationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
operationCopy(OperationEvent.Copy ev)
Object has been successfully copied.
|
void |
operationCreateFromTemplate(OperationEvent.Copy ev)
New instance of an object has been created.
|
void |
operationCreateShadow(OperationEvent.Copy ev)
A shadow of a data object has been created.
|
void |
operationDelete(OperationEvent ev)
Object has been successfully deleted.
|
void |
operationMove(OperationEvent.Move ev)
Object has been successfully moved.
|
void |
operationPostCreate(OperationEvent ev)
Object has been recognized by
DataLoaderPool.findDataObject(org.openide.filesystems.FileObject) . |
void |
operationRename(OperationEvent.Rename ev)
Object has been successfully renamed.
|
public void operationPostCreate(OperationEvent ev)
OperationListener
DataLoaderPool.findDataObject(org.openide.filesystems.FileObject)
.
This allows listeners
to attach additional cookies, etc.operationPostCreate
in interface OperationListener
ev
- event describing the actionpublic void operationCopy(OperationEvent.Copy ev)
OperationListener
operationCopy
in interface OperationListener
ev
- event describing the actionpublic void operationMove(OperationEvent.Move ev)
OperationListener
operationMove
in interface OperationListener
ev
- event describing the actionpublic void operationDelete(OperationEvent ev)
OperationListener
operationDelete
in interface OperationListener
ev
- event describing the actionpublic void operationRename(OperationEvent.Rename ev)
OperationListener
operationRename
in interface OperationListener
ev
- event describing the actionpublic void operationCreateShadow(OperationEvent.Copy ev)
OperationListener
operationCreateShadow
in interface OperationListener
ev
- event describing the actionpublic void operationCreateFromTemplate(OperationEvent.Copy ev)
OperationListener
operationCreateFromTemplate
in interface OperationListener
ev
- event describing the action