1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.simantics" xmlns="http://www.w3.org/2001/XMLSchema">
6 <meta.schema plugin="org.simantics" id="startup" name="Simantics Platform Startup"/>
9 This is an extension point for programmatical contribution of Simantics platform startup procedures. Startup extensions can be used to perform product-specific checks e.g. on the workspace in use before starting up the Simantics platform.
11 Startup extensions have no ordering, i.e. the system does not guarantee anything about the order in which they are executed. Therefore implementations must not rely on any particular order or execution.
13 Startup checks can be performed also headlessly (without UI) so these extensions should not depend on being able to access Workbench UI.
17 <element name="extension">
25 <element ref="startup" minOccurs="0" maxOccurs="unbounded"/>
27 <attribute name="point" type="string" use="required">
34 <attribute name="id" type="string">
41 <attribute name="name" type="string">
47 <meta.attribute translatable="true"/>
54 <element name="startup">
57 Defines an extension that will be invoked before doing anything else in SimanticsPlatform.startup.
59 Only after all Startup methods have been invoked the platform startup will commence by initializing database, starting the database server and synchronizing ontologies.
61 preStartup extension can prevent platform startup by throwing a PlatformException such as CancelStartupException in their implementation.
65 <attribute name="class" type="string" use="required">
71 <meta.attribute kind="java" basedOn=":org.simantics.startup.IStartup"/>
80 <meta.section type="since"/>
89 <meta.section type="examples"/>
93 <extension point="org.simantics.startup">
95 class="org.example.Startup"
104 <meta.section type="apiinfo"/>
107 See the contents of the org.simantics.startup package.
114 <meta.section type="copyright"/>
117 Copyright (c) 2015 Association for Decentralized Information Management in Industry THTH ry.<br/>
118 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>