Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3df50c005abb054992f0e34a57bd2bee02701d7f (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
36
/*****************************************************************************
 * Copyright (c) 2010, 2016 ATOS ORIGIN, Christian W. Damus, and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Tristan Faure (ATOS ORIGIN INTEGRATION) tristan.faure@atosorigin.com - Initial API and implementation
 *  Christian W. Damus - bug 485220
 *  
 *****************************************************************************/
package org.eclipse.papyrus.infra.tools.notify;

/**
 * a runnable
 *
 */
public interface NotificationRunnable {

	/**
	 * Run the runnable
	 *
	 * @param context
	 *            , used to fill properties, can contain data
	 */
	void run(IContext context);

	/**
	 * The label of the runnable
	 *
	 * @return the label
	 */
	String getLabel();
}

Back to the top