From: Suzanna L. <su...@us...> - 2003-11-30 04:58:52
|
Update of /cvsroot/gmod/apollo/src/java/apollo/dataadapter/debug In directory sc8-pr-cvs1:/tmp/cvs-serv6686/apollo/dataadapter/debug Modified Files: DisplayTool.java Log Message: well, this is a big commit. waited a long time to proceed with it. 1. holder no longer exists as an inherent aspect of seqfeatures. this is all handled now within the gui drawables. each drawable has a couple attributes that determine when to draw the feature it is associated with. one is the draw-level. this indicates the depth of the feature hierarchy that the drawable can represent. e.g. a draw_level of 2 means it can draw a seqfeature and its direct parent and a draw_level of 1 means it can only represent the seqfeature itself. 2. drawables no longer implement the datamodel interfaces. they are truly just drawables/glyphs that can represent the model. 3. added 2 more analysis parsers for repeatmasker and trnascan 4. added some gui utilities to reduce duplicated code 5. changed the format of the tiers files to be tag : value. the code will still read the old format, but will automatically update it to the new format. hmmm, think that is it. still doing more testing, but so far so good Index: DisplayTool.java =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/apollo/dataadapter/debug/DisplayTool.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** DisplayTool.java 6 Nov 2003 14:57:01 -0000 1.13 --- DisplayTool.java 30 Nov 2003 04:58:19 -0000 1.14 *************** *** 6,9 **** --- 6,10 ---- import apollo.datamodel.*; + import apollo.gui.drawable.Drawable; import java.io.*; *************** *** 69,73 **** } ! System.err.println(indentString+"("+String.valueOf(indent)+"-set) "+getStringForSeqFeature(fs) + " (" + fs.isHolder()+")"); for(int i=0; i < fs.size(); i++){ --- 70,76 ---- } ! System.err.println(indentString + ! "("+String.valueOf(indent)+"-set) " + ! getStringForSeqFeature(fs)); for(int i=0; i < fs.size(); i++){ *************** *** 82,86 **** tempIndentString = indentString+" "; System.err.println(""); ! System.err.println(tempIndentString+"("+String.valueOf(tempIndent)+"-leaf) "+getStringForSeqFeature(sf) + " (" + sf.isHolder()+")"); System.err.println(""); } --- 85,91 ---- tempIndentString = indentString+" "; System.err.println(""); ! System.err.println(tempIndentString + ! "("+String.valueOf(tempIndent)+"-leaf) " + ! getStringForSeqFeature(sf)); System.err.println(""); } |