From: <hi...@us...> - 2011-07-29 17:14:37
|
Revision: 8530 http://genoviz.svn.sourceforge.net/genoviz/?rev=8530&view=rev Author: hiralv Date: 2011-07-29 17:14:31 +0000 (Fri, 29 Jul 2011) Log Message: ----------- Adding getName to MapViewGlyphFactoryI Modified Paths: -------------- trunk/igb/src/com/affymetrix/igb/glyph/CoverageSummarizerFactory.java trunk/igb/src/com/affymetrix/igb/glyph/GenericAnnotGlyphFactory.java trunk/igb/src/com/affymetrix/igb/glyph/GenericGraphGlyphFactory.java trunk/igb/src/com/affymetrix/igb/glyph/MapViewGlyphFactoryI.java trunk/igb/src/com/affymetrix/igb/glyph/ProbeSetDisplayGlyphFactory.java trunk/igb/src/com/affymetrix/igb/glyph/ScoredContainerGlyphFactory.java trunk/igb/src/com/affymetrix/igb/stylesheet/PropertyConstants.java trunk/igb/src/com/affymetrix/igb/stylesheet/XmlStylesheetGlyphFactory.java Modified: trunk/igb/src/com/affymetrix/igb/glyph/CoverageSummarizerFactory.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/glyph/CoverageSummarizerFactory.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/glyph/CoverageSummarizerFactory.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -40,6 +40,10 @@ public CoverageSummarizerFactory() { } + public String getName(){ + return "coverage"; + } + public void init(Map options) { if (options.get("height") != null) { try { Modified: trunk/igb/src/com/affymetrix/igb/glyph/GenericAnnotGlyphFactory.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/glyph/GenericAnnotGlyphFactory.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/glyph/GenericAnnotGlyphFactory.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -86,6 +86,10 @@ parent_labelled_glyph_class = default_elabelled_parent_class; } + public String getName(){ + return "annots"; + } + public void init(Map options) { if (DEBUG) { System.out.println(" @@@@@@@@@@@@@ in GenericAnnotGlyphFactory.init(), props: " + options); @@ -122,7 +126,7 @@ String meth = BioSeq.determineMethod(sym); if (meth != null) { - ITrackStyleExtended style = DefaultStateProvider.getGlobalStateProvider().getAnnotStyle(meth); + ITrackStyleExtended style = DefaultStateProvider.getGlobalStateProvider().getAnnotStyle(meth); int glyph_depth = style.getShow2Tracks(); TierGlyph[] tiers = smv.getTiers(false, style); Modified: trunk/igb/src/com/affymetrix/igb/glyph/GenericGraphGlyphFactory.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/glyph/GenericGraphGlyphFactory.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/glyph/GenericGraphGlyphFactory.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -41,6 +41,10 @@ } } + public String getName(){ + return "Graph"; + } + public void createGlyph(SeqSymmetry sym, SeqMapView smv) { if (sym instanceof GraphSym) { displayGraph((GraphSym) sym, smv, check_same_seq); Modified: trunk/igb/src/com/affymetrix/igb/glyph/MapViewGlyphFactoryI.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/glyph/MapViewGlyphFactoryI.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/glyph/MapViewGlyphFactoryI.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -21,4 +21,5 @@ public interface MapViewGlyphFactoryI { public void init(Map options); public void createGlyph(SeqSymmetry sym, SeqMapView smv); + public String getName(); } Modified: trunk/igb/src/com/affymetrix/igb/glyph/ProbeSetDisplayGlyphFactory.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/glyph/ProbeSetDisplayGlyphFactory.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/glyph/ProbeSetDisplayGlyphFactory.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -90,6 +90,10 @@ public ProbeSetDisplayGlyphFactory() { } + public String getName(){ + return "ProbeSet"; + } + public void createGlyph(SeqSymmetry sym, SeqMapView smv) { gviewer = smv; String meth = BioSeq.determineMethod(sym); Modified: trunk/igb/src/com/affymetrix/igb/glyph/ScoredContainerGlyphFactory.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/glyph/ScoredContainerGlyphFactory.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/glyph/ScoredContainerGlyphFactory.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -52,6 +52,10 @@ public void init(Map options) { } + public String getName(){ + return "scored"; + } + public void createGlyph(SeqSymmetry sym, SeqMapView smv) { boolean attach_graphs = PreferenceUtils.getBooleanParam(ScoredIntervalParser.PREF_ATTACH_GRAPHS, ScoredIntervalParser.default_attach_graphs); Modified: trunk/igb/src/com/affymetrix/igb/stylesheet/PropertyConstants.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/stylesheet/PropertyConstants.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/stylesheet/PropertyConstants.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -19,6 +19,7 @@ static final String PROP_DIRECTION_TYPE = "direction_type"; static final String PROP_START_COLOR = "start_color"; static final String PROP_END_COLOR = "end_color"; + static final String PROP_VIEW_MODE = "view_mode"; static final String TRUE = "true"; static final String FALSE = "false"; Modified: trunk/igb/src/com/affymetrix/igb/stylesheet/XmlStylesheetGlyphFactory.java =================================================================== --- trunk/igb/src/com/affymetrix/igb/stylesheet/XmlStylesheetGlyphFactory.java 2011-07-29 17:13:13 UTC (rev 8529) +++ trunk/igb/src/com/affymetrix/igb/stylesheet/XmlStylesheetGlyphFactory.java 2011-07-29 17:14:31 UTC (rev 8530) @@ -45,6 +45,10 @@ public void init(Map options) { } + public String getName(){ + return "XML StyleSheet"; + } + public void createGlyph(SeqSymmetry sym, SeqMapView gviewer) { // fixing bug encountered when sym doesn't have span on sequence it is annotating -- // currently should only see these as "dummy" placeholder syms that are This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |