[Title] Remove tooltip mouseup listener
authorsanghyunnim.lee <sanghyunnim.lee@samsung.com>
Wed, 4 Jul 2012 07:28:14 +0000 (16:28 +0900)
committersanghyunnim.lee <sanghyunnim.lee@samsung.com>
Wed, 4 Jul 2012 07:28:14 +0000 (16:28 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/timeline/TimelineItemManager.java

index b508975..e69a730 100755 (executable)
@@ -125,12 +125,6 @@ public class TimelineItemManager {
                }
        }
        
-       private MouseAdapter tooltipMouseAdapter = new MouseAdapter() {
-               public void mouseUp(MouseEvent e) {
-                       disposeTooltip();
-               }
-       };
-
        public TimelineItemManager() {
                chartManager = new TimelineChartManager();
                TimelineMaster.getInstance().setTimelineChartManager(chartManager);
@@ -317,7 +311,6 @@ public class TimelineItemManager {
                gridLayout.marginRight = MARGIN;
                gridLayout.verticalSpacing = SPACING;
                tooltip.setLayout(gridLayout);
-               tooltip.addMouseListener(tooltipMouseAdapter);
 
                Font indexInfoFont = new Font(Display.getDefault(), FontResources.ARIAL, 8, SWT.NORMAL);
 
@@ -466,17 +459,14 @@ public class TimelineItemManager {
 
                        Composite IndexInfoComposite = new Composite(tooltip, SWT.NONE);
                        IndexInfoComposite.setLayout(new RowLayout(SWT.HORIZONTAL));
-                       IndexInfoComposite.addMouseListener(tooltipMouseAdapter);
 
                        Canvas indexCanvas = new Canvas(IndexInfoComposite, SWT.BORDER);
                        indexCanvas.setBackground(getColorFromAwtColor(seriesColorList.get(i)));
                        indexCanvas.setLayoutData(rowData);
-                       indexCanvas.addMouseListener(tooltipMouseAdapter);
 
                        Label indexLabel = new Label(IndexInfoComposite, SWT.NONE);
                        indexLabel.setFont(indexInfoFont);
                        indexInfoLabelList.add(indexLabel);
-                       indexLabel.addMouseListener(tooltipMouseAdapter);
 
                        double yValue = getYbyX(seriesList.get(i).toArray(), selectedTime);