Commit | Line | Data |
---|---|---|
83842d7d | 1 | /******************************************************************************* |
2c7fb5af | 2 | * Copyright (c) 2013, 2015 Ericsson |
83842d7d BH |
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 | *******************************************************************************/ | |
730dbd2a | 12 | package org.eclipse.tracecompass.examples.ui.views.histogram; |
83842d7d | 13 | |
83842d7d | 14 | import org.eclipse.swt.widgets.Composite; |
730dbd2a | 15 | import org.eclipse.tracecompass.examples.ui.viewers.histogram.NewHistogramViewer; |
2bdf0193 | 16 | import org.eclipse.tracecompass.tmf.ui.views.TmfChartView; |
83842d7d BH |
17 | |
18 | /** | |
19 | * Histogram View based on TmfChartView. | |
20 | * | |
21 | * @author Bernd Hufmann | |
22 | */ | |
23 | public class NewHistogramView extends TmfChartView { | |
24 | /** The view ID. */ | |
2c7fb5af | 25 | public static final String ID = "org.eclipse.tracecompass.examples.ui.views.NewHistogramView"; //$NON-NLS-1$ |
83842d7d BH |
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 | } |