@@ -1571,9 +1571,13 @@ abstract class SelectAllWithSameAsSelected
15711571
15721572 BuiltList <SelectableTrait > get traits;
15731573
1574+ bool get exclude_scaffolds;
1575+
15741576 /************************ begin BuiltValue boilerplate ************************/
1575- factory SelectAllWithSameAsSelected ({BuiltList <Selectable > templates, BuiltList <SelectableTrait > traits}) =
1576- _$SelectAllWithSameAsSelected ._;
1577+ factory SelectAllWithSameAsSelected (
1578+ {BuiltList <Selectable > templates,
1579+ BuiltList <SelectableTrait > traits,
1580+ bool exclude_scaffolds}) = _$SelectAllWithSameAsSelected ._;
15771581
15781582 SelectAllWithSameAsSelected ._();
15791583
@@ -2076,6 +2080,8 @@ abstract class ExportDNA with BuiltJsonSerializable implements Action, Built<Exp
20762080
20772081 bool get include_only_selected_strands;
20782082
2083+ bool get exclude_selected_strands;
2084+
20792085 ExportDNAFormat get export_dna_format;
20802086
20812087 @nullable
@@ -2093,16 +2099,19 @@ abstract class ExportDNA with BuiltJsonSerializable implements Action, Built<Exp
20932099 factory ExportDNA ({
20942100 bool include_scaffold,
20952101 bool include_only_selected_strands,
2102+ bool exclude_selected_strands,
20962103 ExportDNAFormat export_dna_format,
20972104 String delimiter,
20982105 String domain_delimiter,
20992106 StrandOrder strand_order = null ,
21002107 bool column_major_strand = true ,
21012108 bool column_major_plate = true ,
21022109 }) {
2110+ assert (! (include_only_selected_strands && exclude_selected_strands));
21032111 return ExportDNA .from ((b) => b
21042112 ..include_scaffold = include_scaffold
21052113 ..include_only_selected_strands = include_only_selected_strands
2114+ ..exclude_selected_strands = exclude_selected_strands
21062115 ..export_dna_format = export_dna_format
21072116 ..delimiter = delimiter
21082117 ..domain_delimiter = domain_delimiter
@@ -2153,6 +2162,27 @@ abstract class ExportSvg with BuiltJsonSerializable implements Action, Built<Exp
21532162 ExportSvgType get type;
21542163}
21552164
2165+ /////////////////////////////////////////////////////////////////////////////////////////////////////////////
2166+ // Export every text in a DNA sequence separately
2167+
2168+ abstract class ExportSvgTextSeparatelySet
2169+ with BuiltJsonSerializable
2170+ implements Action , Built <ExportSvgTextSeparatelySet , ExportSvgTextSeparatelySetBuilder > {
2171+ bool get export_svg_text_separately;
2172+
2173+ /************************ begin BuiltValue boilerplate ************************/
2174+ factory ExportSvgTextSeparatelySet (bool export_svg_text_separately) =>
2175+ ExportSvgTextSeparatelySet .from ((b) => b..export_svg_text_separately = export_svg_text_separately);
2176+
2177+ /************************ begin BuiltValue boilerplate ************************/
2178+ factory ExportSvgTextSeparatelySet .from ([void Function (ExportSvgTextSeparatelySetBuilder ) updates]) =
2179+ _$ExportSvgTextSeparatelySet ;
2180+
2181+ ExportSvgTextSeparatelySet ._();
2182+
2183+ static Serializer <ExportSvgTextSeparatelySet > get serializer => _$exportSvgTextSeparatelySetSerializer;
2184+ }
2185+
21562186/////////////////////////////////////////////////////////////////////////////////////////////////////////////
21572187// Strand part action
21582188
@@ -3981,6 +4011,22 @@ abstract class ExampleDesignsLoad
39814011 static Serializer <ExampleDesignsLoad > get serializer => _$exampleDesignsLoadSerializer;
39824012}
39834013
4014+ /////////////////////////////////////////////////////////////////////////////////////////////////////////////
4015+ // pair lines display
4016+
4017+ abstract class BasePairTypeSet
4018+ with BuiltJsonSerializable
4019+ implements Action , Built <BasePairTypeSet , BasePairTypeSetBuilder > {
4020+ int get selected_idx;
4021+
4022+ /************************ begin BuiltValue boilerplate ************************/
4023+ factory BasePairTypeSet ({int selected_idx}) = _$BasePairTypeSet ._;
4024+
4025+ BasePairTypeSet ._();
4026+
4027+ static Serializer <BasePairTypeSet > get serializer => _$basePairTypeSetSerializer;
4028+ }
4029+
39844030/////////////////////////////////////////////////////////////////////////////////////////////////////////////
39854031// change helix position
39864032
@@ -4348,6 +4394,25 @@ abstract class DisablePngCachingDnaSequencesSet
43484394 _$disablePngCachingDnaSequencesSetSerializer;
43494395}
43504396
4397+ abstract class RetainStrandColorOnSelectionSet
4398+ with BuiltJsonSerializable
4399+ implements Action , Built <RetainStrandColorOnSelectionSet , RetainStrandColorOnSelectionSetBuilder > {
4400+ bool get retain_strand_color_on_selection;
4401+
4402+ /************************ begin BuiltValue boilerplate ************************/
4403+ factory RetainStrandColorOnSelectionSet (bool retain_strand_color_on_selection) =>
4404+ RetainStrandColorOnSelectionSet .from (
4405+ (b) => b..retain_strand_color_on_selection = retain_strand_color_on_selection);
4406+
4407+ factory RetainStrandColorOnSelectionSet .from (
4408+ [void Function (RetainStrandColorOnSelectionSetBuilder ) updates]) = _$RetainStrandColorOnSelectionSet ;
4409+
4410+ RetainStrandColorOnSelectionSet ._();
4411+
4412+ static Serializer <RetainStrandColorOnSelectionSet > get serializer =>
4413+ _$retainStrandColorOnSelectionSetSerializer;
4414+ }
4415+
43514416abstract class DisplayReverseDNARightSideUpSet
43524417 with BuiltJsonSerializable
43534418 implements Action , Built <DisplayReverseDNARightSideUpSet , DisplayReverseDNARightSideUpSetBuilder > {
@@ -4458,3 +4523,40 @@ abstract class OxdnaExport
44584523 @memoized
44594524 int get hashCode;
44604525}
4526+
4527+ abstract class OxviewExport
4528+ with BuiltJsonSerializable
4529+ implements Action , Built <OxviewExport , OxviewExportBuilder > {
4530+ bool get selected_strands_only;
4531+
4532+ /************************ begin BuiltValue boilerplate ************************/
4533+ factory OxviewExport ({bool selected_strands_only = false }) {
4534+ return OxviewExport .from ((b) => b..selected_strands_only = selected_strands_only);
4535+ }
4536+
4537+ OxviewExport ._();
4538+
4539+ factory OxviewExport .from ([void Function (OxviewExportBuilder ) updates]) = _$OxviewExport ;
4540+
4541+ static Serializer <OxviewExport > get serializer => _$oxviewExportSerializer;
4542+
4543+ @memoized
4544+ int get hashCode;
4545+ }
4546+
4547+ abstract class OxExportOnlySelectedStrandsSet
4548+ with BuiltJsonSerializable
4549+ implements Action , Built <OxExportOnlySelectedStrandsSet , OxExportOnlySelectedStrandsSetBuilder > {
4550+ bool get only_selected;
4551+
4552+ /************************ begin BuiltValue boilerplate ************************/
4553+ factory OxExportOnlySelectedStrandsSet ({bool only_selected}) = _$OxExportOnlySelectedStrandsSet ._;
4554+
4555+ OxExportOnlySelectedStrandsSet ._();
4556+
4557+ static Serializer <OxExportOnlySelectedStrandsSet > get serializer =>
4558+ _$oxExportOnlySelectedStrandsSetSerializer;
4559+
4560+ @memoized
4561+ int get hashCode;
4562+ }
0 commit comments