import jalview.api.FeaturesDisplayedI;
import jalview.datamodel.ColumnSelection;
import jalview.datamodel.SequenceI;
-import jalview.schemes.ColourSchemeI;
import java.io.IOException;
import java.io.StringReader;
public static final String FILE_DESC = "HTML";
- private ColourSchemeI colourScheme;
+ private String globalColourScheme;
private boolean showSeqFeatures;
throw new IOException(errormessage);
}
JSONFile jsonFile = new JSONFile().parse(new StringReader(
- contentFromDiv ? content.text() : content
- .val()));
+ contentFromDiv ? content.text() : content.val()));
this.seqs = jsonFile.getSeqs();
this.seqGroups = jsonFile.getSeqGroups();
this.annotations = jsonFile.getAnnotations();
this.showSeqFeatures = jsonFile.isShowSeqFeatures();
- this.colourScheme = jsonFile.getColourScheme();
+ this.globalColourScheme = jsonFile.getGlobalColourScheme();
this.hiddenSequences = jsonFile.getHiddenSequences();
this.columnSelection = jsonFile.getColumnSelection();
this.displayedFeatures = jsonFile.getDisplayedFeatures();
}
}
-
@Override
public String print()
{
this.showSeqFeatures = showSeqFeatures;
}
- public ColourSchemeI getColourScheme()
+ public String getGlobalColourScheme()
{
- return colourScheme;
+ return globalColourScheme;
}
- public void setColourScheme(ColourSchemeI colourScheme)
+ public void setColourScheme(String globalColourScheme)
{
- this.colourScheme = colourScheme;
+ this.globalColourScheme = globalColourScheme;
}
public ColumnSelection getColumnSelection()