Skip to content

Dm 4484 marker tool - create drawing layer for marker tool #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 17, 2016
15 changes: 11 additions & 4 deletions src/firefly/js/core/ReduxFlux.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ import DrawLayerCntlr, {makeDetachLayerActionCreator,
distanceToolEndActionCreator,
regionCreateLayerActionCreator,
regionDeleteLayerActionCreator,
regionUpdateEntryActionCreator} from '../visualize/DrawLayerCntlr.js';
regionUpdateEntryActionCreator,
markerToolStartActionCreator,
markerToolMoveActionCreator,
markerToolEndActionCreator,
markerToolCreateLayerActionCreator} from '../visualize/DrawLayerCntlr.js';
import MultiViewCntlr, {IMAGE_MULTI_VIEW_KEY} from '../visualize/MultiViewCntlr.js';
import ComponentCntlr, {DIALOG_OR_COMPONENT_KEY} from '../core/ComponentCntlr.js';
import {masterSaga} from './MasterSaga.js';
Expand All @@ -51,7 +55,7 @@ import Catalog from '../drawingLayers/Catalog.js';
import WebGrid from '../drawingLayers/WebGrid.js';

import RegionPlot from '../drawingLayers/RegionPlot.js';

import MarkerTool from '../drawingLayers/MarkerTool.js';
import {showExampleDialog} from '../ui/ExampleDialog.jsx';

//==============
Expand All @@ -75,7 +79,7 @@ const actionCreators = new Map();

const drawLayerFactory= DrawLayerFactory.makeFactory(ActiveTarget,SelectArea,DistanceTool,
PointSelection, StatsPoint, NorthUpCompass,
Catalog, WebGrid, RegionPlot);
Catalog, WebGrid, RegionPlot, MarkerTool);



Expand Down Expand Up @@ -133,7 +137,10 @@ actionCreators.set(XYPlotCntlr.LOAD_PLOT_DATA, XYPlotCntlr.loadPlotData);

actionCreators.set(DrawLayerCntlr.SELECT_AREA_END, selectAreaEndActionCreator);
actionCreators.set(DrawLayerCntlr.DT_END, distanceToolEndActionCreator);

actionCreators.set(DrawLayerCntlr.MARKER_START, markerToolStartActionCreator);
actionCreators.set(DrawLayerCntlr.MARKER_MOVE, markerToolMoveActionCreator);
actionCreators.set(DrawLayerCntlr.MARKER_END, markerToolEndActionCreator);
actionCreators.set(DrawLayerCntlr.MARKER_CREATE, markerToolCreateLayerActionCreator);

actionCreators.set(DrawLayerCntlr.REGION_CREATE_LAYER, regionCreateLayerActionCreator);
actionCreators.set(DrawLayerCntlr.REGION_DELETE_LAYER, regionDeleteLayerActionCreator);
Expand Down
Loading