Commit | Line | Data |
---|---|---|
5db8e1e9 | 1 | /********************************************************************** |
abf7b9b0 | 2 | * Copyright (c) 2014, 2015 Ericsson |
5db8e1e9 GB |
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 | * Matthew Khouzam - Initial API and implementation | |
11 | **********************************************************************/ | |
12 | ||
9bc60be7 | 13 | package org.eclipse.tracecompass.internal.lttng2.ust.ui.views.memusage; |
5db8e1e9 | 14 | |
5db8e1e9 | 15 | import org.eclipse.swt.widgets.Composite; |
4c5e027b | 16 | import org.eclipse.tracecompass.tmf.ui.viewers.xycharts.TmfXYChartViewer; |
2bdf0193 | 17 | import org.eclipse.tracecompass.tmf.ui.views.TmfChartView; |
5db8e1e9 GB |
18 | |
19 | /** | |
20 | * Memory Usage View | |
21 | * | |
22 | * @author Matthew Khouzam | |
23 | */ | |
24 | public class MemoryUsageView extends TmfChartView { | |
25 | ||
26 | /** ID string */ | |
27 | public static final String ID = "org.eclipse.linuxtools.lttng2.ust.memoryusage"; //$NON-NLS-1$ | |
28 | ||
29 | /** | |
30 | * Constructor | |
31 | */ | |
32 | public MemoryUsageView() { | |
33 | super(Messages.MemoryUsageView_Title); | |
34 | } | |
35 | ||
5db8e1e9 | 36 | @Override |
4c5e027b MAL |
37 | protected TmfXYChartViewer createChartViewer(Composite parent) { |
38 | return new MemoryUsageViewer(parent); | |
5db8e1e9 GB |
39 | } |
40 | } |