org.openide.explorer 6.12.2 1

org.openide.explorer
Interface ExtendedDelete


public interface ExtendedDelete

Register implementation of this interface into META-INF services lookup if you want to intercept Node deletion in explorer. If more instances are registered, they are invoked in order until one of them claim to have performed the action by returning true.

Since:
6.10

Method Summary
 boolean delete(Node[] nodes)
          handle delete of nodes
 

Method Detail

delete

boolean delete(Node[] nodes)
               throws IOException
handle delete of nodes

Parameters:
nodes - nodes to delete
Returns:
true if delete was handled false if delete was not handled
Throws:
IOException - to signal some problem while performing the delete. The exception also means that the instance tried to handle node deletion and no further processing on the nodes should be done.

org.openide.explorer 6.12.2 1

Built on February 29 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.