X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics%2Fsrc%2Forg%2Fsimantics%2Fstartup%2FIStartup.java;h=3ea923a5269b37089f14f8fe21f27c7eddcbb087;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=c5dd01411562933473400623e04729410a775a63;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics/src/org/simantics/startup/IStartup.java b/bundles/org.simantics/src/org/simantics/startup/IStartup.java index c5dd01411..3ea923a52 100644 --- a/bundles/org.simantics/src/org/simantics/startup/IStartup.java +++ b/bundles/org.simantics/src/org/simantics/startup/IStartup.java @@ -1,38 +1,38 @@ -/******************************************************************************* - * Copyright (c) 2015 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * Semantum Oy - initial API and implementation - *******************************************************************************/ -package org.simantics.startup; - -import org.simantics.CancelStartupException; -import org.simantics.PlatformException; - -/** - * Plug-ins can register a startup extension will be activated and consulted - * during the Simantics platform startup. The extension must provide an - * implementation of this interface. - * - * @author Tuukka Lehtonen - * @since 1.18.1 - */ -public interface IStartup { - - /** - * Will be called in the platform startup thread, i.e. the UI thread during - * workbench initialization. - * - *

- * Can throw any {@link PlatformException}, such as - * {@link CancelStartupException} to prevent the platform from starting up - * for some reason. - */ - public void preStartup() throws PlatformException; - -} +/******************************************************************************* + * Copyright (c) 2015 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.startup; + +import org.simantics.CancelStartupException; +import org.simantics.PlatformException; + +/** + * Plug-ins can register a startup extension will be activated and consulted + * during the Simantics platform startup. The extension must provide an + * implementation of this interface. + * + * @author Tuukka Lehtonen + * @since 1.18.1 + */ +public interface IStartup { + + /** + * Will be called in the platform startup thread, i.e. the UI thread during + * workbench initialization. + * + *

+ * Can throw any {@link PlatformException}, such as + * {@link CancelStartupException} to prevent the platform from starting up + * for some reason. + */ + public void preStartup() throws PlatformException; + +}