Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse RSE Development Guide
Previous Page Home Next Page

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire