1 /******************************************************************************
2 * Copyright (c) 2015 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.analysis
.timing
.ui
.views
.segmentstore
.density
;
12 import java
.util
.List
;
14 import org
.eclipse
.tracecompass
.segmentstore
.core
.ISegment
;
17 * A listener that gets notified when the viewer sees its data changed or its
18 * data selection change.
20 public interface ISegmentStoreDensityViewerDataListener
{
22 * Notification that the data changed in the viewer.
27 void dataChanged(List
<ISegment
> newData
);
30 * Notification that the selection of the data changed in the viewer.
32 * @param newSelectionData
33 * the new selection of the data
35 void dataSelectionChanged(List
<ISegment
> newSelectionData
);