/**
* This interface should be implemented by complex file parser with the ability
- * to store linked data and complex view states in addition to alingment data
+ * to store linked data and complex view states in addition to Alignment data
*
- * @author tcnofoegbu
*
*/
public interface ComplexAlignFile
public void parseHiddenCols(JSONObject jvSettingsJson)
{
- // hiddenColumns = new ArrayList<int[]>();
String hiddenCols = (String) jvSettingsJson.get("hiddenCols");
if(hiddenCols != null && !hiddenCols.isEmpty()){
columnSelection = new ColumnSelection();
String[] rangeStrings = hiddenCols.split(";");
for(String rangeString : rangeStrings){
String[] range = rangeString.split("-");
- // hiddenColumns.add(new int[]
- // { Integer.valueOf(range[0]), Integer.valueOf(range[1]) });
columnSelection.hideColumns(Integer.valueOf(range[0]),
Integer.valueOf(range[1]));
}
String descripiton = (String) jsonFeature.get("description");
String seqRef = (String) jsonFeature.get("sequenceRef");
Float score = Float.valueOf(jsonFeature.get("score").toString());
- // Hashtable otherDetails = (Hashtable) jsonFeature
- // .get("otherDetails");
- // sequenceFeature.otherDetails = otherDetails;
Sequence seq = seqMap.get(seqRef);
SequenceFeature sequenceFeature = new SequenceFeature();