Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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