1 /*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
4 * All rights reserved. This program and the accompanying materials are made
5 * 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
10 * Geneviève Bastien - Initial implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.tests
.experiment
.type
;
15 import org
.eclipse
.linuxtools
.tmf
.ui
.editors
.TmfEventsEditor
;
16 import org
.eclipse
.linuxtools
.tmf
.ui
.viewers
.events
.TmfEventsTable
;
17 import org
.eclipse
.swt
.widgets
.Composite
;
20 * Event editor stub for experiment type unit tests
22 * @author Geneviève Bastien
24 public class TmfEventsEditorStub
extends TmfEventsEditor
{
26 private Composite fParent
;
29 public void createPartControl(final Composite parent
) {
30 super.createPartControl(parent
);
35 * Get a new event table, because the one from the parent events editor is
38 * This function is meant to be used for unit tests only
40 * @return A new event table
42 public TmfEventsTable
getNewEventsTable() {
43 TmfEventsTable table
= createEventsTable(fParent
, getTrace().getCacheSize());
This page took 0.030342 seconds and 5 git commands to generate.