From: jaeyong lee Date: Tue, 22 Mar 2016 09:53:09 +0000 (+0900) Subject: [SRADA-209] Fixed issue (chart selection start point was incorrect) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e3e97941c493fcba591f71f3d1c5a02c50f6e6a;p=sdk%2Ftools%2Fdynamic-analyzer.git [SRADA-209] Fixed issue (chart selection start point was incorrect) Change-Id: Ia072b08b60ceaf37ed3a92fa067eb295568437fd --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/chart/MemoryChartBoard.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/chart/MemoryChartBoard.java index 8f104fc..4ca00c8 100755 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/chart/MemoryChartBoard.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/chart/MemoryChartBoard.java @@ -11,12 +11,10 @@ import org.tizen.dynamicanalyzer.ui.common.TimelineChartMouseEventListener; import org.tizen.dynamicanalyzer.ui.common.TimelineChartMouseTrackAdapter; import org.tizen.dynamicanalyzer.ui.common.UICommonConstants; import org.tizen.dynamicanalyzer.ui.memory.MemoryPage; -import org.tizen.dynamicanalyzer.ui.opengl.GLPage; import org.tizen.dynamicanalyzer.ui.range.RangeDataManager; import org.tizen.dynamicanalyzer.ui.timeline.common.TimelineChartManager; import org.tizen.dynamicanalyzer.ui.timeline.common.TimelineConstants; import org.tizen.dynamicanalyzer.ui.toolbar.Toolbar; -import org.tizen.dynamicanalyzer.util.Logger; import org.tizen.dynamicanalyzer.utils.AnalyzerUtil; import org.tizen.dynamicanalyzer.widgets.chart.DAChart; import org.tizen.dynamicanalyzer.widgets.chart.DAChartPlotIntervalMarker; @@ -52,7 +50,7 @@ public class MemoryChartBoard extends DAChartBoard { chartWidget.getPlot().setMarkers(getMarkers()); TimelineChartMouseEventListener chartMouseEventListener = new TimelineChartMouseEventListener( - memoryChart.getPopupMenu(), getTimeline(), GLPage.pageID); + memoryChart.getPopupMenu(), getTimeline(), MemoryPage.pageID); chartWidget.addMouseListener(chartMouseEventListener); chartWidget.addMouseMoveListener(chartMouseEventListener); chartWidget.addMouseTrackListener(new TimelineChartMouseTrackAdapter(getTimeline()));