Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.ide.navigator
Class DeleteActionHandler.NodeDeleteStrategy

java.lang.Object
  extended by oracle.ide.navigator.DeleteActionHandler.DeleteStrategy<Node>
      extended by oracle.ide.navigator.DeleteActionHandler.NodeDeleteStrategy
Enclosing class:
DeleteActionHandler<T extends Element>

public static class DeleteActionHandler.NodeDeleteStrategy
extends DeleteActionHandler.DeleteStrategy<Node>

A simple node delete implementation that simply deletes the file, pointed to by the node's URL on the file system.

See Also:
DeleteActionHandler.DeleteStrategy, DeleteActionHandler.getDefaultDeleteStrategy()

Constructor Summary
DeleteActionHandler.NodeDeleteStrategy()
           
 
Method Summary
 boolean delete(Node node)
          Deletes the node and all other files relevant to the node (output files, parent directories, etc.).
 
Methods inherited from class oracle.ide.navigator.DeleteActionHandler.DeleteStrategy
addAllToNondeleted, addToNondeleted, getNondeleted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteActionHandler.NodeDeleteStrategy

public DeleteActionHandler.NodeDeleteStrategy()
Method Detail

delete

public boolean delete(Node node)
Description copied from class: DeleteActionHandler.DeleteStrategy
Deletes the node and all other files relevant to the node (output files, parent directories, etc.). The return value must indicate if the node was successfully deleted. If false is returned this node URL will be added to the list of nondeleted DeleteActionHandler.DeleteStrategy.getNondeleted().

Specified by:
delete in class DeleteActionHandler.DeleteStrategy<Node>
Parameters:
node - the element to be deleted
Returns:
true if succeeded in deleting, false otherwise

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.