/* | |
* Copyright (c) Robert Bosch GmbH. All rights reserved. | |
*/ | |
package org.eclipse.blockchain.ui.perspective; | |
import org.eclipse.blockchain.ui.console.EtherConsoleFactory; | |
import org.eclipse.ui.IStartup; | |
import org.eclipse.ui.PlatformUI; | |
/** | |
* @author DMU1COB | |
*/ | |
public class PerspectiveStartup implements IStartup { | |
/** | |
* {@inheritDoc} | |
*/ | |
@Override | |
public void earlyStartup() { | |
PlatformUI.getWorkbench().getPerspectiveRegistry().setDefaultPerspective("org.eclipse.blockchain.ui.perspective"); | |
EtherConsoleFactory.getInstance().openConsole(); | |
} | |
} |