blob: c35f37960607f3e2401880b7c269b00c1ad142c8 [file] [log] [blame]
/*******************************************************************************
* Copyright 2012 EclipseSource Muenchen GmbH.
*
* All rights reserved. This program and the accompanying materials
* are made available under the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
******************************************************************************/
package org.eclipse.emf.emfstore.client.ui.handlers.exportimport;
import org.eclipse.emf.emfstore.client.ui.controller.UIImportController;
import org.eclipse.emf.emfstore.client.ui.handlers.AbstractEMFStoreHandler;
import org.eclipse.emf.emfstore.server.model.ProjectInfo;
/**
* Handler for importing a project history.
*
* @author emueller
*
*/
public class ImportProjectHistoryHandler extends AbstractEMFStoreHandler {
@Override
public void handle() {
new UIImportController(getShell()).importProjectHistory(requireSelection(ProjectInfo.class));
}
}