From 1c8784fec5ac2bcfb821b539a38d904e3c1cc926 Mon Sep 17 00:00:00 2001 From: Alize Nguyen Date: Mon, 11 Jul 2022 13:30:26 -0400 Subject: [PATCH] Stacked plot interceptor rename (#5468) * Rename stacked plot interceptor and move to folder Co-authored-by: Andrew Henry --- src/plugins/plot/plugin.js | 4 ++-- .../stackedPlotConfigurationInterceptor.js} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/plugins/plot/{plotInterceptor.js => stackedPlot/stackedPlotConfigurationInterceptor.js} (95%) diff --git a/src/plugins/plot/plugin.js b/src/plugins/plot/plugin.js index bc97005455..5eacd34fd1 100644 --- a/src/plugins/plot/plugin.js +++ b/src/plugins/plot/plugin.js @@ -27,7 +27,7 @@ import OverlayPlotCompositionPolicy from './overlayPlot/OverlayPlotCompositionPo import StackedPlotCompositionPolicy from './stackedPlot/StackedPlotCompositionPolicy'; import PlotViewActions from "./actions/ViewActions"; import StackedPlotsInspectorViewProvider from "./inspector/StackedPlotsInspectorViewProvider"; -import plotInterceptor from "./plotInterceptor"; +import stackedPlotConfigurationInterceptor from "./stackedPlot/stackedPlotConfigurationInterceptor"; export default function () { return function install(openmct) { @@ -65,7 +65,7 @@ export default function () { priority: 890 }); - plotInterceptor(openmct); + stackedPlotConfigurationInterceptor(openmct); openmct.objectViews.addProvider(new StackedPlotViewProvider(openmct)); openmct.objectViews.addProvider(new OverlayPlotViewProvider(openmct)); diff --git a/src/plugins/plot/plotInterceptor.js b/src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js similarity index 95% rename from src/plugins/plot/plotInterceptor.js rename to src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js index 73b36c0e03..d16ca1b46f 100644 --- a/src/plugins/plot/plotInterceptor.js +++ b/src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js @@ -20,7 +20,7 @@ * at runtime from the About dialog for additional information. *****************************************************************************/ -export default function plotInterceptor(openmct) { +export default function stackedPlotConfigurationInterceptor(openmct) { openmct.objects.addGetInterceptor({ appliesTo: (identifier, domainObject) => {