|
@@ -5,26 +5,26 @@
|
|
|
* @author Sebastian Bittrich <sebastian.bittrich@rcsb.org>
|
|
|
*/
|
|
|
|
|
|
-import { CollapsableControls, PurePluginUIComponent } from '../base';
|
|
|
-import { Icon, ArrowUpwardSvg, ArrowDownwardSvg, DeleteOutlinedSvg, HelpOutlineSvg, TuneSvg, SuperposeAtomsSvg, SuperposeChainsSvg, SuperpositionSvg } from '../controls/icons';
|
|
|
-import { Button, ToggleButton, IconButton } from '../controls/common';
|
|
|
-import { StructureElement, StructureSelection, QueryContext, Structure, StructureProperties } from '../../mol-model/structure';
|
|
|
+import { SymmetryOperator } from '../../mol-math/geometry';
|
|
|
import { Mat4 } from '../../mol-math/linear-algebra';
|
|
|
-import { ParamDefinition as PD } from '../../mol-util/param-definition';
|
|
|
-import { StateObjectRef, StateObjectCell, StateSelection } from '../../mol-state';
|
|
|
-import { StateTransforms } from '../../mol-plugin-state/transforms';
|
|
|
-import { PluginStateObject } from '../../mol-plugin-state/objects';
|
|
|
+import { SIFTSMapping } from '../../mol-model-props/sequence/sifts-mapping';
|
|
|
+import { QueryContext, Structure, StructureElement, StructureProperties, StructureSelection } from '../../mol-model/structure';
|
|
|
import { alignAndSuperpose, superpose } from '../../mol-model/structure/structure/util/superposition';
|
|
|
+import { alignAndSuperposeWithSIFTSMapping } from '../../mol-model/structure/structure/util/superposition-sifts-mapping';
|
|
|
import { StructureSelectionQueries } from '../../mol-plugin-state/helpers/structure-selection-query';
|
|
|
-import { structureElementStatsLabel, elementLabel } from '../../mol-theme/label';
|
|
|
-import { ParameterControls } from '../controls/parameters';
|
|
|
-import { stripTags } from '../../mol-util/string';
|
|
|
import { StructureSelectionHistoryEntry } from '../../mol-plugin-state/manager/structure/selection';
|
|
|
-import { ToggleSelectionModeButton } from './selection';
|
|
|
-import { alignAndSuperposeWithSIFTSMapping } from '../../mol-model/structure/structure/util/superposition-sifts-mapping';
|
|
|
+import { PluginStateObject } from '../../mol-plugin-state/objects';
|
|
|
+import { StateTransforms } from '../../mol-plugin-state/transforms';
|
|
|
import { PluginCommands } from '../../mol-plugin/commands';
|
|
|
-import { SIFTSMapping } from '../../mol-model-props/sequence/sifts-mapping';
|
|
|
-import { SymmetryOperator } from '../../mol-math/geometry';
|
|
|
+import { StateObjectCell, StateObjectRef } from '../../mol-state';
|
|
|
+import { elementLabel, structureElementStatsLabel } from '../../mol-theme/label';
|
|
|
+import { ParamDefinition as PD } from '../../mol-util/param-definition';
|
|
|
+import { stripTags } from '../../mol-util/string';
|
|
|
+import { CollapsableControls, PurePluginUIComponent } from '../base';
|
|
|
+import { Button, IconButton, ToggleButton } from '../controls/common';
|
|
|
+import { ArrowDownwardSvg, ArrowUpwardSvg, DeleteOutlinedSvg, HelpOutlineSvg, Icon, SuperposeAtomsSvg, SuperposeChainsSvg, SuperpositionSvg, TuneSvg } from '../controls/icons';
|
|
|
+import { ParameterControls } from '../controls/parameters';
|
|
|
+import { ToggleSelectionModeButton } from './selection';
|
|
|
|
|
|
export class StructureSuperpositionControls extends CollapsableControls {
|
|
|
defaultState() {
|