Skip to main content
summaryrefslogtreecommitdiffstats
blob: 4a9147b64d77ad891794da4e67e63ba2fe3dccc2 (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
/*******************************************************************************
 * Copyright (c) 2014 EM-SOFTWARE 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:
 *     Christoph Keimel <c.keimel@emsw.de> - initial API and implementation
 *******************************************************************************/
package org.eclipse.fx.testcases.e4.handlers;

import org.eclipse.e4.core.di.annotations.Execute;
import org.eclipse.fx.ui.services.restart.RestartService;

public class CleanRestartHandler {
	
	@Execute
	public void execute(RestartService restartService) {
		restartService.restart(true);
	}
		
}

Back to the top