tmf: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / viewers / ITmfViewer.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 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 * Mathieu Denis <mathieu.denis@polymtl.ca> - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.ui.viewers;
14
15 import org.eclipse.swt.widgets.Control;
16 import org.eclipse.tracecompass.tmf.core.component.ITmfComponent;
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 */
26 public interface ITmfViewer extends ITmfComponent {
27
28 /**
29 * Returns the primary control associated with this viewer.
30 *
31 * @return the SWT control which displays this viewer's contents
32 */
33 Control getControl();
34
35 /**
36 * Tells the viewer to refresh its contents.
37 */
38 void refresh();
39 }
This page took 0.033421 seconds and 5 git commands to generate.