From: Mark G. <mg...@us...> - 2004-09-24 16:06:54
|
Update of /cvsroot/gmod/apollo/src/java In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8901/src/java Modified Files: Makefile Log Message: rafactored setting exon ends by dragging ends in ede. now uses AE.setExonTerminus - previously used beginRangeChange and endRangeChange - was sending out exon limits event before drag rather than after so wouldnt know what they actually changed to (actually the event was made but not fired) - now base editor panel records the ends of the exon before it drags and sends the old ends along after the drag to setExonTerminus. funny thing with base editor paenl dragging is that as drag occurs the exon model itself is being modified - and the redraw than draws the exon appropriately - thus the old exon values have to be recorded before the drag - i tried taking out the changing of the model during drag but the ede paint code relies on it - it doesnt seem able to change the view without changing the model - tightly coupled. also i broke out base editor panels inner class BaseMouseListener as an outer class - 300 lines seems too long for an inner class to me - BaseEditorPanel is large and unwieldy - the interface between 2 classes maybe could be better (didnt do anything there) but its not that important as BaseMouseListeners purpose in life is to serve BaseEditorPanel. Index: Makefile =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/Makefile,v retrieving revision 1.295 retrieving revision 1.296 diff -C2 -d -r1.295 -r1.296 *** Makefile 24 Sep 2004 00:38:21 -0000 1.295 --- Makefile 24 Sep 2004 16:06:44 -0000 1.296 *************** *** 302,305 **** --- 302,306 ---- classfiles/apollo/gui/detailviewers/exonviewer/BaseFineEditor.class \ classfiles/apollo/gui/detailviewers/exonviewer/BaseFineEditorRowHeader.class \ + classfiles/apollo/gui/detailviewers/exonviewer/BaseMouseListener.class \ classfiles/apollo/gui/detailviewers/exonviewer/SelectableDNARenderer.class \ classfiles/apollo/gui/detailviewers/exonviewer/TranslationViewer.class \ |