ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / viewers / ITmfViewer.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 2013 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 * Mathieu Denis <mathieu.denis@polymtl.ca> - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.viewers;
14
15 import org.eclipse.linuxtools.tmf.core.component.ITmfComponent;
16 import org.eclipse.swt.widgets.Control;
17
18 /**
19 * Interface to viewers.
20 *
21 * Viewers are to be put into views which need to know how to refresh the
22 * viewer's contents.
23 *
24 * @author Mathieu Denis
25 * @version 2.0
26 * @since 2.0
27 */
28 public interface ITmfViewer extends ITmfComponent {
29
30 /**
31 * Returns the primary control associated with this viewer.
32 *
33 * @return the SWT control which displays this viewer's contents
34 */
35 Control getControl();
36
37 /**
38 * Tells the viewer to refresh its contents.
39 */
40 void refresh();
41 }
This page took 0.032775 seconds and 5 git commands to generate.