66955afa0c5101b970f487d0daeb605c7390c67c
[deliverable/tracecompass.git] / org.eclipse.tracecompass.examples / src / org / eclipse / tracecompass / examples / ui / views / histogram / NewHistogramView.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 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 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.tracecompass.examples.ui.views.histogram;
13
14 import org.eclipse.swt.widgets.Composite;
15 import org.eclipse.tracecompass.examples.ui.viewers.histogram.NewHistogramViewer;
16 import org.eclipse.tracecompass.tmf.ui.viewers.xycharts.TmfXYChartViewer;
17 import org.eclipse.tracecompass.tmf.ui.views.TmfChartView;
18
19 /**
20 * Histogram View based on TmfChartView.
21 *
22 * @author Bernd Hufmann
23 */
24 public class NewHistogramView extends TmfChartView {
25 /** The view ID. */
26 public static final String ID = "org.eclipse.tracecompass.examples.ui.views.NewHistogramView"; //$NON-NLS-1$
27
28 /**
29 * Default Constructor
30 */
31 public NewHistogramView() {
32 super(ID);
33 }
34
35 @Override
36 protected TmfXYChartViewer createChartViewer(Composite parent) {
37 return new NewHistogramViewer(parent);
38 }
39 }
This page took 0.033682 seconds and 4 git commands to generate.