Latency: introduce latency density view
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.timing.ui / src / org / eclipse / tracecompass / analysis / timing / ui / views / segmentstore / density / ISegmentStoreDensityViewerDataListener.java
1 /******************************************************************************
2 * Copyright (c) 2015 Ericsson
3 *
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 *******************************************************************************/
9
10 package org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.density;
11
12 import java.util.List;
13
14 import org.eclipse.tracecompass.segmentstore.core.ISegment;
15
16 /**
17 * A listener that gets notified when the viewer sees its data changed or its
18 * data selection change.
19 */
20 public interface ISegmentStoreDensityViewerDataListener {
21 /**
22 * Notification that the data changed in the viewer.
23 *
24 * @param newData
25 * the new data
26 */
27 void dataChanged(List<ISegment> newData);
28
29 /**
30 * Notification that the selection of the data changed in the viewer.
31 *
32 * @param newSelectionData
33 * the new selection of the data
34 */
35 void dataSelectionChanged(List<ISegment> newSelectionData);
36 }
This page took 0.031616 seconds and 5 git commands to generate.