[Biojava-l] FramedFeature interface

Matthew Pocock mrp@sanger.ac.uk
Mon, 17 Sep 2001 12:32:12 +0100


Mark Schreiber wrote:

> Hi -
> 
> I agree with the comment that frame is sensitive to edits (and should be).
> I actually wonder if a sequence that has features added to it should be
> editable given that the edit might wreck some of the meaning in the
> features.
> 
> Could I propose that features could listen for edit events and decide if
> they should invalidate themselves if the edit is too major?
> 
> Mark


This is part of what the ChangeEvent system is for. Hook up a listener 
for edits from a feature to it's sequence during creation time and then 
your'e away.

M