Model Initializers
Identifier:
org.eclipse.rse.core.modelInitializers
Since:
RSE 3.0
Description:
A model initializer is used to create supplemental connections and filter pools after the RSE model has been restored from its persistent form. The base RSE uses this extension point to supply the "Local" connection if one has not already been created for this workspace. Other extenders of RSE may use this to augment the mode in other ways. An initializer is run at the end of the initialization job begun by RSE when it is activated.
Configuration Markup:
<!ELEMENT extension (
modelInitializer*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT modelInitializer EMPTY>
<!ATTLIST modelInitializer
class CDATA #REQUIRED
type (workspace|session)
>
-
class - A class that extends org.eclipse.rse.core.IRSEModelInitializer.
-
type - The type of initialization that is to take place. If this is a one time initialization for this workspace then use "workspace". If this initialization is to occur at the beginning of each workspace session then use "session". If nothing is specfied then "session" is assumed.
Examples:
An example taken from the plug-in org.eclipse.rse.ui:
<extension point=
"org.eclipse.rse.core.modelInitializers"
>
<modelInitializer class=
"org.eclipse.rse.internal.ui.RSEUIPluginModelInitializer"
/>
</extension>
Copyright (c) 2008 IBM Corporation 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 https://www.eclipse.org/legal/epl-v10.html
Contributors:
David Dykstal (IBM) - [197167] adding notification and waiting for RSE model