blob: 486800ced3dc66072b336ee8193b5b8779b3f3f5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2010 BMW Car IT, Technische Universitaet Muenchen, 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:
* BMW Car IT - Initial API and implementation
* Technische Universitaet Muenchen - Major refactoring and extension
*******************************************************************************/
package org.eclipse.emf.edapt.history.recorder.ui;
import org.eclipse.ui.IStartup;
import org.eclipse.ui.PlatformUI;
/**
* Class to ensure startup of the editor detector on Eclipse startup
*
* @author herrmama
* @author $Author$
* @version $Rev$
* @levd.rating RED Rev:
*/
public class RecorderStartup implements IStartup {
/**
* {@inheritDoc}
*/
@Override
public void earlyStartup() {
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
EcoreEditorDetector.getInstance();
}
});
}
}