tmf: fix sonar warnings about redundant modifier in interfaces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / viewers / ITmfViewer.java
CommitLineData
05627bda 1/*******************************************************************************
57a2a5ca 2 * Copyright (c) 2012, 2013 Ericsson
05627bda
MD
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
13package org.eclipse.linuxtools.tmf.ui.viewers;
14
15import org.eclipse.linuxtools.tmf.core.component.ITmfComponent;
16import 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 */
28public 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 */
57a2a5ca 35 Control getControl();
05627bda
MD
36
37 /**
38 * Tells the viewer to refresh its contents.
39 */
57a2a5ca 40 void refresh();
05627bda 41}
This page took 0.045752 seconds and 5 git commands to generate.