apollo.editor
Class AnnotationReplaceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by apollo.editor.FeatureChangeEvent
          extended by apollo.editor.AnnotationChangeEvent
              extended by apollo.editor.AnnotationReplaceEvent
All Implemented Interfaces:
java.io.Serializable

public class AnnotationReplaceEvent
extends AnnotationChangeEvent

This class is temporary in theory. FeatureEditorDialog does a limited undo via cloning and replacing. Once we have full undo I dont think we will need Replace event any longer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class apollo.editor.FeatureChangeEvent
ADD, DELETE, logger, MERGE, parentFeature, REDRAW, REPLACE, SPLIT, SYNC
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AnnotationReplaceEvent(java.lang.Object source, AnnotatedFeatureI replacedGene, AnnotatedFeatureI newGene)
           
 
Method Summary
 boolean isReplace()
           
 
Methods inherited from class apollo.editor.AnnotationChangeEvent
addTransaction, getAnnotTop, getChangedAnnot, getChangeTop, getChildChangeEvent, getDeletedFeature, getNumberOfChildren, getOldComment, getOldId, getOldString, getParentFeature, getSubpartRank, isCommentChange, isStringChange, isUndo, setDeletedFeature, setOldComment, setOldId, setOldString, setSubpartRank, toString
 
Methods inherited from class apollo.editor.FeatureChangeEvent
getAddedFeature, getChangedFeature, getOperation, getOperationAsString, getReplacedFeature, getSource, getSubpart, getUpdateDetails, hasSubpart, isAdd, isCompound, isDelete, isEndOfEditSession, isExonChange, isMerge, isMove, isRootAnnotChange, isSplit, isSync, isTranscriptChange, isUpdate, setChangeTop, setParentFeature, setReplacedFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationReplaceEvent

public AnnotationReplaceEvent(java.lang.Object source,
                              AnnotatedFeatureI replacedGene,
                              AnnotatedFeatureI newGene)
Method Detail

isReplace

public boolean isReplace()