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

E17493-01

oracle.ide.navigator
Class CompositeDeleteHandler<T extends Element>

java.lang.Object
  extended by oracle.ide.navigator.DeleteActionHandler<T>
      extended by oracle.ide.navigator.CompositeDeleteHandler<T>

public class CompositeDeleteHandler<T extends Element>
extends DeleteActionHandler<T>

Since:
11.1.2.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.ide.navigator.DeleteActionHandler
DeleteActionHandler.DeleteOption, DeleteActionHandler.DeleteStrategy<E extends Element>, DeleteActionHandler.DetailsTextConfig, DeleteActionHandler.DetailsTextConfigBuilder, DeleteActionHandler.LookupHelper, DeleteActionHandler.NodeDeleteStrategy, DeleteActionHandler.SelectedNodesProvider<ElementType extends Element>
 
Constructor Summary
CompositeDeleteHandler(java.util.Set<DeleteActionHandler> delegates, java.util.List<T> allNodes)
           
 
Method Summary
 DeleteActionHandler.DeleteOption clarifyToDeleteOrToRemoveFromParentContainer(java.awt.Component dialogOwner)
           
protected  java.awt.Component createDeleteDetailsComponent()
           
 void doit()
          Performs the actual delete operation.
protected  DeleteActionHandler.DetailsTextConfig getDetailsTextConfig()
           
 
Methods inherited from class oracle.ide.navigator.DeleteActionHandler
askToConfirm, clearStatus, createDeleteConfirmationDialog, deleteDetailsAvailable, getContext, getDefaultDeleteStrategy, getDeleteStrategy, getNodes, getSelectedDeleteOption, handleNonDeletedURLs, hasOptions, isSilent, preLaunchDialog, requireConfirm, runDialog, selectedOption, selectedOptionChanged, setContext, setDeleteStrategy, setSelectedOption, setSilentMode, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDeleteHandler

public CompositeDeleteHandler(java.util.Set<DeleteActionHandler> delegates,
                              java.util.List<T> allNodes)
Parameters:
delegates -
allNodes -
Method Detail

doit

public void doit()
Description copied from class: DeleteActionHandler
Performs the actual delete operation. The default implementation
  1. Closes all oracle.ide.model.Nodes returned from getNodes()
  2. Invokes getDeleteStrategy().delete(node) for every node returned from getNodes()
  3. For every node that failed to be deleted, add it to the non-deleted nodes of the current DeleteStrategy
  4. Invoke handleNonDeletedURLs() for all non-deleted nodes in the DeleteStrategy

Overrides:
doit in class DeleteActionHandler<T extends Element>

clarifyToDeleteOrToRemoveFromParentContainer

public DeleteActionHandler.DeleteOption clarifyToDeleteOrToRemoveFromParentContainer(java.awt.Component dialogOwner)
Overrides:
clarifyToDeleteOrToRemoveFromParentContainer in class DeleteActionHandler<T extends Element>
Parameters:
dialogOwner -
Returns:
DeleteOption

getDetailsTextConfig

protected DeleteActionHandler.DetailsTextConfig getDetailsTextConfig()
Specified by:
getDetailsTextConfig in class DeleteActionHandler<T extends Element>
Returns:
DetailsTextConfig

createDeleteDetailsComponent

protected java.awt.Component createDeleteDetailsComponent()
Specified by:
createDeleteDetailsComponent in class DeleteActionHandler<T extends Element>
Returns:
Component - details component pane

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

E17493-01

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