TwoWayEdit.RemoveChild Class

com.bea.ide.sourceeditor.compiler
TwoWayEdit.RemoveChild Class

public static class TwoWayEdit.RemoveChild

    extends TwoWayEdit

A two-way edit representing the removal of a child from a source element. This type should not be used directly. ISourceElement.requestRemoveChild should be used to perform these two-way edit operations.


Hierarchy
Object
  TwoWayEdit
    TwoWayEdit.RemoveChild
Enclosing class

TwoWayEdit

Nested Class Summary

 
Nested classes from  com.bea.ide.sourceeditor.compiler.TwoWayEdit
TwoWayEdit.AddChild, TwoWayEdit.ChangeProperty, TwoWayEdit.RemoveChild
 

Field Summary

   
Fields from  com.bea.ide.sourceeditor.compiler.TwoWayEdit
_data, _elemSource
 

Constructor Summary

TwoWayEdit.RemoveChild(ISourceElement elemParent, ISourceElement elemChild)

 

Method Summary

public boolean
doEdit(IStructureFeature feature)
 
Methods from  com.bea.ide.sourceeditor.compiler.TwoWayEdit
fire
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

TwoWayEdit.RemoveChild

public TwoWayEdit.RemoveChild(ISourceElement elemParent, 
                              ISourceElement elemChild)
 

Method Detail

doEdit(IStructureFeature) Method

public boolean doEdit(IStructureFeature feature)
throws InvalidElementException
Overrides
TwoWayEdit.doEdit(IStructureFeature)

Parameters

feature
The IStructureFeature for the document that owns the source elements to be affected by the two-way edit.

Exceptions

InvalidElementException