Move misc plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.examples / src / org / eclipse / linuxtools / tracing / examples / ui / views / histogram / NewHistogramView.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 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.linuxtools.tracing.examples.ui.views.histogram;
13
14 import org.eclipse.linuxtools.tmf.ui.views.TmfChartView;
15 import org.eclipse.linuxtools.tracing.examples.ui.viewers.histogram.NewHistogramViewer;
16 import org.eclipse.swt.widgets.Composite;
17
18 /**
19 * Histogram View based on TmfChartView.
20 *
21 * @author Bernd Hufmann
22 */
23 public class NewHistogramView extends TmfChartView {
24 /** The view ID. */
25 public static final String ID = "org.eclipse.linuxtools.tracing.examples.ui.views.NewHistogramView"; //$NON-NLS-1$
26
27 /**
28 * Default Constructor
29 */
30 public NewHistogramView() {
31 super(ID);
32 }
33
34 @Override
35 public void createPartControl(Composite parent) {
36 setChartViewer(new NewHistogramViewer(parent));
37 super.createPartControl(parent);
38 }
39
40 @Override
41 public void setFocus() {
42 }
43 }
This page took 0.049851 seconds and 5 git commands to generate.