@@ -56,8 +56,6 @@ export const ActionScope= new Enum(['GROUP','SINGLE', 'LIST']);
56
56
57
57
export const PLOTS_PREFIX = 'ImagePlotCntlr' ;
58
58
59
- const ANY_CHANGE = '${PLOT_PREFIX}.AnyChange' ;
60
-
61
59
/** Action Type: plot of new image started */
62
60
const PLOT_IMAGE_START = `${ PLOTS_PREFIX } .PlotImageStart` ;
63
61
/** Action Type: plot of new image failed */
@@ -250,9 +248,7 @@ function actionCreators() {
250
248
251
249
252
250
export default {
253
- reducer,
254
251
reducers, actionCreators,
255
- ANY_CHANGE , // todo remove soon- only for interface with GWT
256
252
ANY_REPLOT ,
257
253
PLOT_IMAGE_START , PLOT_IMAGE_FAIL , PLOT_IMAGE ,
258
254
ZOOM_IMAGE_START , ZOOM_IMAGE_FAIL , ZOOM_IMAGE , ZOOM_LOCKING ,
@@ -787,15 +783,15 @@ export function dispatchExpandedAutoPlay(autoPlayOn) {
787
783
* @param {Action } rawAction
788
784
* @returns {Function }
789
785
*/
790
- export function changePrimeActionCreator ( rawAction ) {
786
+ function changePrimeActionCreator ( rawAction ) {
791
787
return ( dispatcher , getState ) => changePrime ( rawAction , dispatcher , getState ) ;
792
788
}
793
789
794
790
/**
795
791
* @param {Action } rawAction
796
792
* @returns {Function }
797
793
*/
798
- export function deletePlotViewActionCreator ( rawAction ) {
794
+ function deletePlotViewActionCreator ( rawAction ) {
799
795
return ( dispatcher , getState ) => {
800
796
const vr = getState ( ) [ IMAGE_PLOT_KEY ] ;
801
797
if ( vr . wcsMatchType && ! rawAction . payload . holdWcsMatch ) {
@@ -809,7 +805,7 @@ export function deletePlotViewActionCreator(rawAction) {
809
805
* @param {Action } rawAction
810
806
* @returns {Function }
811
807
*/
812
- export function plotImageActionCreator ( rawAction ) {
808
+ function plotImageActionCreator ( rawAction ) {
813
809
return PlotImageTask . makePlotImageAction ( rawAction ) ;
814
810
}
815
811
@@ -818,7 +814,7 @@ export function plotImageActionCreator(rawAction) {
818
814
* @param {Action } rawAction
819
815
* @returns {Function }
820
816
*/
821
- export function restoreDefaultsActionCreator ( rawAction ) {
817
+ function restoreDefaultsActionCreator ( rawAction ) {
822
818
return ( dispatcher , getState ) => {
823
819
const vr = getState ( ) [ IMAGE_PLOT_KEY ] ;
824
820
const { plotId} = rawAction . payload ;
@@ -845,7 +841,7 @@ export function restoreDefaultsActionCreator(rawAction) {
845
841
}
846
842
847
843
848
- export function autoPlayActionCreator ( rawAction ) {
844
+ function autoPlayActionCreator ( rawAction ) {
849
845
return ( dispatcher ) => {
850
846
var { autoPlayOn} = rawAction . payload ;
851
847
if ( autoPlayOn ) {
@@ -886,7 +882,7 @@ const detachAll= (plotViewAry,dl) => plotViewAry.forEach( (pv) => {
886
882
} ) ;
887
883
888
884
889
- export function changePointSelectionActionCreator ( rawAction ) {
885
+ function changePointSelectionActionCreator ( rawAction ) {
890
886
return ( dispatcher , getState ) => {
891
887
var store = getState ( ) ;
892
888
var wasEnabled = store [ IMAGE_PLOT_KEY ] . pointSelEnableAry . length ? true : false ;
0 commit comments