EventListener
OperationAdapter
public interface OperationListener extends EventListener
DataLoaderPool
and will receive information about operations taken on all
DataObject
s.Modifier and Type | Method | 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.
|
void operationPostCreate(OperationEvent ev)
DataLoaderPool.findDataObject(org.openide.filesystems.FileObject)
.
This allows listeners
to attach additional cookies, etc.ev
- event describing the actionvoid operationCopy(OperationEvent.Copy ev)
ev
- event describing the actionvoid operationMove(OperationEvent.Move ev)
ev
- event describing the actionvoid operationDelete(OperationEvent ev)
ev
- event describing the actionvoid operationRename(OperationEvent.Rename ev)
ev
- event describing the actionvoid operationCreateShadow(OperationEvent.Copy ev)
ev
- event describing the actionvoid operationCreateFromTemplate(OperationEvent.Copy ev)
ev
- event describing the actionBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.