站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

OperationListener (NetBeans Loaders API) - NetBeans API Javadoc 5.0.0

 

org.openide.loaders
Interface OperationListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
OperationAdapter

public interface OperationListener
extends EventListener

Listener to operations on data objects. Can be attached to the DataLoaderPool and will receive information about operations taken on all DataObjects.


Method Summary
 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.
 

Method Detail

operationPostCreate

public void operationPostCreate(OperationEvent ev)
Object has been recognized by DataLoaderPool.findDataObject(org.openide.filesystems.FileObject). This allows listeners to attach additional cookies, etc.

Parameters:
ev - event describing the action

operationCopy

public void operationCopy(OperationEvent.Copy ev)
Object has been successfully copied.

Parameters:
ev - event describing the action

operationMove

public void operationMove(OperationEvent.Move ev)
Object has been successfully moved.

Parameters:
ev - event describing the action

operationDelete

public void operationDelete(OperationEvent ev)
Object has been successfully deleted.

Parameters:
ev - event describing the action

operationRename

public void operationRename(OperationEvent.Rename ev)
Object has been successfully renamed.

Parameters:
ev - event describing the action

operationCreateShadow

public void operationCreateShadow(OperationEvent.Copy ev)
A shadow of a data object has been created.

Parameters:
ev - event describing the action

operationCreateFromTemplate

public void operationCreateFromTemplate(OperationEvent.Copy ev)
New instance of an object has been created.

Parameters:
ev - event describing the action

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.