Skip to main content
summaryrefslogtreecommitdiffstats
blob: c294537bad4a49c7e8462b28526924ddbd7248a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2018 Remain Software
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     wim.jongman@remainsoftware.com - initial API and implementation
 *******************************************************************************/
package org.eclipse.tips.ui;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.tips.core.Tip;

/**
 * A decoration of {@link Tip} class that provides the opportunity to
 * create a rich SWT UI.
 *
 */
public interface ISwtTip {

	/**
	 * Creates the top level control for this tip on the given parent composite. You
	 * can implement this method to build your the UI for your Tip in SWT. You can
	 * find and example implementation in the tips example bundle.
	 *
	 * @param parent
	 *            the parent composite
	 */
	void createControl(Composite parent);
}

Back to the top