Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-12-28 13:07:30 -0500
committerEike Stepper2008-12-28 13:07:30 -0500
commite84a2efac794b99633e5ce2961af4a784422a4bb (patch)
tree7fc2e764236af34b834840e02b569f43e4fd0bac
parentd995f99ee984ab46739ec135b19b932a72eba14d (diff)
downloadcdo-e84a2efac794b99633e5ce2961af4a784422a4bb.tar.gz
cdo-e84a2efac794b99633e5ce2961af4a784422a4bb.tar.xz
cdo-e84a2efac794b99633e5ce2961af4a784422a4bb.zip
[246623] Create Definition model as alternative configuration/wiring mechanism
https://bugs.eclipse.org/bugs/show_bug.cgi?id=246623
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.classpath7
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.project28
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.core.prefs258
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.ui.prefs5
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/.settings/org.moreunit.prefs6
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/META-INF/CDO.MF1
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/META-INF/MANIFEST.MF19
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/about.html28
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/build.properties23
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/copyright.txt8
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/epl-v10.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/license.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecore71
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecorediag480
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.genmodel57
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/plugin.properties25
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/plugin.xml20
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOAuditDef.java54
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolFactoryDef.java22
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolProviderDef.java23
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsFactory.java163
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsPackage.java1295
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOEagerPackageRegistryDef.java21
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOLazyPackageRegistryDef.java21
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOPackageRegistryDef.java46
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOResourceDef.java112
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOServerProtocolFactoryDef.java55
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOSessionDef.java218
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOTransactionDef.java22
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOViewDef.java54
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EDynamicPackageDef.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EGlobalPackageDef.java21
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EPackageDef.java54
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/FailOverStrategyDef.java55
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/PluginRepositoryProviderDef.java21
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RepositoryProviderDef.java22
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/ResourceMode.java262
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RetryFailOverStrategyDef.java80
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOAuditDefImpl.java182
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOClientProtocolFactoryDefImpl.java52
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsFactoryImpl.java307
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsPackageImpl.java743
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOEagerPackageRegistryDefImpl.java56
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOLazyPackageRegistryDefImpl.java55
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOPackageRegistryDefImpl.java241
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOResourceDefImpl.java302
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOServerProtocolFactoryDefImpl.java176
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOSessionDefImpl.java560
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOTransactionDefImpl.java52
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOViewDefImpl.java188
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EDynamicPackageDefImpl.java178
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EGlobalPackageDefImpl.java49
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EPackageDefImpl.java176
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/FailOverStrategyDefImpl.java160
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/PluginRepositoryProviderDefImpl.java49
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RepositoryProviderDefImpl.java45
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RetryFailOverStrategyDefImpl.java201
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsAdapterFactory.java504
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsSwitch.java577
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsUtil.java78
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.classpath7
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.project28
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.core.prefs258
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.moreunit.prefs6
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/META-INF/MANIFEST.MF22
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/about.html28
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/build.properties14
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/copyright.txt8
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/epl-v10.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/icons/database_go.pngbin0 -> 698 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/license.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecore16
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecorediag53
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.genmodel19
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/plugin.properties25
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/plugin.xml41
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOEditorDef.java81
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsFactory.java55
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsPackage.java260
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/EditorDef.java54
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/editorlauncher/EditorLauncher.java42
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOEditorDefImpl.java385
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsFactoryImpl.java115
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsPackageImpl.java243
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/EditorDefImpl.java168
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsAdapterFactory.java170
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsSwitch.java179
-rw-r--r--plugins/org.eclipse.net4j.defs/.classpath7
-rw-r--r--plugins/org.eclipse.net4j.defs/.cvsignore1
-rw-r--r--plugins/org.eclipse.net4j.defs/.project28
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs258
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs6
-rw-r--r--plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF20
-rw-r--r--plugins/org.eclipse.net4j.defs/about.html29
-rw-r--r--plugins/org.eclipse.net4j.defs/build.properties23
-rw-r--r--plugins/org.eclipse.net4j.defs/copyright.txt8
-rw-r--r--plugins/org.eclipse.net4j.defs/epl-v10.html319
-rw-r--r--plugins/org.eclipse.net4j.defs/license.html319
-rw-r--r--plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore80
-rw-r--r--plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecorediag661
-rw-r--r--plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel48
-rw-r--r--plugins/org.eclipse.net4j.defs/plugin.properties25
-rw-r--r--plugins/org.eclipse.net4j.defs/plugin.xml20
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/AcceptorDef.java178
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferPoolDef.java21
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferProviderDef.java23
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ChallengeNegotiatorDef.java81
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ClientProtocolFactoryDef.java21
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ConnectorDef.java232
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/CredentialsProviderDef.java54
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/HTTPConnectorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMAcceptorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMConnectorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/NegotiatorDef.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsFactory.java154
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsPackage.java1852
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/PasswordCredentialsProviderDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ProtocolProviderDef.java23
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/RandomizerDef.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ResponseNegotiatorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerConnector.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerProtocolFactoryDef.java21
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/SeverProtocolFactory.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPAcceptorDef.java107
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPConnectorDef.java134
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPSelectorDef.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/User.java81
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/UserManagerDef.java69
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/AcceptorDefImpl.java387
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferPoolDefImpl.java58
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferProviderDefImpl.java44
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ChallengeNegotiatorDefImpl.java267
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ClientProtocolFactoryDefImpl.java43
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ConnectorDefImpl.java627
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/CredentialsProviderDefImpl.java165
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/HTTPConnectorDefImpl.java172
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMAcceptorDefImpl.java173
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMConnectorDefImpl.java179
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/NegotiatorDefImpl.java44
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsFactoryImpl.java243
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsPackageImpl.java910
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/PasswordCredentialsProviderDefImpl.java184
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ProtocolProviderDefImpl.java44
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/RandomizerDefImpl.java52
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ResponseNegotiatorDefImpl.java161
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ServerProtocolFactoryDefImpl.java45
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPAcceptorDefImpl.java289
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPConnectorDefImpl.java352
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPSelectorDefImpl.java58
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserImpl.java219
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserManagerDefImpl.java161
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/ConnectorDefBuilder.java45
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsAdapterFactory.java522
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsSwitch.java618
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsUtil.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/TCPClientConnectorBuilder.java66
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.classpath7
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.cvsignore1
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.project28
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.settings/org.eclipse.jdt.core.prefs258
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/.settings/org.moreunit.prefs6
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/META-INF/MANIFEST.MF16
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/about.html29
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/build.properties23
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/copyright.txt8
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/epl-v10.html319
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/license.html319
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/model/org.eclipse.net4j.ui.defs.ecore7
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/model/org.eclipse.net4j.ui.defs.ecorediag67
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/model/org.eclipse.net4j.ui.defs.genmodel11
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/plugin.properties25
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/plugin.xml20
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/InteractiveCredentialsProviderDef.java22
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/Net4JUIDefsFactory.java46
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/Net4JUIDefsPackage.java126
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/impl/InteractiveCredentialsProviderDefImpl.java52
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/impl/Net4JUIDefsFactoryImpl.java99
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/impl/Net4JUIDefsPackageImpl.java184
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/util/Net4JUIDefsAdapterFactory.java142
-rw-r--r--plugins/org.eclipse.net4j.ui.defs/src/org/eclipse/net4j/net4juidefs/util/Net4JUIDefsSwitch.java148
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.classpath7
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.cvsignore1
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.project28
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.settings/org.eclipse.jdt.core.prefs266
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.settings/org.eclipse.jdt.ui.prefs112
-rw-r--r--plugins/org.eclipse.net4j.util.defs/.settings/org.moreunit.prefs6
-rw-r--r--plugins/org.eclipse.net4j.util.defs/META-INF/MANIFEST.MF16
-rw-r--r--plugins/org.eclipse.net4j.util.defs/about.html29
-rw-r--r--plugins/org.eclipse.net4j.util.defs/build.properties23
-rw-r--r--plugins/org.eclipse.net4j.util.defs/copyright.txt8
-rw-r--r--plugins/org.eclipse.net4j.util.defs/epl-v10.html319
-rw-r--r--plugins/org.eclipse.net4j.util.defs/license.html319
-rw-r--r--plugins/org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore18
-rw-r--r--plugins/org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecorediag117
-rw-r--r--plugins/org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.genmodel23
-rw-r--r--plugins/org.eclipse.net4j.util.defs/plugin.properties25
-rw-r--r--plugins/org.eclipse.net4j.util.defs/plugin.xml20
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/Def.java39
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/DefException.java18
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/DefsContainer.java72
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/ExecutorServiceDef.java21
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/Net4jUtilDefsFactory.java55
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/Net4jUtilDefsPackage.java297
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/ThreadPoolDef.java21
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/impl/DefImpl.java255
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/impl/DefsContainerImpl.java214
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/impl/ExecutorServiceDefImpl.java43
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/impl/Net4jUtilDefsFactoryImpl.java111
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/impl/Net4jUtilDefsPackageImpl.java267
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/impl/ThreadPoolDefImpl.java81
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/util/Net4jUtilDefsAdapterFactory.java180
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/util/Net4jUtilDefsSwitch.java200
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/net4jutildefs/util/Net4jUtilDefsUtil.java157
223 files changed, 29044 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.defs/.classpath b/plugins/org.eclipse.emf.cdo.defs/.classpath
new file mode 100644
index 0000000000..304e86186a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.emf.cdo.defs/.cvsignore b/plugins/org.eclipse.emf.cdo.defs/.cvsignore
new file mode 100644
index 0000000000..ba077a4031
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/plugins/org.eclipse.emf.cdo.defs/.project b/plugins/org.eclipse.emf.cdo.defs/.project
new file mode 100644
index 0000000000..494378ebc7
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.emf.cdo.defs</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..a1cef9a448
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Dec 18 13:30:26 CET 2008
+eclipse.preferences.version=1
+encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..43c49c0ea4
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,258 @@
+#Mon Dec 15 16:13:11 CET 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=2
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..4420bb92c8
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,5 @@
+#Wed Dec 17 14:17:04 CET 2008
+eclipse.preferences.version=1
+formatter_profile=_Unmanaged profile 'EMFT' mine
+formatter_settings_version=11
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
diff --git a/plugins/org.eclipse.emf.cdo.defs/.settings/org.moreunit.prefs b/plugins/org.eclipse.emf.cdo.defs/.settings/org.moreunit.prefs
new file mode 100644
index 0000000000..9a2bb4e32f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/.settings/org.moreunit.prefs
@@ -0,0 +1,6 @@
+#Wed Dec 03 16:37:15 CET 2008
+eclipse.preferences.version=1
+org.moreunit.flexiblenaming=true
+org.moreunit.prefixes=
+org.moreunit.unitsourcefolder=org.eclipse.emf.cdo.defs\:src\:org.eclipse.emf.cdo.defs.tests\:src
+org.moreunit.useprojectsettings=true
diff --git a/plugins/org.eclipse.emf.cdo.defs/META-INF/CDO.MF b/plugins/org.eclipse.emf.cdo.defs/META-INF/CDO.MF
new file mode 100644
index 0000000000..bbfa1b0550
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/META-INF/CDO.MF
@@ -0,0 +1 @@
+This is a marker file for bundles with CDO native models.
diff --git a/plugins/org.eclipse.emf.cdo.defs/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.defs/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..7fd028e57c
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.emf.cdo.defs;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.cdo;visibility:=reexport,
+ org.eclipse.net4j.defs;bundle-version="1.0.0",
+ org.eclipse.net4j.util.defs;bundle-version="1.0.0",
+ org.eclipse.emf.cdo.server;bundle-version="2.0.0"
+Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.emf.cdo.cdodefs,
+ org.eclipse.emf.cdo.cdodefs.impl,
+ org.eclipse.emf.cdo.cdodefs.util
diff --git a/plugins/org.eclipse.emf.cdo.defs/about.html b/plugins/org.eclipse.emf.cdo.defs/about.html
new file mode 100644
index 0000000000..d35d5aed64
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/plugins/org.eclipse.emf.cdo.defs/build.properties b/plugins/org.eclipse.emf.cdo.defs/build.properties
new file mode 100644
index 0000000000..8de8fa2c13
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/build.properties
@@ -0,0 +1,23 @@
+# Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+# 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:
+# Eike Stepper - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+bin.includes = .,\
+ META-INF/,\
+ plugin.properties,\
+ about.html,\
+ copyright.txt,\
+ epl-v10.html,\
+ license.html,\
+ plugin.xml,\
+ model/
+jars.compile.order = .
+source.. = src/
+output.. = bin/
diff --git a/plugins/org.eclipse.emf.cdo.defs/copyright.txt b/plugins/org.eclipse.emf.cdo.defs/copyright.txt
new file mode 100644
index 0000000000..529118d99e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/copyright.txt
@@ -0,0 +1,8 @@
+Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+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:
+ Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.defs/epl-v10.html b/plugins/org.eclipse.emf.cdo.defs/epl-v10.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/epl-v10.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.defs/license.html b/plugins/org.eclipse.emf.cdo.defs/license.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/license.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecore b/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecore
new file mode 100644
index 0000000000..657a00529c
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecore
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="cdodefs"
+ nsURI="http://www.eclipse.org/emf/CDO/defs/1.0.0" nsPrefix="cdodefs">
+ <eClassifiers xsi:type="ecore:EClass" name="CDOViewDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cdoSessionDef" lowerBound="1"
+ eType="#//CDOSessionDef"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOTransactionDef" eSuperTypes="#//CDOViewDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOAuditDef" eSuperTypes="#//CDOViewDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeStamp" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOSessionDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="connectorDef" lowerBound="1"
+ eType="ecore:EClass ../../org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore#//ConnectorDef"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="repositoryName" ordered="false"
+ unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cdoPackageRegistryDef"
+ lowerBound="1" eType="#//CDOPackageRegistryDef"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="legacySupportEnabled" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="failOverStrategyDef" eType="#//FailOverStrategyDef"
+ unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FailOverStrategyDef" abstract="true"
+ eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="connectorDef" lowerBound="1"
+ eType="ecore:EClass ../../org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore#//ConnectorDef"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RetryFailOverStrategyDef" eSuperTypes="#//FailOverStrategyDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="retries" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOPackageRegistryDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="packages" upperBound="-1"
+ eType="#//EPackageDef" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOEagerPackageRegistryDef" eSuperTypes="#//CDOPackageRegistryDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOLazyPackageRegistryDef" eSuperTypes="#//CDOPackageRegistryDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="EPackageDef" abstract="true" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nsURI" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EDynamicPackageDef" eSuperTypes="#//EPackageDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceURI" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EGlobalPackageDef" eSuperTypes="#//EPackageDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOClientProtocolFactoryDef" eSuperTypes="../../org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore#//ClientProtocolFactoryDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOServerProtocolFactoryDef" eSuperTypes="../../org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore#//ServerProtocolFactoryDef">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="repositoryProviderDef"
+ lowerBound="1" eType="#//RepositoryProviderDef"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RepositoryProviderDef" abstract="true"
+ eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+ <eClassifiers xsi:type="ecore:EClass" name="PluginRepositoryProviderDef" eSuperTypes="#//RepositoryProviderDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOResourceDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cdoTransaction" lowerBound="1"
+ eType="#//CDOTransactionDef"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceMode" lowerBound="1"
+ eType="#//ResourceMode" defaultValueLiteral="null"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="path" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ResourceMode">
+ <eLiterals name="GET"/>
+ <eLiterals name="CREATE"/>
+ <eLiterals name="GET_OR_CREATE"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecorediag b/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecorediag
new file mode 100644
index 0000000000..32f1d99940
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecorediag
@@ -0,0 +1,480 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" xmi:id="_pgl_cMz_Ed2cpYYbBdM6vg" type="EcoreTools" measurementUnit="Pixel">
+ <children xmi:type="notation:Node" xmi:id="_ptM4EMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptNfIMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptNfIcz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptNfIsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptNfI8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptNfJMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptNfJcz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptNfJsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptNfJ8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptNfKMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptM4Ecz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOViewDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptM4Esz_Ed2cpYYbBdM6vg" x="317" y="383"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptPUUMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptP7YMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptP7Ycz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptP7Ysz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptP7Y8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptP7ZMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptP7Zcz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptP7Zsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptP7Z8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptP7aMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptPUUcz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOTransactionDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptPUUsz_Ed2cpYYbBdM6vg" x="191" y="484"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptP7acz_Ed2cpYYbBdM6vg" type="1005">
+ <children xmi:type="notation:Node" xmi:id="_ptQicMz_Ed2cpYYbBdM6vg" type="4010"/>
+ <children xmi:type="notation:Node" xmi:id="_ptQiccz_Ed2cpYYbBdM6vg" type="5008">
+ <children xmi:type="notation:Node" xmi:id="_ptQidcz_Ed2cpYYbBdM6vg" type="2006">
+ <element xmi:type="ecore:EEnumLiteral" href="org.eclipse.emf.cdo.defs.ecore#//ResourceMode/GET"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptQidsz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptQid8z_Ed2cpYYbBdM6vg" type="2006">
+ <element xmi:type="ecore:EEnumLiteral" href="org.eclipse.emf.cdo.defs.ecore#//ResourceMode/CREATE"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptQieMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptRJgMz_Ed2cpYYbBdM6vg" type="2006">
+ <element xmi:type="ecore:EEnumLiteral" href="org.eclipse.emf.cdo.defs.ecore#//ResourceMode/GET_OR_CREATE"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptRJgcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptQicsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptQic8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptQidMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptP7asz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EEnum" href="org.eclipse.emf.cdo.defs.ecore#//ResourceMode"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptP7a8z_Ed2cpYYbBdM6vg" x="200"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptRJgsz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptRJhcz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptRJhsz_Ed2cpYYbBdM6vg" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_ptRwkMz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//CDOAuditDef/timeStamp"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptRwkcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptRJh8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptRJiMz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptRJicz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptRJisz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptRJi8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptRJjMz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptRJjcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptRJg8z_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOAuditDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptRJhMz_Ed2cpYYbBdM6vg" x="396" y="484"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptRwksz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptSXoMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_pthoMMz_Ed2cpYYbBdM6vg" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_ptvDkMz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/repositoryName"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptvDkcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptvDksz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/legacySupportEnabled"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptvDk8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pthoMcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pthoMsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pthoM8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pthoNMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pthoNcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pthoNsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptiPQMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptRwk8z_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptRwlMz_Ed2cpYYbBdM6vg" x="245" y="257"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptvDlMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptvqoMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptvqocz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptvqosz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptvqo8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptvqpMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptvqpcz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptvqpsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptvqp8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptvqqMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptvDlcz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//FailOverStrategyDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptvDlsz_Ed2cpYYbBdM6vg" x="130" y="148"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptvqqcz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptvqrMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptwRsMz_Ed2cpYYbBdM6vg" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_ptwRuMz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//RetryFailOverStrategyDef/retries"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptwRucz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptwRscz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptwRssz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptwRs8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptwRtMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptwRtcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptwRtsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptwRt8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptvqqsz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//RetryFailOverStrategyDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptvqq8z_Ed2cpYYbBdM6vg" y="257"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptwRusz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptw4wMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptw4wcz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptw4wsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptw4w8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptw4xMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptw4xcz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptw4xsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptw4x8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptw4yMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptwRu8z_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOPackageRegistryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptwRvMz_Ed2cpYYbBdM6vg" x="570" y="148"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptw4ycz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptw4zMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptxf0Mz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptxf0cz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptxf0sz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptxf08z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptxf1Mz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptxf1cz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptxf1sz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptxf18z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptw4ysz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOEagerPackageRegistryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptw4y8z_Ed2cpYYbBdM6vg" x="552" y="257"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptxf2Mz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptxf28z_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptxf3Mz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptxf3cz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptxf3sz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptxf38z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptyG4Mz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptyG4cz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptyG4sz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptyG48z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptxf2cz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOLazyPackageRegistryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptxf2sz_Ed2cpYYbBdM6vg" x="827" y="257"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptyG5Mz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptyG58z_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptyG6Mz_Ed2cpYYbBdM6vg" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_ptyt8Mz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//EPackageDef/nsURI"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptyt8cz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptyG6cz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptyG6sz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptyG68z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptyG7Mz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptyG7cz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptyG7sz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptyG78z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptyG5cz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//EPackageDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptyG5sz_Ed2cpYYbBdM6vg" x="597"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptyt8sz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptyt9cz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptyt9sz_Ed2cpYYbBdM6vg" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_ptzVAMz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//EDynamicPackageDef/resourceURI"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ptzVAcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptyt98z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptyt-Mz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptyt-cz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptyt-sz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptyt-8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptyt_Mz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptyt_cz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptyt88z_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//EDynamicPackageDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptyt9Mz_Ed2cpYYbBdM6vg" x="344" y="148"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptzVAsz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_ptzVBcz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ptzVBsz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptzVB8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptzVCMz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptzVCcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptzVCsz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ptzVC8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ptzVDMz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ptzVDcz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptzVA8z_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//EGlobalPackageDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptzVBMz_Ed2cpYYbBdM6vg" x="808" y="148"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ptz8EMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_pt1xQMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_pt1xQcz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt1xQsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt1xQ8z_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt1xRMz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt2YUMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt2YUcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt2YUsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt2YU8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ptz8Ecz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOClientProtocolFactoryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ptz8Esz_Ed2cpYYbBdM6vg" x="841"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt2YVMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_pt2YV8z_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_pt2YWMz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt2YWcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt2YWsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt2YW8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt2_YMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt2_Ycz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt2_Ysz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt2_Y8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_pt2YVcz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOServerProtocolFactoryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pt2YVsz_Ed2cpYYbBdM6vg" x="1014" y="148"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt2_ZMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_pt2_Z8z_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_pt2_aMz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt2_acz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt2_asz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt2_a8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt3mcMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt3mccz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt3mcsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt3mc8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_pt2_Zcz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//RepositoryProviderDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pt2_Zsz_Ed2cpYYbBdM6vg" x="1171"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt3mdMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_pt4NgMz_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_pt40kMz_Ed2cpYYbBdM6vg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt40kcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt40ksz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt40k8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt40lMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt40lcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt40lsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt40l8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_pt3mdcz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//PluginRepositoryProviderDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pt3mdsz_Ed2cpYYbBdM6vg" x="1288" y="148"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt5boMz_Ed2cpYYbBdM6vg" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_pt5bo8z_Ed2cpYYbBdM6vg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_pt5bpMz_Ed2cpYYbBdM6vg" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_pt6CsMz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//CDOResourceDef/resourceMode"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt6Cscz_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt6Cssz_Ed2cpYYbBdM6vg" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.defs.ecore#//CDOResourceDef/path"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt6Cs8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt5bpcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt5bpsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt5bp8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt5bqMz_Ed2cpYYbBdM6vg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_pt5bqcz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_pt5bqsz_Ed2cpYYbBdM6vg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_pt5bq8z_Ed2cpYYbBdM6vg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_pt5bocz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.defs.ecore#//CDOResourceDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pt5bosz_Ed2cpYYbBdM6vg" x="149" y="593"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_pgl_ccz_Ed2cpYYbBdM6vg"/>
+ <element xmi:type="ecore:EPackage" href="org.eclipse.emf.cdo.defs.ecore#/"/>
+ <edges xmi:type="notation:Edge" xmi:id="_pt6CtMz_Ed2cpYYbBdM6vg" type="3002" source="_ptM4EMz_Ed2cpYYbBdM6vg" target="_ptRwksz_Ed2cpYYbBdM6vg">
+ <children xmi:type="notation:Node" xmi:id="_pt6pwMz_Ed2cpYYbBdM6vg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt6pwcz_Ed2cpYYbBdM6vg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt6pwsz_Ed2cpYYbBdM6vg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt6pw8z_Ed2cpYYbBdM6vg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt6Ctcz_Ed2cpYYbBdM6vg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt6Ctsz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.emf.cdo.defs.ecore#//CDOViewDef/cdoSessionDef"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt6Ct8z_Ed2cpYYbBdM6vg" points="[1, 0, 1, 60]$[1, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3Kgsz_Ed2cpYYbBdM6vg" id="(0.49514562,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3Kg8z_Ed2cpYYbBdM6vg" id="(0.4979757,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt6pxMz_Ed2cpYYbBdM6vg" type="3003" source="_ptPUUMz_Ed2cpYYbBdM6vg" target="_ptM4EMz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt6pxcz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt6pxsz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt6px8z_Ed2cpYYbBdM6vg" points="[1, 0, -87, 60]$[1, -30, -87, 30]$[89, -30, 1, 30]$[89, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3xkcz_Ed2cpYYbBdM6vg" id="(0.49655172,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3xksz_Ed2cpYYbBdM6vg" id="(0.33009708,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt6pyMz_Ed2cpYYbBdM6vg" type="3003" source="_ptRJgsz_Ed2cpYYbBdM6vg" target="_ptM4EMz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt6pycz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt6pysz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt6py8z_Ed2cpYYbBdM6vg" points="[0, 0, 88, 60]$[0, -30, 88, 30]$[-87, -30, 1, 30]$[-87, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4YoMz_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4Yocz_Ed2cpYYbBdM6vg" id="(0.66019416,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt7Q0Mz_Ed2cpYYbBdM6vg" type="3002" source="_ptRwksz_Ed2cpYYbBdM6vg" target="_ptwRusz_Ed2cpYYbBdM6vg">
+ <children xmi:type="notation:Node" xmi:id="_pt7Q1Mz_Ed2cpYYbBdM6vg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt7Q1cz_Ed2cpYYbBdM6vg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt7Q1sz_Ed2cpYYbBdM6vg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt7Q18z_Ed2cpYYbBdM6vg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt7Q0cz_Ed2cpYYbBdM6vg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt7Q0sz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/cdoPackageRegistryDef"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt7Q08z_Ed2cpYYbBdM6vg" points="[1, 0, -205, 68]$[206, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv6N0Mz_Ed2cpYYbBdM6vg" id="(0.6639676,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv6N0cz_Ed2cpYYbBdM6vg" id="(0.24719101,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt7Q2Mz_Ed2cpYYbBdM6vg" type="3002" source="_ptRwksz_Ed2cpYYbBdM6vg" target="_ptvDlMz_Ed2cpYYbBdM6vg">
+ <children xmi:type="notation:Node" xmi:id="_pt7Q3Mz_Ed2cpYYbBdM6vg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt7Q3cz_Ed2cpYYbBdM6vg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt7Q3sz_Ed2cpYYbBdM6vg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt7Q38z_Ed2cpYYbBdM6vg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt7Q2cz_Ed2cpYYbBdM6vg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt7Q2sz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/failOverStrategyDef"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt7Q28z_Ed2cpYYbBdM6vg" points="[1, 0, 96, 68]$[-94, -68, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv6N0sz_Ed2cpYYbBdM6vg" id="(0.3319838,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv6N08z_Ed2cpYYbBdM6vg" id="(0.66233766,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt7Q4Mz_Ed2cpYYbBdM6vg" type="3003" source="_ptvqqcz_Ed2cpYYbBdM6vg" target="_ptvDlMz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt7Q4cz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt7Q4sz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt7Q48z_Ed2cpYYbBdM6vg" points="[1, 0, -88, 68]$[1, -30, -88, 38]$[90, -30, 1, 38]$[90, -68, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4_ssz_Ed2cpYYbBdM6vg" id="(0.4972973,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4_s8z_Ed2cpYYbBdM6vg" id="(0.33116883,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt734Mz_Ed2cpYYbBdM6vg" type="3002" source="_ptwRusz_Ed2cpYYbBdM6vg" target="_ptyG5Mz_Ed2cpYYbBdM6vg">
+ <children xmi:type="notation:Node" xmi:id="_pt735Mz_Ed2cpYYbBdM6vg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt735cz_Ed2cpYYbBdM6vg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt735sz_Ed2cpYYbBdM6vg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt7358z_Ed2cpYYbBdM6vg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt734cz_Ed2cpYYbBdM6vg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt734sz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.emf.cdo.defs.ecore#//CDOPackageRegistryDef/packages"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt7348z_Ed2cpYYbBdM6vg" points="[0, 0, 1, 99]$[0, -99, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3xk8z_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3xlMz_Ed2cpYYbBdM6vg" id="(0.496,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt736Mz_Ed2cpYYbBdM6vg" type="3003" source="_ptw4ycz_Ed2cpYYbBdM6vg" target="_ptwRusz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt736cz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt736sz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt7368z_Ed2cpYYbBdM6vg" points="[1, 0, 0, 68]$[1, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4_tMz_Ed2cpYYbBdM6vg" id="(0.4976744,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4_tcz_Ed2cpYYbBdM6vg" id="(0.5,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt737Mz_Ed2cpYYbBdM6vg" type="3003" source="_ptxf2Mz_Ed2cpYYbBdM6vg" target="_ptwRusz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt737cz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt737sz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt7378z_Ed2cpYYbBdM6vg" points="[0, 0, 228, 68]$[0, -30, 228, 38]$[-228, -30, 0, 38]$[-228, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4_sMz_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4_scz_Ed2cpYYbBdM6vg" id="(0.747191,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt8e-Mz_Ed2cpYYbBdM6vg" type="3003" source="_ptyt8sz_Ed2cpYYbBdM6vg" target="_ptyG5Mz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt8e-cz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt8e-sz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt8e-8z_Ed2cpYYbBdM6vg" points="[0, 0, -200, 99]$[0, -30, -200, 69]$[201, -30, 1, 69]$[201, -99, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4Yosz_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv4Yo8z_Ed2cpYYbBdM6vg" id="(0.248,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt8e_Mz_Ed2cpYYbBdM6vg" type="3003" source="_ptzVAsz_Ed2cpYYbBdM6vg" target="_ptyG5Mz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt8e_cz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt8e_sz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt8e_8z_Ed2cpYYbBdM6vg" points="[0, 0, 191, 99]$[0, -30, 191, 69]$[-191, -30, 0, 69]$[-191, -99, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3KgMz_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv3Kgcz_Ed2cpYYbBdM6vg" id="(0.744,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt8fAMz_Ed2cpYYbBdM6vg" type="3002" source="_pt2YVMz_Ed2cpYYbBdM6vg" target="_pt2_ZMz_Ed2cpYYbBdM6vg">
+ <children xmi:type="notation:Node" xmi:id="_pt9GAMz_Ed2cpYYbBdM6vg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt9GAcz_Ed2cpYYbBdM6vg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt9GAsz_Ed2cpYYbBdM6vg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt9GA8z_Ed2cpYYbBdM6vg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt8fAcz_Ed2cpYYbBdM6vg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt8fAsz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.emf.cdo.defs.ecore#//CDOServerProtocolFactoryDef/repositoryProviderDef"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt8fA8z_Ed2cpYYbBdM6vg" points="[0, 0, -106, 107]$[106, -107, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv5mwsz_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv5mw8z_Ed2cpYYbBdM6vg" id="(0.33333334,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt9GBMz_Ed2cpYYbBdM6vg" type="3003" source="_pt3mdMz_Ed2cpYYbBdM6vg" target="_pt2_ZMz_Ed2cpYYbBdM6vg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt9GBcz_Ed2cpYYbBdM6vg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt9GBsz_Ed2cpYYbBdM6vg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt9GB8z_Ed2cpYYbBdM6vg" points="[0, 0, 107, 107]$[0, -30, 107, 77]$[-107, -30, 0, 77]$[-107, -107, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv2jcMz_Ed2cpYYbBdM6vg" id="(0.49756098,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv2jccz_Ed2cpYYbBdM6vg" id="(0.6666667,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_pt9GCMz_Ed2cpYYbBdM6vg" type="3002" source="_pt5boMz_Ed2cpYYbBdM6vg" target="_ptPUUMz_Ed2cpYYbBdM6vg">
+ <children xmi:type="notation:Node" xmi:id="_pt9GDMz_Ed2cpYYbBdM6vg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt9GDcz_Ed2cpYYbBdM6vg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_pt9GDsz_Ed2cpYYbBdM6vg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_pt9GD8z_Ed2cpYYbBdM6vg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_pt9GCcz_Ed2cpYYbBdM6vg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_pt9GCsz_Ed2cpYYbBdM6vg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.emf.cdo.defs.ecore#//CDOResourceDef/cdoTransaction"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_pt9GC8z_Ed2cpYYbBdM6vg" points="[0, 0, 1, 68]$[0, -68, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv5mwMz_Ed2cpYYbBdM6vg" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pv5mwcz_Ed2cpYYbBdM6vg" id="(0.49655172,1.0)"/>
+ </edges>
+</notation:Diagram>
diff --git a/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.genmodel b/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.genmodel
new file mode 100644
index 0000000000..5fa08c68a6
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.genmodel
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.cdo.defs/src"
+ modelPluginID="org.eclipse.emf.cdo.defs" modelName="Org.eclipse.emf.cdo" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.genmodel#//net4jutildefs ../../org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel#//net4jdefs">
+ <foreignModel>org.eclipse.emf.cdo.defs.ecore</foreignModel>
+ <genPackages prefix="CDODefs" basePackage="org.eclipse.emf.cdo" disposableProviderFactory="true"
+ ecorePackage="org.eclipse.emf.cdo.defs.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="org.eclipse.emf.cdo.defs.ecore#//ResourceMode">
+ <genEnumLiterals ecoreEnumLiteral="org.eclipse.emf.cdo.defs.ecore#//ResourceMode/GET"/>
+ <genEnumLiterals ecoreEnumLiteral="org.eclipse.emf.cdo.defs.ecore#//ResourceMode/CREATE"/>
+ <genEnumLiterals ecoreEnumLiteral="org.eclipse.emf.cdo.defs.ecore#//ResourceMode/GET_OR_CREATE"/>
+ </genEnums>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOViewDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//CDOViewDef/cdoSessionDef"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOTransactionDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//CDOTransactionDef/resourceMode"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOAuditDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//CDOAuditDef/timeStamp"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/connectorDef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/repositoryName"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/cdoPackageRegistryDef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/legacySupportEnabled"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//CDOSessionDef/failOverStrategyDef"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="org.eclipse.emf.cdo.defs.ecore#//FailOverStrategyDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//FailOverStrategyDef/connectorDef"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//RetryFailOverStrategyDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//RetryFailOverStrategyDef/retries"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOPackageRegistryDef">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//CDOPackageRegistryDef/packages"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOEagerPackageRegistryDef"/>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOLazyPackageRegistryDef"/>
+ <genClasses image="false" ecoreClass="org.eclipse.emf.cdo.defs.ecore#//EPackageDef">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//EPackageDef/packageRegistryDef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//EPackageDef/nsURI"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//EDynamicPackageDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.defs.ecore#//EDynamicPackageDef/resourceURI"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//EGlobalPackageDef"/>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOClientProtocolFactoryDef"/>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//CDOServerProtocolFactoryDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.defs.ecore#//CDOServerProtocolFactoryDef/repositoryProviderDef"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="org.eclipse.emf.cdo.defs.ecore#//RepositoryProviderDef"/>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.defs.ecore#//PluginRepositoryProviderDef"/>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.defs/plugin.properties b/plugins/org.eclipse.emf.cdo.defs/plugin.properties
new file mode 100644
index 0000000000..56979e2814
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/plugin.properties
@@ -0,0 +1,25 @@
+# Copyright (c) 2004 - 2008 André Dietisheim, Switzerland.
+# 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:
+# André Dietisheim - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+pluginName = CDO Model Repository Definitions
+providerName = Eclipse.org
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.defs/plugin.xml b/plugins/org.eclipse.emf.cdo.defs/plugin.xml
new file mode 100644
index 0000000000..959167cee5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/plugin.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id: plugin.xml,v 1.1 2008-12-28 18:05:25 estepper Exp $
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.eclipse.org/emf/CDO/defs/1.0.0"
+ class="org.eclipse.emf.cdo.cdodefs.CDODefsPackage"
+ genModel="model/org.eclipse.net4j.defs.genmodel"/>
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOAuditDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOAuditDef.java
new file mode 100644
index 0000000000..9211c8b5a4
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOAuditDef.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOAuditDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Audit Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOAuditDef#getTimeStamp <em>Time Stamp</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOAuditDef()
+ * @model
+ * @generated
+ */
+public interface CDOAuditDef extends CDOViewDef {
+ /**
+ * Returns the value of the '<em><b>Time Stamp</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Time Stamp</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Time Stamp</em>' attribute.
+ * @see #setTimeStamp(Date)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOAuditDef_TimeStamp()
+ * @model required="true"
+ * @generated
+ */
+ Date getTimeStamp();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOAuditDef#getTimeStamp <em>Time Stamp</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Time Stamp</em>' attribute.
+ * @see #getTimeStamp()
+ * @generated
+ */
+ void setTimeStamp(Date value);
+
+} // CDOAuditDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolFactoryDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolFactoryDef.java
new file mode 100644
index 0000000000..f18af73d92
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolFactoryDef.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOClientProtocolFactoryDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Client Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOClientProtocolFactoryDef()
+ * @model
+ * @generated
+ */
+public interface CDOClientProtocolFactoryDef extends ClientProtocolFactoryDef {
+} // CDOClientProtocolFactoryDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolProviderDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolProviderDef.java
new file mode 100644
index 0000000000..07d33be094
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOClientProtocolProviderDef.java
@@ -0,0 +1,23 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOClientProtocolProviderDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Client Protocol Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CdodefsPackage#getCDOClientProtocolProviderDef()
+ * @model
+ * @generated
+ */
+public interface CDOClientProtocolProviderDef extends ProtocolProviderDef {
+} // CDOClientProtocolProviderDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsFactory.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsFactory.java
new file mode 100644
index 0000000000..095d9fce9d
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsFactory.java
@@ -0,0 +1,163 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDODefsFactory.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage
+ * @generated
+ */
+public interface CDODefsFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CDODefsFactory eINSTANCE = org.eclipse.emf.cdo.cdodefs.impl.CDODefsFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>CDO View Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO View Def</em>'.
+ * @generated
+ */
+ CDOViewDef createCDOViewDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Transaction Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Transaction Def</em>'.
+ * @generated
+ */
+ CDOTransactionDef createCDOTransactionDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Audit Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Audit Def</em>'.
+ * @generated
+ */
+ CDOAuditDef createCDOAuditDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Session Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Session Def</em>'.
+ * @generated
+ */
+ CDOSessionDef createCDOSessionDef();
+
+ /**
+ * Returns a new object of class '<em>Retry Fail Over Strategy Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Retry Fail Over Strategy Def</em>'.
+ * @generated
+ */
+ RetryFailOverStrategyDef createRetryFailOverStrategyDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Package Registry Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Package Registry Def</em>'.
+ * @generated
+ */
+ CDOPackageRegistryDef createCDOPackageRegistryDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Eager Package Registry Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Eager Package Registry Def</em>'.
+ * @generated
+ */
+ CDOEagerPackageRegistryDef createCDOEagerPackageRegistryDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Lazy Package Registry Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Lazy Package Registry Def</em>'.
+ * @generated
+ */
+ CDOLazyPackageRegistryDef createCDOLazyPackageRegistryDef();
+
+ /**
+ * Returns a new object of class '<em>EDynamic Package Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EDynamic Package Def</em>'.
+ * @generated
+ */
+ EDynamicPackageDef createEDynamicPackageDef();
+
+ /**
+ * Returns a new object of class '<em>EGlobal Package Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>EGlobal Package Def</em>'.
+ * @generated
+ */
+ EGlobalPackageDef createEGlobalPackageDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Client Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Client Protocol Factory Def</em>'.
+ * @generated
+ */
+ CDOClientProtocolFactoryDef createCDOClientProtocolFactoryDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Server Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Server Protocol Factory Def</em>'.
+ * @generated
+ */
+ CDOServerProtocolFactoryDef createCDOServerProtocolFactoryDef();
+
+ /**
+ * Returns a new object of class '<em>Plugin Repository Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Plugin Repository Provider Def</em>'.
+ * @generated
+ */
+ PluginRepositoryProviderDef createPluginRepositoryProviderDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Resource Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Resource Def</em>'.
+ * @generated
+ */
+ CDOResourceDef createCDOResourceDef();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ CDODefsPackage getCDODefsPackage();
+
+} //CDODefsFactory
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsPackage.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsPackage.java
new file mode 100644
index 0000000000..fcd386dc8a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDODefsPackage.java
@@ -0,0 +1,1295 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDODefsPackage.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface CDODefsPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "cdodefs";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/CDO/defs/1.0.0";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "cdodefs";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CDODefsPackage eINSTANCE = org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOViewDefImpl <em>CDO View Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOViewDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOViewDef()
+ * @generated
+ */
+ int CDO_VIEW_DEF = 0;
+
+ /**
+ * The feature id for the '<em><b>Cdo Session Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_VIEW_DEF__CDO_SESSION_DEF = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>CDO View Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_VIEW_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOTransactionDefImpl <em>CDO Transaction Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOTransactionDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOTransactionDef()
+ * @generated
+ */
+ int CDO_TRANSACTION_DEF = 1;
+
+ /**
+ * The feature id for the '<em><b>Cdo Session Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_TRANSACTION_DEF__CDO_SESSION_DEF = CDO_VIEW_DEF__CDO_SESSION_DEF;
+
+ /**
+ * The number of structural features of the '<em>CDO Transaction Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_TRANSACTION_DEF_FEATURE_COUNT = CDO_VIEW_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOAuditDefImpl <em>CDO Audit Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOAuditDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOAuditDef()
+ * @generated
+ */
+ int CDO_AUDIT_DEF = 2;
+
+ /**
+ * The feature id for the '<em><b>Cdo Session Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_AUDIT_DEF__CDO_SESSION_DEF = CDO_VIEW_DEF__CDO_SESSION_DEF;
+
+ /**
+ * The feature id for the '<em><b>Time Stamp</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_AUDIT_DEF__TIME_STAMP = CDO_VIEW_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>CDO Audit Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_AUDIT_DEF_FEATURE_COUNT = CDO_VIEW_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl <em>CDO Session Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOSessionDef()
+ * @generated
+ */
+ int CDO_SESSION_DEF = 3;
+
+ /**
+ * The feature id for the '<em><b>Connector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SESSION_DEF__CONNECTOR_DEF = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Repository Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SESSION_DEF__REPOSITORY_NAME = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Cdo Package Registry Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Legacy Support Enabled</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Fail Over Strategy Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>CDO Session Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SESSION_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.FailOverStrategyDefImpl <em>Fail Over Strategy Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.FailOverStrategyDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getFailOverStrategyDef()
+ * @generated
+ */
+ int FAIL_OVER_STRATEGY_DEF = 4;
+
+ /**
+ * The feature id for the '<em><b>Connector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Fail Over Strategy Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FAIL_OVER_STRATEGY_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.RetryFailOverStrategyDefImpl <em>Retry Fail Over Strategy Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.RetryFailOverStrategyDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getRetryFailOverStrategyDef()
+ * @generated
+ */
+ int RETRY_FAIL_OVER_STRATEGY_DEF = 5;
+
+ /**
+ * The feature id for the '<em><b>Connector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RETRY_FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF = FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF;
+
+ /**
+ * The feature id for the '<em><b>Retries</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES = FAIL_OVER_STRATEGY_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Retry Fail Over Strategy Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RETRY_FAIL_OVER_STRATEGY_DEF_FEATURE_COUNT = FAIL_OVER_STRATEGY_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOPackageRegistryDefImpl <em>CDO Package Registry Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOPackageRegistryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOPackageRegistryDef()
+ * @generated
+ */
+ int CDO_PACKAGE_REGISTRY_DEF = 6;
+
+ /**
+ * The feature id for the '<em><b>Packages</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_PACKAGE_REGISTRY_DEF__PACKAGES = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>CDO Package Registry Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_PACKAGE_REGISTRY_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOEagerPackageRegistryDefImpl <em>CDO Eager Package Registry Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOEagerPackageRegistryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOEagerPackageRegistryDef()
+ * @generated
+ */
+ int CDO_EAGER_PACKAGE_REGISTRY_DEF = 7;
+
+ /**
+ * The feature id for the '<em><b>Packages</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_EAGER_PACKAGE_REGISTRY_DEF__PACKAGES = CDO_PACKAGE_REGISTRY_DEF__PACKAGES;
+
+ /**
+ * The number of structural features of the '<em>CDO Eager Package Registry Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_EAGER_PACKAGE_REGISTRY_DEF_FEATURE_COUNT = CDO_PACKAGE_REGISTRY_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOLazyPackageRegistryDefImpl <em>CDO Lazy Package Registry Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOLazyPackageRegistryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOLazyPackageRegistryDef()
+ * @generated
+ */
+ int CDO_LAZY_PACKAGE_REGISTRY_DEF = 8;
+
+ /**
+ * The feature id for the '<em><b>Packages</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_LAZY_PACKAGE_REGISTRY_DEF__PACKAGES = CDO_PACKAGE_REGISTRY_DEF__PACKAGES;
+
+ /**
+ * The number of structural features of the '<em>CDO Lazy Package Registry Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_LAZY_PACKAGE_REGISTRY_DEF_FEATURE_COUNT = CDO_PACKAGE_REGISTRY_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.EPackageDefImpl <em>EPackage Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.EPackageDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getEPackageDef()
+ * @generated
+ */
+ int EPACKAGE_DEF = 9;
+
+ /**
+ * The feature id for the '<em><b>Ns URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EPACKAGE_DEF__NS_URI = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EPackage Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EPACKAGE_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.EDynamicPackageDefImpl <em>EDynamic Package Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.EDynamicPackageDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getEDynamicPackageDef()
+ * @generated
+ */
+ int EDYNAMIC_PACKAGE_DEF = 10;
+
+ /**
+ * The feature id for the '<em><b>Ns URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDYNAMIC_PACKAGE_DEF__NS_URI = EPACKAGE_DEF__NS_URI;
+
+ /**
+ * The feature id for the '<em><b>Resource URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDYNAMIC_PACKAGE_DEF__RESOURCE_URI = EPACKAGE_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EDynamic Package Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDYNAMIC_PACKAGE_DEF_FEATURE_COUNT = EPACKAGE_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.EGlobalPackageDefImpl <em>EGlobal Package Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.EGlobalPackageDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getEGlobalPackageDef()
+ * @generated
+ */
+ int EGLOBAL_PACKAGE_DEF = 11;
+
+ /**
+ * The feature id for the '<em><b>Ns URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EGLOBAL_PACKAGE_DEF__NS_URI = EPACKAGE_DEF__NS_URI;
+
+ /**
+ * The number of structural features of the '<em>EGlobal Package Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EGLOBAL_PACKAGE_DEF_FEATURE_COUNT = EPACKAGE_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOClientProtocolFactoryDefImpl <em>CDO Client Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOClientProtocolFactoryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOClientProtocolFactoryDef()
+ * @generated
+ */
+ int CDO_CLIENT_PROTOCOL_FACTORY_DEF = 12;
+
+ /**
+ * The number of structural features of the '<em>CDO Client Protocol Factory Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_CLIENT_PROTOCOL_FACTORY_DEF_FEATURE_COUNT = Net4jDefsPackage.CLIENT_PROTOCOL_FACTORY_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOServerProtocolFactoryDefImpl <em>CDO Server Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOServerProtocolFactoryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOServerProtocolFactoryDef()
+ * @generated
+ */
+ int CDO_SERVER_PROTOCOL_FACTORY_DEF = 13;
+
+ /**
+ * The feature id for the '<em><b>Repository Provider Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF = Net4jDefsPackage.SERVER_PROTOCOL_FACTORY_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>CDO Server Protocol Factory Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_SERVER_PROTOCOL_FACTORY_DEF_FEATURE_COUNT = Net4jDefsPackage.SERVER_PROTOCOL_FACTORY_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.RepositoryProviderDefImpl <em>Repository Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.RepositoryProviderDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getRepositoryProviderDef()
+ * @generated
+ */
+ int REPOSITORY_PROVIDER_DEF = 14;
+
+ /**
+ * The number of structural features of the '<em>Repository Provider Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REPOSITORY_PROVIDER_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.PluginRepositoryProviderDefImpl <em>Plugin Repository Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.PluginRepositoryProviderDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getPluginRepositoryProviderDef()
+ * @generated
+ */
+ int PLUGIN_REPOSITORY_PROVIDER_DEF = 15;
+
+ /**
+ * The number of structural features of the '<em>Plugin Repository Provider Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PLUGIN_REPOSITORY_PROVIDER_DEF_FEATURE_COUNT = REPOSITORY_PROVIDER_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOResourceDefImpl <em>CDO Resource Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOResourceDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOResourceDef()
+ * @generated
+ */
+ int CDO_RESOURCE_DEF = 16;
+
+ /**
+ * The feature id for the '<em><b>Cdo Transaction</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_RESOURCE_DEF__CDO_TRANSACTION = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Resource Mode</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_RESOURCE_DEF__RESOURCE_MODE = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_RESOURCE_DEF__PATH = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>CDO Resource Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_RESOURCE_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.cdodefs.ResourceMode <em>Resource Mode</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.ResourceMode
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getResourceMode()
+ * @generated
+ */
+ int RESOURCE_MODE = 17;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOViewDef <em>CDO View Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO View Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOViewDef
+ * @generated
+ */
+ EClass getCDOViewDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.CDOViewDef#getCdoSessionDef <em>Cdo Session Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Cdo Session Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOViewDef#getCdoSessionDef()
+ * @see #getCDOViewDef()
+ * @generated
+ */
+ EReference getCDOViewDef_CdoSessionDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOTransactionDef <em>CDO Transaction Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Transaction Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOTransactionDef
+ * @generated
+ */
+ EClass getCDOTransactionDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOAuditDef <em>CDO Audit Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Audit Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOAuditDef
+ * @generated
+ */
+ EClass getCDOAuditDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.CDOAuditDef#getTimeStamp <em>Time Stamp</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Time Stamp</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOAuditDef#getTimeStamp()
+ * @see #getCDOAuditDef()
+ * @generated
+ */
+ EAttribute getCDOAuditDef_TimeStamp();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef <em>CDO Session Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Session Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef
+ * @generated
+ */
+ EClass getCDOSessionDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getConnectorDef <em>Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Connector Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getConnectorDef()
+ * @see #getCDOSessionDef()
+ * @generated
+ */
+ EReference getCDOSessionDef_ConnectorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getRepositoryName <em>Repository Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Repository Name</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getRepositoryName()
+ * @see #getCDOSessionDef()
+ * @generated
+ */
+ EAttribute getCDOSessionDef_RepositoryName();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getCdoPackageRegistryDef <em>Cdo Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Cdo Package Registry Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getCdoPackageRegistryDef()
+ * @see #getCDOSessionDef()
+ * @generated
+ */
+ EReference getCDOSessionDef_CdoPackageRegistryDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#isLegacySupportEnabled <em>Legacy Support Enabled</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Legacy Support Enabled</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef#isLegacySupportEnabled()
+ * @see #getCDOSessionDef()
+ * @generated
+ */
+ EAttribute getCDOSessionDef_LegacySupportEnabled();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getFailOverStrategyDef <em>Fail Over Strategy Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Fail Over Strategy Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getFailOverStrategyDef()
+ * @see #getCDOSessionDef()
+ * @generated
+ */
+ EReference getCDOSessionDef_FailOverStrategyDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef <em>Fail Over Strategy Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Fail Over Strategy Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef
+ * @generated
+ */
+ EClass getFailOverStrategyDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef#getConnectorDef <em>Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Connector Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef#getConnectorDef()
+ * @see #getFailOverStrategyDef()
+ * @generated
+ */
+ EReference getFailOverStrategyDef_ConnectorDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef <em>Retry Fail Over Strategy Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Retry Fail Over Strategy Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef
+ * @generated
+ */
+ EClass getRetryFailOverStrategyDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef#getRetries <em>Retries</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Retries</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef#getRetries()
+ * @see #getRetryFailOverStrategyDef()
+ * @generated
+ */
+ EAttribute getRetryFailOverStrategyDef_Retries();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef <em>CDO Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Package Registry Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef
+ * @generated
+ */
+ EClass getCDOPackageRegistryDef();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef#getPackages <em>Packages</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Packages</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef#getPackages()
+ * @see #getCDOPackageRegistryDef()
+ * @generated
+ */
+ EReference getCDOPackageRegistryDef_Packages();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef <em>CDO Eager Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Eager Package Registry Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef
+ * @generated
+ */
+ EClass getCDOEagerPackageRegistryDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef <em>CDO Lazy Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Lazy Package Registry Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef
+ * @generated
+ */
+ EClass getCDOLazyPackageRegistryDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.EPackageDef <em>EPackage Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EPackage Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.EPackageDef
+ * @generated
+ */
+ EClass getEPackageDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.EPackageDef#getNsURI <em>Ns URI</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Ns URI</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.EPackageDef#getNsURI()
+ * @see #getEPackageDef()
+ * @generated
+ */
+ EAttribute getEPackageDef_NsURI();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef <em>EDynamic Package Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EDynamic Package Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef
+ * @generated
+ */
+ EClass getEDynamicPackageDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef#getResourceURI <em>Resource URI</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Resource URI</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef#getResourceURI()
+ * @see #getEDynamicPackageDef()
+ * @generated
+ */
+ EAttribute getEDynamicPackageDef_ResourceURI();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef <em>EGlobal Package Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EGlobal Package Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef
+ * @generated
+ */
+ EClass getEGlobalPackageDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef <em>CDO Client Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Client Protocol Factory Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef
+ * @generated
+ */
+ EClass getCDOClientProtocolFactoryDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef <em>CDO Server Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Server Protocol Factory Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef
+ * @generated
+ */
+ EClass getCDOServerProtocolFactoryDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef#getRepositoryProviderDef <em>Repository Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Repository Provider Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef#getRepositoryProviderDef()
+ * @see #getCDOServerProtocolFactoryDef()
+ * @generated
+ */
+ EReference getCDOServerProtocolFactoryDef_RepositoryProviderDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef <em>Repository Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Repository Provider Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef
+ * @generated
+ */
+ EClass getRepositoryProviderDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef <em>Plugin Repository Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Plugin Repository Provider Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef
+ * @generated
+ */
+ EClass getPluginRepositoryProviderDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef <em>CDO Resource Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Resource Def</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOResourceDef
+ * @generated
+ */
+ EClass getCDOResourceDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getCdoTransaction <em>Cdo Transaction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Cdo Transaction</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getCdoTransaction()
+ * @see #getCDOResourceDef()
+ * @generated
+ */
+ EReference getCDOResourceDef_CdoTransaction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getResourceMode <em>Resource Mode</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Resource Mode</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getResourceMode()
+ * @see #getCDOResourceDef()
+ * @generated
+ */
+ EAttribute getCDOResourceDef_ResourceMode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getPath <em>Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Path</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getPath()
+ * @see #getCDOResourceDef()
+ * @generated
+ */
+ EAttribute getCDOResourceDef_Path();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.emf.cdo.cdodefs.ResourceMode <em>Resource Mode</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Resource Mode</em>'.
+ * @see org.eclipse.emf.cdo.cdodefs.ResourceMode
+ * @generated
+ */
+ EEnum getResourceMode();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ CDODefsFactory getCDODefsFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOViewDefImpl <em>CDO View Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOViewDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOViewDef()
+ * @generated
+ */
+ EClass CDO_VIEW_DEF = eINSTANCE.getCDOViewDef();
+
+ /**
+ * The meta object literal for the '<em><b>Cdo Session Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_VIEW_DEF__CDO_SESSION_DEF = eINSTANCE.getCDOViewDef_CdoSessionDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOTransactionDefImpl <em>CDO Transaction Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOTransactionDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOTransactionDef()
+ * @generated
+ */
+ EClass CDO_TRANSACTION_DEF = eINSTANCE.getCDOTransactionDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOAuditDefImpl <em>CDO Audit Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOAuditDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOAuditDef()
+ * @generated
+ */
+ EClass CDO_AUDIT_DEF = eINSTANCE.getCDOAuditDef();
+
+ /**
+ * The meta object literal for the '<em><b>Time Stamp</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_AUDIT_DEF__TIME_STAMP = eINSTANCE.getCDOAuditDef_TimeStamp();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl <em>CDO Session Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOSessionDef()
+ * @generated
+ */
+ EClass CDO_SESSION_DEF = eINSTANCE.getCDOSessionDef();
+
+ /**
+ * The meta object literal for the '<em><b>Connector Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_SESSION_DEF__CONNECTOR_DEF = eINSTANCE.getCDOSessionDef_ConnectorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Repository Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_SESSION_DEF__REPOSITORY_NAME = eINSTANCE.getCDOSessionDef_RepositoryName();
+
+ /**
+ * The meta object literal for the '<em><b>Cdo Package Registry Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF = eINSTANCE.getCDOSessionDef_CdoPackageRegistryDef();
+
+ /**
+ * The meta object literal for the '<em><b>Legacy Support Enabled</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED = eINSTANCE.getCDOSessionDef_LegacySupportEnabled();
+
+ /**
+ * The meta object literal for the '<em><b>Fail Over Strategy Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF = eINSTANCE.getCDOSessionDef_FailOverStrategyDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.FailOverStrategyDefImpl <em>Fail Over Strategy Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.FailOverStrategyDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getFailOverStrategyDef()
+ * @generated
+ */
+ EClass FAIL_OVER_STRATEGY_DEF = eINSTANCE.getFailOverStrategyDef();
+
+ /**
+ * The meta object literal for the '<em><b>Connector Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF = eINSTANCE.getFailOverStrategyDef_ConnectorDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.RetryFailOverStrategyDefImpl <em>Retry Fail Over Strategy Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.RetryFailOverStrategyDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getRetryFailOverStrategyDef()
+ * @generated
+ */
+ EClass RETRY_FAIL_OVER_STRATEGY_DEF = eINSTANCE.getRetryFailOverStrategyDef();
+
+ /**
+ * The meta object literal for the '<em><b>Retries</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES = eINSTANCE.getRetryFailOverStrategyDef_Retries();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOPackageRegistryDefImpl <em>CDO Package Registry Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOPackageRegistryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOPackageRegistryDef()
+ * @generated
+ */
+ EClass CDO_PACKAGE_REGISTRY_DEF = eINSTANCE.getCDOPackageRegistryDef();
+
+ /**
+ * The meta object literal for the '<em><b>Packages</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_PACKAGE_REGISTRY_DEF__PACKAGES = eINSTANCE.getCDOPackageRegistryDef_Packages();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOEagerPackageRegistryDefImpl <em>CDO Eager Package Registry Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOEagerPackageRegistryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOEagerPackageRegistryDef()
+ * @generated
+ */
+ EClass CDO_EAGER_PACKAGE_REGISTRY_DEF = eINSTANCE.getCDOEagerPackageRegistryDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOLazyPackageRegistryDefImpl <em>CDO Lazy Package Registry Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOLazyPackageRegistryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOLazyPackageRegistryDef()
+ * @generated
+ */
+ EClass CDO_LAZY_PACKAGE_REGISTRY_DEF = eINSTANCE.getCDOLazyPackageRegistryDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.EPackageDefImpl <em>EPackage Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.EPackageDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getEPackageDef()
+ * @generated
+ */
+ EClass EPACKAGE_DEF = eINSTANCE.getEPackageDef();
+
+ /**
+ * The meta object literal for the '<em><b>Ns URI</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EPACKAGE_DEF__NS_URI = eINSTANCE.getEPackageDef_NsURI();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.EDynamicPackageDefImpl <em>EDynamic Package Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.EDynamicPackageDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getEDynamicPackageDef()
+ * @generated
+ */
+ EClass EDYNAMIC_PACKAGE_DEF = eINSTANCE.getEDynamicPackageDef();
+
+ /**
+ * The meta object literal for the '<em><b>Resource URI</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EDYNAMIC_PACKAGE_DEF__RESOURCE_URI = eINSTANCE.getEDynamicPackageDef_ResourceURI();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.EGlobalPackageDefImpl <em>EGlobal Package Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.EGlobalPackageDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getEGlobalPackageDef()
+ * @generated
+ */
+ EClass EGLOBAL_PACKAGE_DEF = eINSTANCE.getEGlobalPackageDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOClientProtocolFactoryDefImpl <em>CDO Client Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOClientProtocolFactoryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOClientProtocolFactoryDef()
+ * @generated
+ */
+ EClass CDO_CLIENT_PROTOCOL_FACTORY_DEF = eINSTANCE.getCDOClientProtocolFactoryDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOServerProtocolFactoryDefImpl <em>CDO Server Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOServerProtocolFactoryDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOServerProtocolFactoryDef()
+ * @generated
+ */
+ EClass CDO_SERVER_PROTOCOL_FACTORY_DEF = eINSTANCE.getCDOServerProtocolFactoryDef();
+
+ /**
+ * The meta object literal for the '<em><b>Repository Provider Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF = eINSTANCE.getCDOServerProtocolFactoryDef_RepositoryProviderDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.RepositoryProviderDefImpl <em>Repository Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.RepositoryProviderDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getRepositoryProviderDef()
+ * @generated
+ */
+ EClass REPOSITORY_PROVIDER_DEF = eINSTANCE.getRepositoryProviderDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.PluginRepositoryProviderDefImpl <em>Plugin Repository Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.PluginRepositoryProviderDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getPluginRepositoryProviderDef()
+ * @generated
+ */
+ EClass PLUGIN_REPOSITORY_PROVIDER_DEF = eINSTANCE.getPluginRepositoryProviderDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.impl.CDOResourceDefImpl <em>CDO Resource Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDOResourceDefImpl
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getCDOResourceDef()
+ * @generated
+ */
+ EClass CDO_RESOURCE_DEF = eINSTANCE.getCDOResourceDef();
+
+ /**
+ * The meta object literal for the '<em><b>Cdo Transaction</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_RESOURCE_DEF__CDO_TRANSACTION = eINSTANCE.getCDOResourceDef_CdoTransaction();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Mode</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_RESOURCE_DEF__RESOURCE_MODE = eINSTANCE.getCDOResourceDef_ResourceMode();
+
+ /**
+ * The meta object literal for the '<em><b>Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_RESOURCE_DEF__PATH = eINSTANCE.getCDOResourceDef_Path();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.cdodefs.ResourceMode <em>Resource Mode</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.ResourceMode
+ * @see org.eclipse.emf.cdo.cdodefs.impl.CDODefsPackageImpl#getResourceMode()
+ * @generated
+ */
+ EEnum RESOURCE_MODE = eINSTANCE.getResourceMode();
+
+ }
+
+} //CDODefsPackage
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOEagerPackageRegistryDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOEagerPackageRegistryDef.java
new file mode 100644
index 0000000000..d6dfc282ac
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOEagerPackageRegistryDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOEagerPackageRegistryDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Eager Package Registry Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOEagerPackageRegistryDef()
+ * @model
+ * @generated
+ */
+public interface CDOEagerPackageRegistryDef extends CDOPackageRegistryDef {
+} // EagerPackageRegistryDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOLazyPackageRegistryDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOLazyPackageRegistryDef.java
new file mode 100644
index 0000000000..6a9ee629cd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOLazyPackageRegistryDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOLazyPackageRegistryDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Lazy Package Registry Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOLazyPackageRegistryDef()
+ * @model
+ * @generated
+ */
+public interface CDOLazyPackageRegistryDef extends CDOPackageRegistryDef {
+} // LazyPackageRegistryDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOPackageRegistryDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOPackageRegistryDef.java
new file mode 100644
index 0000000000..c33dfb9176
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOPackageRegistryDef.java
@@ -0,0 +1,46 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOPackageRegistryDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Package Registry Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef#getPackages <em>Packages</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOPackageRegistryDef()
+ * @model
+ * @generated
+ */
+public interface CDOPackageRegistryDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Packages</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.emf.cdo.cdodefs.EPackageDef}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Packages</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Packages</em>' containment reference list.
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOPackageRegistryDef_Packages()
+ * @model containment="true"
+ * @generated
+ */
+ EList<EPackageDef> getPackages();
+
+} // CDOPackageRegistryDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOResourceDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOResourceDef.java
new file mode 100644
index 0000000000..8854da1877
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOResourceDef.java
@@ -0,0 +1,112 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOResourceDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Resource Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getCdoTransaction <em>Cdo Transaction</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getResourceMode <em>Resource Mode</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getPath <em>Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOResourceDef()
+ * @model
+ * @generated
+ */
+public interface CDOResourceDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Cdo Transaction</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cdo Transaction</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cdo Transaction</em>' reference.
+ * @see #setCdoTransaction(CDOTransactionDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOResourceDef_CdoTransaction()
+ * @model required="true"
+ * @generated
+ */
+ CDOTransactionDef getCdoTransaction();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getCdoTransaction <em>Cdo Transaction</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cdo Transaction</em>' reference.
+ * @see #getCdoTransaction()
+ * @generated
+ */
+ void setCdoTransaction(CDOTransactionDef value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Mode</b></em>' attribute.
+ * The default value is <code>"NULL"</code>.
+ * The literals are from the enumeration {@link org.eclipse.emf.cdo.cdodefs.ResourceMode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Mode</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Mode</em>' attribute.
+ * @see org.eclipse.emf.cdo.cdodefs.ResourceMode
+ * @see #setResourceMode(ResourceMode)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOResourceDef_ResourceMode()
+ * @model default="NULL" required="true"
+ * @generated
+ */
+ ResourceMode getResourceMode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getResourceMode <em>Resource Mode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Mode</em>' attribute.
+ * @see org.eclipse.emf.cdo.cdodefs.ResourceMode
+ * @see #getResourceMode()
+ * @generated
+ */
+ void setResourceMode(ResourceMode value);
+
+ /**
+ * Returns the value of the '<em><b>Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Path</em>' attribute.
+ * @see #setPath(String)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOResourceDef_Path()
+ * @model required="true"
+ * @generated
+ */
+ String getPath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef#getPath <em>Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Path</em>' attribute.
+ * @see #getPath()
+ * @generated
+ */
+ void setPath(String value);
+
+} // CDOResourceDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOServerProtocolFactoryDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOServerProtocolFactoryDef.java
new file mode 100644
index 0000000000..6bd968536c
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOServerProtocolFactoryDef.java
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOServerProtocolFactoryDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Server Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef#getRepositoryProviderDef <em>Repository Provider Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOServerProtocolFactoryDef()
+ * @model
+ * @generated
+ */
+public interface CDOServerProtocolFactoryDef extends ServerProtocolFactoryDef {
+
+ /**
+ * Returns the value of the '<em><b>Repository Provider Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Repository Provider Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Repository Provider Def</em>' reference.
+ * @see #setRepositoryProviderDef(RepositoryProviderDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOServerProtocolFactoryDef_RepositoryProviderDef()
+ * @model required="true"
+ * @generated
+ */
+ RepositoryProviderDef getRepositoryProviderDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef#getRepositoryProviderDef <em>Repository Provider Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Repository Provider Def</em>' reference.
+ * @see #getRepositoryProviderDef()
+ * @generated
+ */
+ void setRepositoryProviderDef(RepositoryProviderDef value);
+} // CDOServerProtocolFactoryDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOSessionDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOSessionDef.java
new file mode 100644
index 0000000000..d10b1c5c4d
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOSessionDef.java
@@ -0,0 +1,218 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOSessionDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Session Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getConnectorDef <em>Connector Def</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getRepositoryName <em>Repository Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getCdoPackageRegistryDef <em>Cdo Package Registry Def</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#isLegacySupportEnabled <em>Legacy Support Enabled</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getFailOverStrategyDef <em>Fail Over Strategy Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOSessionDef()
+ * @model
+ * @generated
+ */
+public interface CDOSessionDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Connector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Connector Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Connector Def</em>' reference.
+ * @see #isSetConnectorDef()
+ * @see #unsetConnectorDef()
+ * @see #setConnectorDef(ConnectorDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOSessionDef_ConnectorDef()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ ConnectorDef getConnectorDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getConnectorDef <em>Connector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Connector Def</em>' reference.
+ * @see #isSetConnectorDef()
+ * @see #unsetConnectorDef()
+ * @see #getConnectorDef()
+ * @generated
+ */
+ void setConnectorDef(ConnectorDef value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getConnectorDef <em>Connector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetConnectorDef()
+ * @see #getConnectorDef()
+ * @see #setConnectorDef(ConnectorDef)
+ * @generated
+ */
+ void unsetConnectorDef();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getConnectorDef <em>Connector Def</em>}' reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Connector Def</em>' reference is set.
+ * @see #unsetConnectorDef()
+ * @see #getConnectorDef()
+ * @see #setConnectorDef(ConnectorDef)
+ * @generated
+ */
+ boolean isSetConnectorDef();
+
+ /**
+ * Returns the value of the '<em><b>Repository Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Repository Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Repository Name</em>' attribute.
+ * @see #setRepositoryName(String)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOSessionDef_RepositoryName()
+ * @model unique="false" required="true" ordered="false"
+ * @generated
+ */
+ String getRepositoryName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getRepositoryName <em>Repository Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Repository Name</em>' attribute.
+ * @see #getRepositoryName()
+ * @generated
+ */
+ void setRepositoryName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Cdo Package Registry Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cdo Package Registry Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cdo Package Registry Def</em>' reference.
+ * @see #setCdoPackageRegistryDef(CDOPackageRegistryDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOSessionDef_CdoPackageRegistryDef()
+ * @model required="true"
+ * @generated
+ */
+ CDOPackageRegistryDef getCdoPackageRegistryDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getCdoPackageRegistryDef <em>Cdo Package Registry Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cdo Package Registry Def</em>' reference.
+ * @see #getCdoPackageRegistryDef()
+ * @generated
+ */
+ void setCdoPackageRegistryDef(CDOPackageRegistryDef value);
+
+ /**
+ * Returns the value of the '<em><b>Legacy Support Enabled</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Legacy Support Enabled</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Legacy Support Enabled</em>' attribute.
+ * @see #setLegacySupportEnabled(boolean)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOSessionDef_LegacySupportEnabled()
+ * @model default="false" required="true"
+ * @generated
+ */
+ boolean isLegacySupportEnabled();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#isLegacySupportEnabled <em>Legacy Support Enabled</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Legacy Support Enabled</em>' attribute.
+ * @see #isLegacySupportEnabled()
+ * @generated
+ */
+ void setLegacySupportEnabled(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Fail Over Strategy Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Fail Over Strategy Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Fail Over Strategy Def</em>' reference.
+ * @see #isSetFailOverStrategyDef()
+ * @see #unsetFailOverStrategyDef()
+ * @see #setFailOverStrategyDef(FailOverStrategyDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOSessionDef_FailOverStrategyDef()
+ * @model unsettable="true"
+ * @generated
+ */
+ FailOverStrategyDef getFailOverStrategyDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getFailOverStrategyDef <em>Fail Over Strategy Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Fail Over Strategy Def</em>' reference.
+ * @see #isSetFailOverStrategyDef()
+ * @see #unsetFailOverStrategyDef()
+ * @see #getFailOverStrategyDef()
+ * @generated
+ */
+ void setFailOverStrategyDef(FailOverStrategyDef value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getFailOverStrategyDef <em>Fail Over Strategy Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetFailOverStrategyDef()
+ * @see #getFailOverStrategyDef()
+ * @see #setFailOverStrategyDef(FailOverStrategyDef)
+ * @generated
+ */
+ void unsetFailOverStrategyDef();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef#getFailOverStrategyDef <em>Fail Over Strategy Def</em>}' reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Fail Over Strategy Def</em>' reference is set.
+ * @see #unsetFailOverStrategyDef()
+ * @see #getFailOverStrategyDef()
+ * @see #setFailOverStrategyDef(FailOverStrategyDef)
+ * @generated
+ */
+ boolean isSetFailOverStrategyDef();
+
+} // CDOSessionDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOTransactionDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOTransactionDef.java
new file mode 100644
index 0000000000..406874b112
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOTransactionDef.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOTransactionDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Transaction Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOTransactionDef()
+ * @model
+ * @generated
+ */
+public interface CDOTransactionDef extends CDOViewDef {
+
+} // CDOTransactionDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOViewDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOViewDef.java
new file mode 100644
index 0000000000..c4a259f240
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/CDOViewDef.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOViewDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO View Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.CDOViewDef#getCdoSessionDef <em>Cdo Session Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOViewDef()
+ * @model
+ * @generated
+ */
+public interface CDOViewDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Cdo Session Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cdo Session Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cdo Session Def</em>' reference.
+ * @see #setCdoSessionDef(CDOSessionDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getCDOViewDef_CdoSessionDef()
+ * @model required="true"
+ * @generated
+ */
+ CDOSessionDef getCdoSessionDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.CDOViewDef#getCdoSessionDef <em>Cdo Session Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cdo Session Def</em>' reference.
+ * @see #getCdoSessionDef()
+ * @generated
+ */
+ void setCdoSessionDef(CDOSessionDef value);
+
+} // CDOViewDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EDynamicPackageDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EDynamicPackageDef.java
new file mode 100644
index 0000000000..7fcc73a690
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EDynamicPackageDef.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EDynamicPackageDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Dynamic CDO Package Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef#getResourceURI <em>Resource URI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getEDynamicPackageDef()
+ * @model
+ * @generated
+ */
+public interface EDynamicPackageDef extends EPackageDef {
+ /**
+ * Returns the value of the '<em><b>Resource URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource URI</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource URI</em>' attribute.
+ * @see #setResourceURI(String)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getEDynamicPackageDef_ResourceURI()
+ * @model required="true"
+ * @generated
+ */
+ String getResourceURI();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef#getResourceURI <em>Resource URI</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource URI</em>' attribute.
+ * @see #getResourceURI()
+ * @generated
+ */
+ void setResourceURI(String value);
+
+} // DynamicCDOPackageDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EGlobalPackageDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EGlobalPackageDef.java
new file mode 100644
index 0000000000..375b85cb5a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EGlobalPackageDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EGlobalPackageDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Native CDO Package Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getEGlobalPackageDef()
+ * @model
+ * @generated
+ */
+public interface EGlobalPackageDef extends EPackageDef {
+} // NativeCDOPackageDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EPackageDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EPackageDef.java
new file mode 100644
index 0000000000..3d470df9f4
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/EPackageDef.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EPackageDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Package Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.EPackageDef#getNsURI <em>Ns URI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getEPackageDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface EPackageDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Ns URI</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ns URI</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ns URI</em>' attribute.
+ * @see #setNsURI(String)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getEPackageDef_NsURI()
+ * @model required="true"
+ * @generated
+ */
+ String getNsURI();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.EPackageDef#getNsURI <em>Ns URI</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ns URI</em>' attribute.
+ * @see #getNsURI()
+ * @generated
+ */
+ void setNsURI(String value);
+
+} // CDOPackageDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/FailOverStrategyDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/FailOverStrategyDef.java
new file mode 100644
index 0000000000..4b7338a255
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/FailOverStrategyDef.java
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: FailOverStrategyDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Fail Over Strategy Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef#getConnectorDef <em>Connector Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getFailOverStrategyDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface FailOverStrategyDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Connector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Connector Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Connector Def</em>' reference.
+ * @see #setConnectorDef(ConnectorDef)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getFailOverStrategyDef_ConnectorDef()
+ * @model required="true"
+ * @generated
+ */
+ ConnectorDef getConnectorDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef#getConnectorDef <em>Connector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Connector Def</em>' reference.
+ * @see #getConnectorDef()
+ * @generated
+ */
+ void setConnectorDef(ConnectorDef value);
+
+} // FailOverStrategyDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/PluginRepositoryProviderDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/PluginRepositoryProviderDef.java
new file mode 100644
index 0000000000..ec7c9201c5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/PluginRepositoryProviderDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: PluginRepositoryProviderDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Plugin Repository Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getPluginRepositoryProviderDef()
+ * @model
+ * @generated
+ */
+public interface PluginRepositoryProviderDef extends RepositoryProviderDef {
+} // PluginRepositoryProviderDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RepositoryProviderDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RepositoryProviderDef.java
new file mode 100644
index 0000000000..f2eaf50cab
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RepositoryProviderDef.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: RepositoryProviderDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Repository Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getRepositoryProviderDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface RepositoryProviderDef extends Def {
+} // RepositoryProviderDef
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/ResourceMode.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/ResourceMode.java
new file mode 100644
index 0000000000..12e32f02ac
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/ResourceMode.java
@@ -0,0 +1,262 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ResourceMode.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+import org.eclipse.emf.cdo.CDOTransaction;
+import org.eclipse.emf.cdo.eresource.CDOResource;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc --> A representation of the literals of the enumeration '<em><b>Resource Mode</b></em>', and
+ * utility methods for working with them. <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getResourceMode()
+ * @model
+ * @generated
+ */
+public enum ResourceMode implements Enumerator
+{
+ /**
+ * The '<em><b>GET</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #GET_VALUE
+ * @generated NOT
+ * @ordered
+ */
+ GET(0, "GET", "GET")
+ {
+ @Override
+ public CDOResource getResource(String path, CDOTransaction transaction)
+ {
+ return transaction.getResource(path);
+ // return transaction.getResource(path, false);
+ }
+ },
+
+ /**
+ * The '<em><b>CREATE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #CREATE_VALUE
+ * @generated NOT
+ * @ordered
+ */
+ CREATE(0, "CREATE", "CREATE")
+ {
+ @Override
+ public CDOResource getResource(String path, CDOTransaction transaction)
+ {
+ return transaction.createResource(path);
+ }
+ },
+
+ /**
+ * The '<em><b>GET OR CREATE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #GET_OR_CREATE_VALUE
+ * @generated NOT
+ * @ordered
+ */
+ GET_OR_CREATE(0, "GET_OR_CREATE", "GET_OR_CREATE")
+ {
+ @Override
+ public CDOResource getResource(String path, CDOTransaction transaction)
+ {
+ return transaction.getOrCreateResource(path);
+ }
+ };
+
+ /**
+ * The '<em><b>GET</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>GET</b></em>' literal object isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #GET
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int GET_VALUE = 0;
+
+ /**
+ * The '<em><b>CREATE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>CREATE</b></em>' literal object isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #CREATE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int CREATE_VALUE = 0;
+
+ /**
+ * The '<em><b>GET OR CREATE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>GET OR CREATE</b></em>' literal object isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #GET_OR_CREATE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int GET_OR_CREATE_VALUE = 0;
+
+ /**
+ * An array of all the '<em><b>Resource Mode</b></em>' enumerators.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ResourceMode[] VALUES_ARRAY = new ResourceMode[] {
+ GET,
+ CREATE,
+ GET_OR_CREATE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Resource Mode</b></em>' enumerators.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ public static final List<ResourceMode> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Resource Mode</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ public static ResourceMode get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ResourceMode result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Resource Mode</b></em>' literal with the specified name.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ public static ResourceMode getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ResourceMode result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Resource Mode</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ public static ResourceMode get(int value)
+ {
+ switch (value) {
+ case GET_VALUE: return GET;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ private ResourceMode(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+ public CDOResource getResource(String path, CDOTransaction cdoTransaction)
+ {
+ throw new UnsupportedOperationException("use a subclass!");
+ }
+
+} // ResourceMode
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RetryFailOverStrategyDef.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RetryFailOverStrategyDef.java
new file mode 100644
index 0000000000..edb03892fc
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/RetryFailOverStrategyDef.java
@@ -0,0 +1,80 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: RetryFailOverStrategyDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Retry Fail Over Strategy</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef#getRetries <em>Retries</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getRetryFailOverStrategyDef()
+ * @model
+ * @generated
+ */
+public interface RetryFailOverStrategyDef extends FailOverStrategyDef {
+ /**
+ * Returns the value of the '<em><b>Retries</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Retries</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Retries</em>' attribute.
+ * @see #isSetRetries()
+ * @see #unsetRetries()
+ * @see #setRetries(int)
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#getRetryFailOverStrategyDef_Retries()
+ * @model unsettable="true"
+ * @generated
+ */
+ int getRetries();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef#getRetries <em>Retries</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Retries</em>' attribute.
+ * @see #isSetRetries()
+ * @see #unsetRetries()
+ * @see #getRetries()
+ * @generated
+ */
+ void setRetries(int value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef#getRetries <em>Retries</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetRetries()
+ * @see #getRetries()
+ * @see #setRetries(int)
+ * @generated
+ */
+ void unsetRetries();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef#getRetries <em>Retries</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Retries</em>' attribute is set.
+ * @see #unsetRetries()
+ * @see #getRetries()
+ * @see #setRetries(int)
+ * @generated
+ */
+ boolean isSetRetries();
+
+} // RetryFailOverStrategy
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOAuditDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOAuditDefImpl.java
new file mode 100644
index 0000000000..7d0f137ef3
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOAuditDefImpl.java
@@ -0,0 +1,182 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOAuditDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.CDOSession;
+import org.eclipse.emf.cdo.cdodefs.CDOAuditDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>CDO Audit Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOAuditDefImpl#getTimeStamp <em>Time Stamp</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOAuditDefImpl extends CDOViewDefImpl implements CDOAuditDef
+{
+ /**
+ * The default value of the '{@link #getTimeStamp() <em>Time Stamp</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getTimeStamp()
+ * @generated
+ * @ordered
+ */
+ protected static final Date TIME_STAMP_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTimeStamp() <em>Time Stamp</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getTimeStamp()
+ * @generated
+ * @ordered
+ */
+ protected Date timeStamp = TIME_STAMP_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOAuditDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_AUDIT_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public Date getTimeStamp()
+ {
+ return timeStamp;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeStamp(Date newTimeStamp)
+ {
+ Date oldTimeStamp = timeStamp;
+ timeStamp = newTimeStamp;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP, oldTimeStamp, timeStamp));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP:
+ return getTimeStamp();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP:
+ setTimeStamp((Date)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP:
+ setTimeStamp(TIME_STAMP_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP:
+ return TIME_STAMP_EDEFAULT == null ? timeStamp != null : !TIME_STAMP_EDEFAULT.equals(timeStamp);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (timeStamp: ");
+ result.append(timeStamp);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance()
+ {
+ CDOSession cdoSession = (CDOSession)getCdoSessionDef().getInstance();
+ return cdoSession.openAudit(getTimeStamp().getTime());
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ super.validateDefinition();
+ CheckUtil.checkState(eIsSet(CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP), "time stamp is not set!");
+ }
+
+} // CDOAuditDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOClientProtocolFactoryDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOClientProtocolFactoryDefImpl.java
new file mode 100644
index 0000000000..b167a18618
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOClientProtocolFactoryDefImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOClientProtocolFactoryDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+
+import org.eclipse.emf.internal.cdo.protocol.CDOClientProtocolFactory;
+
+import org.eclipse.net4j.net4jdefs.impl.ClientProtocolFactoryDefImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>CDO Client Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOClientProtocolFactoryDefImpl extends ClientProtocolFactoryDefImpl implements CDOClientProtocolFactoryDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOClientProtocolFactoryDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.CDO_CLIENT_PROTOCOL_FACTORY_DEF;
+ }
+
+ @Override
+ protected Object createInstance() {
+ return new CDOClientProtocolFactory();
+ }
+
+} //CDOClientProtocolFactoryDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsFactoryImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsFactoryImpl.java
new file mode 100644
index 0000000000..dd5eed72c0
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsFactoryImpl.java
@@ -0,0 +1,307 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDODefsFactoryImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDOAuditDef;
+import org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsFactory;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOResourceDef;
+import org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+import org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef;
+import org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.ResourceMode;
+import org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CDODefsFactoryImpl extends EFactoryImpl implements CDODefsFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CDODefsFactory init() {
+ try {
+ CDODefsFactory theCDODefsFactory = (CDODefsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/CDO/defs/1.0.0");
+ if (theCDODefsFactory != null) {
+ return theCDODefsFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new CDODefsFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDODefsFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case CDODefsPackage.CDO_VIEW_DEF: return createCDOViewDef();
+ case CDODefsPackage.CDO_TRANSACTION_DEF: return createCDOTransactionDef();
+ case CDODefsPackage.CDO_AUDIT_DEF: return createCDOAuditDef();
+ case CDODefsPackage.CDO_SESSION_DEF: return createCDOSessionDef();
+ case CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF: return createRetryFailOverStrategyDef();
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF: return createCDOPackageRegistryDef();
+ case CDODefsPackage.CDO_EAGER_PACKAGE_REGISTRY_DEF: return createCDOEagerPackageRegistryDef();
+ case CDODefsPackage.CDO_LAZY_PACKAGE_REGISTRY_DEF: return createCDOLazyPackageRegistryDef();
+ case CDODefsPackage.EDYNAMIC_PACKAGE_DEF: return createEDynamicPackageDef();
+ case CDODefsPackage.EGLOBAL_PACKAGE_DEF: return createEGlobalPackageDef();
+ case CDODefsPackage.CDO_CLIENT_PROTOCOL_FACTORY_DEF: return createCDOClientProtocolFactoryDef();
+ case CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF: return createCDOServerProtocolFactoryDef();
+ case CDODefsPackage.PLUGIN_REPOSITORY_PROVIDER_DEF: return createPluginRepositoryProviderDef();
+ case CDODefsPackage.CDO_RESOURCE_DEF: return createCDOResourceDef();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case CDODefsPackage.RESOURCE_MODE:
+ return createResourceModeFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case CDODefsPackage.RESOURCE_MODE:
+ return convertResourceModeToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOViewDef createCDOViewDef() {
+ CDOViewDefImpl cdoViewDef = new CDOViewDefImpl();
+ return cdoViewDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOTransactionDef createCDOTransactionDef() {
+ CDOTransactionDefImpl cdoTransactionDef = new CDOTransactionDefImpl();
+ return cdoTransactionDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOAuditDef createCDOAuditDef() {
+ CDOAuditDefImpl cdoAuditDef = new CDOAuditDefImpl();
+ return cdoAuditDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOSessionDef createCDOSessionDef() {
+ CDOSessionDefImpl cdoSessionDef = new CDOSessionDefImpl();
+ return cdoSessionDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RetryFailOverStrategyDef createRetryFailOverStrategyDef() {
+ RetryFailOverStrategyDefImpl retryFailOverStrategyDef = new RetryFailOverStrategyDefImpl();
+ return retryFailOverStrategyDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOPackageRegistryDef createCDOPackageRegistryDef() {
+ CDOPackageRegistryDefImpl cdoPackageRegistryDef = new CDOPackageRegistryDefImpl();
+ return cdoPackageRegistryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOEagerPackageRegistryDef createCDOEagerPackageRegistryDef() {
+ CDOEagerPackageRegistryDefImpl cdoEagerPackageRegistryDef = new CDOEagerPackageRegistryDefImpl();
+ return cdoEagerPackageRegistryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOLazyPackageRegistryDef createCDOLazyPackageRegistryDef() {
+ CDOLazyPackageRegistryDefImpl cdoLazyPackageRegistryDef = new CDOLazyPackageRegistryDefImpl();
+ return cdoLazyPackageRegistryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EDynamicPackageDef createEDynamicPackageDef() {
+ EDynamicPackageDefImpl eDynamicPackageDef = new EDynamicPackageDefImpl();
+ return eDynamicPackageDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EGlobalPackageDef createEGlobalPackageDef() {
+ EGlobalPackageDefImpl eGlobalPackageDef = new EGlobalPackageDefImpl();
+ return eGlobalPackageDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOClientProtocolFactoryDef createCDOClientProtocolFactoryDef() {
+ CDOClientProtocolFactoryDefImpl cdoClientProtocolFactoryDef = new CDOClientProtocolFactoryDefImpl();
+ return cdoClientProtocolFactoryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOServerProtocolFactoryDef createCDOServerProtocolFactoryDef() {
+ CDOServerProtocolFactoryDefImpl cdoServerProtocolFactoryDef = new CDOServerProtocolFactoryDefImpl();
+ return cdoServerProtocolFactoryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PluginRepositoryProviderDef createPluginRepositoryProviderDef() {
+ PluginRepositoryProviderDefImpl pluginRepositoryProviderDef = new PluginRepositoryProviderDefImpl();
+ return pluginRepositoryProviderDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOResourceDef createCDOResourceDef() {
+ CDOResourceDefImpl cdoResourceDef = new CDOResourceDefImpl();
+ return cdoResourceDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceMode createResourceModeFromString(EDataType eDataType, String initialValue) {
+ ResourceMode result = ResourceMode.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertResourceModeToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDODefsPackage getCDODefsPackage() {
+ return (CDODefsPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static CDODefsPackage getPackage() {
+ return CDODefsPackage.eINSTANCE;
+ }
+
+} //CDODefsFactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsPackageImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsPackageImpl.java
new file mode 100644
index 0000000000..40a01780ae
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDODefsPackageImpl.java
@@ -0,0 +1,743 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDODefsPackageImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDOAuditDef;
+import org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsFactory;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOResourceDef;
+import org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+import org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EPackageDef;
+import org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef;
+import org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.ResourceMode;
+import org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CDODefsPackageImpl extends EPackageImpl implements CDODefsPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoViewDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoTransactionDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoAuditDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoSessionDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass failOverStrategyDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass retryFailOverStrategyDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoPackageRegistryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoEagerPackageRegistryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoLazyPackageRegistryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass ePackageDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eDynamicPackageDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eGlobalPackageDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoClientProtocolFactoryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoServerProtocolFactoryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass repositoryProviderDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass pluginRepositoryProviderDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoResourceDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum resourceModeEEnum = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private CDODefsPackageImpl() {
+ super(eNS_URI, CDODefsFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static CDODefsPackage init() {
+ if (isInited) return (CDODefsPackage)EPackage.Registry.INSTANCE.getEPackage(CDODefsPackage.eNS_URI);
+
+ // Obtain or create and register package
+ CDODefsPackageImpl theCDODefsPackage = (CDODefsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof CDODefsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new CDODefsPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ Net4jDefsPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theCDODefsPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theCDODefsPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theCDODefsPackage.freeze();
+
+ return theCDODefsPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOViewDef() {
+ return cdoViewDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOViewDef_CdoSessionDef() {
+ return (EReference)cdoViewDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOTransactionDef() {
+ return cdoTransactionDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOAuditDef() {
+ return cdoAuditDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOAuditDef_TimeStamp() {
+ return (EAttribute)cdoAuditDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOSessionDef() {
+ return cdoSessionDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOSessionDef_ConnectorDef() {
+ return (EReference)cdoSessionDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOSessionDef_RepositoryName() {
+ return (EAttribute)cdoSessionDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOSessionDef_CdoPackageRegistryDef() {
+ return (EReference)cdoSessionDefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOSessionDef_LegacySupportEnabled() {
+ return (EAttribute)cdoSessionDefEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOSessionDef_FailOverStrategyDef() {
+ return (EReference)cdoSessionDefEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFailOverStrategyDef() {
+ return failOverStrategyDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFailOverStrategyDef_ConnectorDef() {
+ return (EReference)failOverStrategyDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRetryFailOverStrategyDef() {
+ return retryFailOverStrategyDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRetryFailOverStrategyDef_Retries() {
+ return (EAttribute)retryFailOverStrategyDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOPackageRegistryDef() {
+ return cdoPackageRegistryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOPackageRegistryDef_Packages() {
+ return (EReference)cdoPackageRegistryDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOEagerPackageRegistryDef() {
+ return cdoEagerPackageRegistryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOLazyPackageRegistryDef() {
+ return cdoLazyPackageRegistryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEPackageDef() {
+ return ePackageDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEPackageDef_NsURI() {
+ return (EAttribute)ePackageDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEDynamicPackageDef() {
+ return eDynamicPackageDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEDynamicPackageDef_ResourceURI() {
+ return (EAttribute)eDynamicPackageDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEGlobalPackageDef() {
+ return eGlobalPackageDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOClientProtocolFactoryDef() {
+ return cdoClientProtocolFactoryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOServerProtocolFactoryDef() {
+ return cdoServerProtocolFactoryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOServerProtocolFactoryDef_RepositoryProviderDef() {
+ return (EReference)cdoServerProtocolFactoryDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRepositoryProviderDef() {
+ return repositoryProviderDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPluginRepositoryProviderDef() {
+ return pluginRepositoryProviderDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOResourceDef() {
+ return cdoResourceDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOResourceDef_CdoTransaction() {
+ return (EReference)cdoResourceDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOResourceDef_ResourceMode() {
+ return (EAttribute)cdoResourceDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOResourceDef_Path() {
+ return (EAttribute)cdoResourceDefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getResourceMode() {
+ return resourceModeEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDODefsFactory getCDODefsFactory() {
+ return (CDODefsFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ cdoViewDefEClass = createEClass(CDO_VIEW_DEF);
+ createEReference(cdoViewDefEClass, CDO_VIEW_DEF__CDO_SESSION_DEF);
+
+ cdoTransactionDefEClass = createEClass(CDO_TRANSACTION_DEF);
+
+ cdoAuditDefEClass = createEClass(CDO_AUDIT_DEF);
+ createEAttribute(cdoAuditDefEClass, CDO_AUDIT_DEF__TIME_STAMP);
+
+ cdoSessionDefEClass = createEClass(CDO_SESSION_DEF);
+ createEReference(cdoSessionDefEClass, CDO_SESSION_DEF__CONNECTOR_DEF);
+ createEAttribute(cdoSessionDefEClass, CDO_SESSION_DEF__REPOSITORY_NAME);
+ createEReference(cdoSessionDefEClass, CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF);
+ createEAttribute(cdoSessionDefEClass, CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED);
+ createEReference(cdoSessionDefEClass, CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF);
+
+ failOverStrategyDefEClass = createEClass(FAIL_OVER_STRATEGY_DEF);
+ createEReference(failOverStrategyDefEClass, FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF);
+
+ retryFailOverStrategyDefEClass = createEClass(RETRY_FAIL_OVER_STRATEGY_DEF);
+ createEAttribute(retryFailOverStrategyDefEClass, RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES);
+
+ cdoPackageRegistryDefEClass = createEClass(CDO_PACKAGE_REGISTRY_DEF);
+ createEReference(cdoPackageRegistryDefEClass, CDO_PACKAGE_REGISTRY_DEF__PACKAGES);
+
+ cdoEagerPackageRegistryDefEClass = createEClass(CDO_EAGER_PACKAGE_REGISTRY_DEF);
+
+ cdoLazyPackageRegistryDefEClass = createEClass(CDO_LAZY_PACKAGE_REGISTRY_DEF);
+
+ ePackageDefEClass = createEClass(EPACKAGE_DEF);
+ createEAttribute(ePackageDefEClass, EPACKAGE_DEF__NS_URI);
+
+ eDynamicPackageDefEClass = createEClass(EDYNAMIC_PACKAGE_DEF);
+ createEAttribute(eDynamicPackageDefEClass, EDYNAMIC_PACKAGE_DEF__RESOURCE_URI);
+
+ eGlobalPackageDefEClass = createEClass(EGLOBAL_PACKAGE_DEF);
+
+ cdoClientProtocolFactoryDefEClass = createEClass(CDO_CLIENT_PROTOCOL_FACTORY_DEF);
+
+ cdoServerProtocolFactoryDefEClass = createEClass(CDO_SERVER_PROTOCOL_FACTORY_DEF);
+ createEReference(cdoServerProtocolFactoryDefEClass, CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF);
+
+ repositoryProviderDefEClass = createEClass(REPOSITORY_PROVIDER_DEF);
+
+ pluginRepositoryProviderDefEClass = createEClass(PLUGIN_REPOSITORY_PROVIDER_DEF);
+
+ cdoResourceDefEClass = createEClass(CDO_RESOURCE_DEF);
+ createEReference(cdoResourceDefEClass, CDO_RESOURCE_DEF__CDO_TRANSACTION);
+ createEAttribute(cdoResourceDefEClass, CDO_RESOURCE_DEF__RESOURCE_MODE);
+ createEAttribute(cdoResourceDefEClass, CDO_RESOURCE_DEF__PATH);
+
+ // Create enums
+ resourceModeEEnum = createEEnum(RESOURCE_MODE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ Net4jUtilDefsPackage theNet4jUtilDefsPackage = (Net4jUtilDefsPackage)EPackage.Registry.INSTANCE.getEPackage(Net4jUtilDefsPackage.eNS_URI);
+ Net4jDefsPackage theNet4jDefsPackage = (Net4jDefsPackage)EPackage.Registry.INSTANCE.getEPackage(Net4jDefsPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ cdoViewDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ cdoTransactionDefEClass.getESuperTypes().add(this.getCDOViewDef());
+ cdoAuditDefEClass.getESuperTypes().add(this.getCDOViewDef());
+ cdoSessionDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ failOverStrategyDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ retryFailOverStrategyDefEClass.getESuperTypes().add(this.getFailOverStrategyDef());
+ cdoPackageRegistryDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ cdoEagerPackageRegistryDefEClass.getESuperTypes().add(this.getCDOPackageRegistryDef());
+ cdoLazyPackageRegistryDefEClass.getESuperTypes().add(this.getCDOPackageRegistryDef());
+ ePackageDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ eDynamicPackageDefEClass.getESuperTypes().add(this.getEPackageDef());
+ eGlobalPackageDefEClass.getESuperTypes().add(this.getEPackageDef());
+ cdoClientProtocolFactoryDefEClass.getESuperTypes().add(theNet4jDefsPackage.getClientProtocolFactoryDef());
+ cdoServerProtocolFactoryDefEClass.getESuperTypes().add(theNet4jDefsPackage.getServerProtocolFactoryDef());
+ repositoryProviderDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ pluginRepositoryProviderDefEClass.getESuperTypes().add(this.getRepositoryProviderDef());
+ cdoResourceDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(cdoViewDefEClass, CDOViewDef.class, "CDOViewDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCDOViewDef_CdoSessionDef(), this.getCDOSessionDef(), null, "cdoSessionDef", null, 1, 1, CDOViewDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(cdoTransactionDefEClass, CDOTransactionDef.class, "CDOTransactionDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(cdoAuditDefEClass, CDOAuditDef.class, "CDOAuditDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCDOAuditDef_TimeStamp(), ecorePackage.getEDate(), "timeStamp", null, 1, 1, CDOAuditDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(cdoSessionDefEClass, CDOSessionDef.class, "CDOSessionDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCDOSessionDef_ConnectorDef(), theNet4jDefsPackage.getConnectorDef(), null, "connectorDef", null, 1, 1, CDOSessionDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCDOSessionDef_RepositoryName(), ecorePackage.getEString(), "repositoryName", null, 1, 1, CDOSessionDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getCDOSessionDef_CdoPackageRegistryDef(), this.getCDOPackageRegistryDef(), null, "cdoPackageRegistryDef", null, 1, 1, CDOSessionDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCDOSessionDef_LegacySupportEnabled(), ecorePackage.getEBoolean(), "legacySupportEnabled", "false", 1, 1, CDOSessionDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCDOSessionDef_FailOverStrategyDef(), this.getFailOverStrategyDef(), null, "failOverStrategyDef", null, 0, 1, CDOSessionDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(failOverStrategyDefEClass, FailOverStrategyDef.class, "FailOverStrategyDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFailOverStrategyDef_ConnectorDef(), theNet4jDefsPackage.getConnectorDef(), null, "connectorDef", null, 1, 1, FailOverStrategyDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(retryFailOverStrategyDefEClass, RetryFailOverStrategyDef.class, "RetryFailOverStrategyDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRetryFailOverStrategyDef_Retries(), ecorePackage.getEInt(), "retries", null, 0, 1, RetryFailOverStrategyDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(cdoPackageRegistryDefEClass, CDOPackageRegistryDef.class, "CDOPackageRegistryDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCDOPackageRegistryDef_Packages(), this.getEPackageDef(), null, "packages", null, 0, -1, CDOPackageRegistryDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(cdoEagerPackageRegistryDefEClass, CDOEagerPackageRegistryDef.class, "CDOEagerPackageRegistryDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(cdoLazyPackageRegistryDefEClass, CDOLazyPackageRegistryDef.class, "CDOLazyPackageRegistryDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(ePackageDefEClass, EPackageDef.class, "EPackageDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEPackageDef_NsURI(), ecorePackage.getEString(), "nsURI", null, 1, 1, EPackageDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eDynamicPackageDefEClass, EDynamicPackageDef.class, "EDynamicPackageDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEDynamicPackageDef_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 1, 1, EDynamicPackageDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eGlobalPackageDefEClass, EGlobalPackageDef.class, "EGlobalPackageDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(cdoClientProtocolFactoryDefEClass, CDOClientProtocolFactoryDef.class, "CDOClientProtocolFactoryDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(cdoServerProtocolFactoryDefEClass, CDOServerProtocolFactoryDef.class, "CDOServerProtocolFactoryDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCDOServerProtocolFactoryDef_RepositoryProviderDef(), this.getRepositoryProviderDef(), null, "repositoryProviderDef", null, 1, 1, CDOServerProtocolFactoryDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(repositoryProviderDefEClass, RepositoryProviderDef.class, "RepositoryProviderDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(pluginRepositoryProviderDefEClass, PluginRepositoryProviderDef.class, "PluginRepositoryProviderDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(cdoResourceDefEClass, CDOResourceDef.class, "CDOResourceDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCDOResourceDef_CdoTransaction(), this.getCDOTransactionDef(), null, "cdoTransaction", null, 1, 1, CDOResourceDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCDOResourceDef_ResourceMode(), this.getResourceMode(), "resourceMode", "NULL", 1, 1, CDOResourceDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCDOResourceDef_Path(), ecorePackage.getEString(), "path", null, 1, 1, CDOResourceDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(resourceModeEEnum, ResourceMode.class, "ResourceMode");
+ addEEnumLiteral(resourceModeEEnum, ResourceMode.GET);
+ addEEnumLiteral(resourceModeEEnum, ResourceMode.CREATE);
+ addEEnumLiteral(resourceModeEEnum, ResourceMode.GET_OR_CREATE);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //CDODefsPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOEagerPackageRegistryDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOEagerPackageRegistryDefImpl.java
new file mode 100644
index 0000000000..26ea4076ae
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOEagerPackageRegistryDefImpl.java
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOEagerPackageRegistryDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef;
+import org.eclipse.emf.cdo.util.CDOUtil;
+
+import org.eclipse.emf.internal.cdo.util.CDOPackageRegistryImpl.Eager;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Eager Package Registry Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOEagerPackageRegistryDefImpl extends CDOPackageRegistryDefImpl implements CDOEagerPackageRegistryDef
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOEagerPackageRegistryDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_EAGER_PACKAGE_REGISTRY_DEF;
+ }
+
+ /**
+ * Creates a {@link Eager}.
+ *
+ * @return the CDO package registry
+ */
+ protected Object createInstance()
+ {
+ return addPackages(CDOUtil.createEagerPackageRegistry());
+ }
+
+} // EagerPackageRegistryDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOLazyPackageRegistryDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOLazyPackageRegistryDefImpl.java
new file mode 100644
index 0000000000..b1b7f722cd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOLazyPackageRegistryDefImpl.java
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOLazyPackageRegistryDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef;
+import org.eclipse.emf.cdo.util.CDOUtil;
+
+import org.eclipse.emf.internal.cdo.util.CDOPackageRegistryImpl.Lazy;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Lazy Package Registry Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOLazyPackageRegistryDefImpl extends CDOPackageRegistryDefImpl implements CDOLazyPackageRegistryDef
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOLazyPackageRegistryDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_LAZY_PACKAGE_REGISTRY_DEF;
+ }
+
+ /**
+ * Creates a {@link Lazy}.
+ *
+ * @return the CDO package registry
+ */
+ protected Object createInstance()
+ {
+ return addPackages(CDOUtil.createLazyPackageRegistry());
+ }
+} // LazyPackageRegistryDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOPackageRegistryDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOPackageRegistryDefImpl.java
new file mode 100644
index 0000000000..051afbcbc7
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOPackageRegistryDefImpl.java
@@ -0,0 +1,241 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOPackageRegistryDefImpl.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.EPackageDef;
+
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.EPackageRegistryImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import java.util.Collection;
+
+// TODO: Auto-generated Javadoc
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>CDO Package Registry Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOPackageRegistryDefImpl#getPackages <em>Packages</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOPackageRegistryDefImpl extends DefImpl implements CDOPackageRegistryDef
+{
+
+ /**
+ * The cached value of the '{@link #getPackages() <em>Packages</em>}' containment reference list. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ */
+ protected EList<EPackageDef> packages;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @generated
+ */
+ protected CDOPackageRegistryDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @return the e class
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_PACKAGE_REGISTRY_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @return the packages
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EList<EPackageDef> getPackages()
+ {
+ if (packages == null) {
+ packages = new EObjectContainmentEList<EPackageDef>(EPackageDef.class, this, CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF__PACKAGES);
+ }
+ return packages;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param otherEnd
+ * the other end
+ * @param featureID
+ * the feature id
+ * @param msgs
+ * the msgs
+ * @return the notification chain
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF__PACKAGES:
+ return ((InternalEList<?>)getPackages()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @param resolve
+ * the resolve
+ * @param coreType
+ * the core type
+ * @return the object
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF__PACKAGES:
+ return getPackages();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @param newValue
+ * the new value
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF__PACKAGES:
+ getPackages().clear();
+ getPackages().addAll((Collection<? extends EPackageDef>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF__PACKAGES:
+ getPackages().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @return true, if e is set
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF__PACKAGES:
+ return packages != null && !packages.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * Creates the instance.
+ *
+ * @return the CDO package registry
+ */
+ protected Object createInstance()
+ {
+ return addPackages(new EPackageRegistryImpl());
+ }
+
+ /**
+ * Adds the packages.
+ *
+ * @param packageRegistry
+ * the package registry
+ * @return the e package. registry
+ */
+ protected EPackage.Registry addPackages(EPackage.Registry packageRegistry)
+ {
+ for (EPackageDef ePackageDef : getPackages())
+ {
+ addPackage(ePackageDef, packageRegistry);
+ }
+ return packageRegistry;
+ }
+
+ /**
+ * Adds the given {@link EPackage} within the supplied <tt>definition<tt> to the given <tt>CDOPackageRegistry<tt> .
+ *
+ * @param ePackageDef
+ * the ePackage definition
+ * @param packageRegistry
+ * the package registry
+ */
+ protected void addPackage(EPackageDef ePackageDef, EPackage.Registry packageRegistry)
+ {
+ EPackage ePackage = (EPackage)ePackageDef.getInstance();
+ packageRegistry.put(ePackage.getNsURI(), ePackage);
+ }
+
+ /**
+ * Adds the given {@link EPackage} within the supplied <tt>definition<tt> to the given <tt>CDOPackageRegistry<tt> .
+ *
+ * @param ePackageDef
+ * the ePackage definition
+ * @param packageRegistry
+ * the package registry
+ */
+ protected void removePackage(EPackageDef ePackageDef, EPackage.Registry packageRegistry)
+ {
+ EPackage ePackage = (EPackage)ePackageDef.getInstance();
+ packageRegistry.remove(ePackage.getNsURI());
+ }
+
+} // CDOPackageRegistryDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOResourceDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOResourceDefImpl.java
new file mode 100644
index 0000000000..3d1d4eca81
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOResourceDefImpl.java
@@ -0,0 +1,302 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOResourceDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.CDOTransaction;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOResourceDef;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+import org.eclipse.emf.cdo.cdodefs.ResourceMode;
+import org.eclipse.emf.cdo.eresource.CDOResource;
+
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>CDO Resource Def</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOResourceDefImpl#getCdoTransaction <em>Cdo Transaction</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOResourceDefImpl extends DefImpl implements CDOResourceDef
+{
+
+ /**
+ * The cached value of the '{@link #getCdoTransaction() <em>Cdo Transaction</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCdoTransaction()
+ * @generated
+ * @ordered
+ */
+ protected CDOTransactionDef cdoTransaction;
+
+ /**
+ * The default value of the '{@link #getResourceMode() <em>Resource Mode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResourceMode()
+ * @generated NOT
+ * @ordered
+ */
+ protected static final ResourceMode RESOURCE_MODE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getResourceMode() <em>Resource Mode</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getResourceMode()
+ * @generated
+ * @ordered
+ */
+ protected ResourceMode resourceMode = RESOURCE_MODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPath() <em>Path</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPath() <em>Path</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getPath()
+ * @generated
+ * @ordered
+ */
+ protected String path = PATH_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOResourceDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_RESOURCE_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOTransactionDef getCdoTransaction()
+ {
+ if (cdoTransaction != null && cdoTransaction.eIsProxy()) {
+ InternalEObject oldCdoTransaction = (InternalEObject)cdoTransaction;
+ cdoTransaction = (CDOTransactionDef)eResolveProxy(oldCdoTransaction);
+ if (cdoTransaction != oldCdoTransaction) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION, oldCdoTransaction, cdoTransaction));
+ }
+ }
+ return cdoTransaction;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOTransactionDef basicGetCdoTransaction()
+ {
+ return cdoTransaction;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCdoTransaction(CDOTransactionDef newCdoTransaction)
+ {
+ CDOTransactionDef oldCdoTransaction = cdoTransaction;
+ cdoTransaction = newCdoTransaction;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION, oldCdoTransaction, cdoTransaction));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceMode getResourceMode()
+ {
+ return resourceMode;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceMode(ResourceMode newResourceMode)
+ {
+ ResourceMode oldResourceMode = resourceMode;
+ resourceMode = newResourceMode == null ? RESOURCE_MODE_EDEFAULT : newResourceMode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_RESOURCE_DEF__RESOURCE_MODE, oldResourceMode, resourceMode));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPath()
+ {
+ return path;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPath(String newPath)
+ {
+ String oldPath = path;
+ path = newPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_RESOURCE_DEF__PATH, oldPath, path));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION:
+ if (resolve) return getCdoTransaction();
+ return basicGetCdoTransaction();
+ case CDODefsPackage.CDO_RESOURCE_DEF__RESOURCE_MODE:
+ return getResourceMode();
+ case CDODefsPackage.CDO_RESOURCE_DEF__PATH:
+ return getPath();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION:
+ setCdoTransaction((CDOTransactionDef)newValue);
+ return;
+ case CDODefsPackage.CDO_RESOURCE_DEF__RESOURCE_MODE:
+ setResourceMode((ResourceMode)newValue);
+ return;
+ case CDODefsPackage.CDO_RESOURCE_DEF__PATH:
+ setPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION:
+ setCdoTransaction((CDOTransactionDef)null);
+ return;
+ case CDODefsPackage.CDO_RESOURCE_DEF__RESOURCE_MODE:
+ setResourceMode(RESOURCE_MODE_EDEFAULT);
+ return;
+ case CDODefsPackage.CDO_RESOURCE_DEF__PATH:
+ setPath(PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION:
+ return cdoTransaction != null;
+ case CDODefsPackage.CDO_RESOURCE_DEF__RESOURCE_MODE:
+ return resourceMode != RESOURCE_MODE_EDEFAULT;
+ case CDODefsPackage.CDO_RESOURCE_DEF__PATH:
+ return PATH_EDEFAULT == null ? path != null : !PATH_EDEFAULT.equals(path);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (resourceMode: ");
+ result.append(resourceMode);
+ result.append(", path: ");
+ result.append(path);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance()
+ {
+ CDOTransaction cdoTransaction = (CDOTransaction)getCdoTransaction().getInstance();
+ CDOResource cdoResource = getResourceMode().getResource(getPath(), cdoTransaction);
+ cdoTransaction.commit();
+ return cdoResource;
+
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ CheckUtil.checkState(eIsSet(CDODefsPackage.CDO_RESOURCE_DEF__PATH), "path is not set!");
+ CheckUtil.checkState(eIsSet(CDODefsPackage.CDO_RESOURCE_DEF__CDO_TRANSACTION), "cdo transaction is not set!");
+ CheckUtil.checkState(eIsSet(CDODefsPackage.CDO_RESOURCE_DEF__RESOURCE_MODE), "resourceMode is not set!");
+ }
+
+} // CDOResourceDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOServerProtocolFactoryDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOServerProtocolFactoryDefImpl.java
new file mode 100644
index 0000000000..025bb1af84
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOServerProtocolFactoryDefImpl.java
@@ -0,0 +1,176 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOServerProtocolFactoryDefImpl.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef;
+import org.eclipse.emf.cdo.internal.server.protocol.CDOServerProtocolFactory;
+import org.eclipse.emf.cdo.server.IRepositoryProvider;
+
+import org.eclipse.net4j.net4jdefs.impl.ServerProtocolFactoryDefImpl;
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>CDO Server Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOServerProtocolFactoryDefImpl#getRepositoryProviderDef <em>Repository Provider Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOServerProtocolFactoryDefImpl extends ServerProtocolFactoryDefImpl implements CDOServerProtocolFactoryDef {
+
+ /**
+ * The cached value of the '{@link #getRepositoryProviderDef() <em>Repository Provider Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRepositoryProviderDef()
+ * @generated
+ * @ordered
+ */
+ protected RepositoryProviderDef repositoryProviderDef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOServerProtocolFactoryDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.CDO_SERVER_PROTOCOL_FACTORY_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RepositoryProviderDef getRepositoryProviderDef() {
+ if (repositoryProviderDef != null && repositoryProviderDef.eIsProxy()) {
+ InternalEObject oldRepositoryProviderDef = (InternalEObject)repositoryProviderDef;
+ repositoryProviderDef = (RepositoryProviderDef)eResolveProxy(oldRepositoryProviderDef);
+ if (repositoryProviderDef != oldRepositoryProviderDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF, oldRepositoryProviderDef, repositoryProviderDef));
+ }
+ }
+ return repositoryProviderDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RepositoryProviderDef basicGetRepositoryProviderDef() {
+ return repositoryProviderDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRepositoryProviderDef(RepositoryProviderDef newRepositoryProviderDef) {
+ RepositoryProviderDef oldRepositoryProviderDef = repositoryProviderDef;
+ repositoryProviderDef = newRepositoryProviderDef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF, oldRepositoryProviderDef, repositoryProviderDef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF:
+ if (resolve) return getRepositoryProviderDef();
+ return basicGetRepositoryProviderDef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF:
+ setRepositoryProviderDef((RepositoryProviderDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF:
+ setRepositoryProviderDef((RepositoryProviderDef)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF__REPOSITORY_PROVIDER_DEF:
+ return repositoryProviderDef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ @Override
+ protected Object createInstance() {
+ return new CDOServerProtocolFactory((IRepositoryProvider) getRepositoryProviderDef().getInstance());
+ }
+
+
+ @Override
+ protected void validateDefinition() {
+ super.validateDefinition();
+ CheckUtil.checkState(getRepositoryProviderDef() != null, "repository provider not set!");
+ }
+
+} //CDOServerProtocolFactoryDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOSessionDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOSessionDefImpl.java
new file mode 100644
index 0000000000..7b0f611199
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOSessionDefImpl.java
@@ -0,0 +1,560 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOSessionDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.CDOSession;
+import org.eclipse.emf.cdo.CDOSessionConfiguration;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef;
+import org.eclipse.emf.cdo.util.CDOPackageRegistry;
+import org.eclipse.emf.cdo.util.CDOUtil;
+
+import org.eclipse.emf.internal.cdo.CDOSessionConfigurationImpl;
+
+import org.eclipse.net4j.connector.IConnector;
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.signal.failover.IFailOverStrategy;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>CDO Session Def</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl#getConnectorDef <em>Connector Def</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl#getRepositoryName <em>Repository Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl#getCdoPackageRegistryDef <em>Cdo Package Registry Def
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl#isLegacySupportEnabled <em>Legacy Support Enabled</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOSessionDefImpl#getFailOverStrategyDef <em>Fail Over Strategy Def</em>}
+ * </li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOSessionDefImpl extends DefImpl implements CDOSessionDef
+{
+ /**
+ * The cached value of the '{@link #getConnectorDef() <em>Connector Def</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getConnectorDef()
+ * @generated
+ * @ordered
+ */
+ protected ConnectorDef connectorDef;
+
+ /**
+ * This is true if the Connector Def reference has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean connectorDefESet;
+
+ /**
+ * The default value of the '{@link #getRepositoryName() <em>Repository Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRepositoryName()
+ * @generated
+ * @ordered
+ */
+ protected static final String REPOSITORY_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRepositoryName() <em>Repository Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRepositoryName()
+ * @generated
+ * @ordered
+ */
+ protected String repositoryName = REPOSITORY_NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getCdoPackageRegistryDef() <em>Cdo Package Registry Def</em>}' reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getCdoPackageRegistryDef()
+ * @generated
+ * @ordered
+ */
+ protected CDOPackageRegistryDef cdoPackageRegistryDef;
+
+ /**
+ * The default value of the '{@link #isLegacySupportEnabled() <em>Legacy Support Enabled</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isLegacySupportEnabled()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean LEGACY_SUPPORT_ENABLED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isLegacySupportEnabled() <em>Legacy Support Enabled</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isLegacySupportEnabled()
+ * @generated
+ * @ordered
+ */
+ protected boolean legacySupportEnabled = LEGACY_SUPPORT_ENABLED_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getFailOverStrategyDef() <em>Fail Over Strategy Def</em>}' reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getFailOverStrategyDef()
+ * @generated
+ * @ordered
+ */
+ protected FailOverStrategyDef failOverStrategyDef;
+
+ /**
+ * This is true if the Fail Over Strategy Def reference has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean failOverStrategyDefESet;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOSessionDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_SESSION_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ConnectorDef getConnectorDef()
+ {
+ if (connectorDef != null && connectorDef.eIsProxy()) {
+ InternalEObject oldConnectorDef = (InternalEObject)connectorDef;
+ connectorDef = (ConnectorDef)eResolveProxy(oldConnectorDef);
+ if (connectorDef != oldConnectorDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF, oldConnectorDef, connectorDef));
+ }
+ }
+ return connectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ConnectorDef basicGetConnectorDef()
+ {
+ return connectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> Sets the {@link ConnectorDef} for this {@link CDOSessionDef}. If a
+ * {@link FailOverStrategyDef} was already set, an IllegalStateException is thrown. ConnectorDef and
+ * FailOverStrategyDef are mutually exclusive.
+ *
+ * @throws IllegalStateException
+ * if a {@link FailOverStrategyDef} was set before
+ * @see CDOSessionConfigurationImpl#openSession() <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public void setConnectorDef(ConnectorDef newConnectorDef)
+ {
+ if (isSetFailOverStrategyDef())
+ {
+ throw new IllegalStateException("connector and failover strategy are mutually exclusive!");
+ }
+ else
+ {
+ setConnectorDefGen(newConnectorDef);
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConnectorDefGen(ConnectorDef newConnectorDef)
+ {
+ ConnectorDef oldConnectorDef = connectorDef;
+ connectorDef = newConnectorDef;
+ boolean oldConnectorDefESet = connectorDefESet;
+ connectorDefESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF, oldConnectorDef, connectorDef, !oldConnectorDefESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetConnectorDef()
+ {
+ ConnectorDef oldConnectorDef = connectorDef;
+ boolean oldConnectorDefESet = connectorDefESet;
+ connectorDef = null;
+ connectorDefESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF, oldConnectorDef, null, oldConnectorDefESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetConnectorDef()
+ {
+ return connectorDefESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getRepositoryName()
+ {
+ return repositoryName;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRepositoryName(String newRepositoryName)
+ {
+ String oldRepositoryName = repositoryName;
+ repositoryName = newRepositoryName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_SESSION_DEF__REPOSITORY_NAME, oldRepositoryName, repositoryName));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOPackageRegistryDef getCdoPackageRegistryDef()
+ {
+ if (cdoPackageRegistryDef != null && cdoPackageRegistryDef.eIsProxy()) {
+ InternalEObject oldCdoPackageRegistryDef = (InternalEObject)cdoPackageRegistryDef;
+ cdoPackageRegistryDef = (CDOPackageRegistryDef)eResolveProxy(oldCdoPackageRegistryDef);
+ if (cdoPackageRegistryDef != oldCdoPackageRegistryDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF, oldCdoPackageRegistryDef, cdoPackageRegistryDef));
+ }
+ }
+ return cdoPackageRegistryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOPackageRegistryDef basicGetCdoPackageRegistryDef()
+ {
+ return cdoPackageRegistryDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCdoPackageRegistryDef(CDOPackageRegistryDef newCdoPackageRegistryDef)
+ {
+ CDOPackageRegistryDef oldCdoPackageRegistryDef = cdoPackageRegistryDef;
+ cdoPackageRegistryDef = newCdoPackageRegistryDef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF, oldCdoPackageRegistryDef, cdoPackageRegistryDef));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isLegacySupportEnabled()
+ {
+ return legacySupportEnabled;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLegacySupportEnabled(boolean newLegacySupportEnabled)
+ {
+ boolean oldLegacySupportEnabled = legacySupportEnabled;
+ legacySupportEnabled = newLegacySupportEnabled;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED, oldLegacySupportEnabled, legacySupportEnabled));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public FailOverStrategyDef getFailOverStrategyDef()
+ {
+ if (failOverStrategyDef != null && failOverStrategyDef.eIsProxy()) {
+ InternalEObject oldFailOverStrategyDef = (InternalEObject)failOverStrategyDef;
+ failOverStrategyDef = (FailOverStrategyDef)eResolveProxy(oldFailOverStrategyDef);
+ if (failOverStrategyDef != oldFailOverStrategyDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF, oldFailOverStrategyDef, failOverStrategyDef));
+ }
+ }
+ return failOverStrategyDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public FailOverStrategyDef basicGetFailOverStrategyDef()
+ {
+ return failOverStrategyDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> Sets the {@link FailOverStrategyDef} for this {@link CDOSessionDef}. If a ConnectorDef was
+ * already set, an <b>IllegalStateException<b> is thrown. ConnectorDef and FailOverStrategyDef are mutually exclusive.
+ *
+ * @throws IllegalStateException
+ * if a {@link FailOverStrategyDef} was set before
+ * @see CDOSessionConfigurationImpl#openSession() <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public void setFailOverStrategyDef(FailOverStrategyDef newFailOverStrategyDef)
+ {
+ if (isSetConnectorDef())
+ {
+ throw new IllegalStateException("connector and failover strategy are mutually exclusive!");
+ }
+ else
+ {
+ setFailOverStrategyDefGen(newFailOverStrategyDef);
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFailOverStrategyDefGen(FailOverStrategyDef newFailOverStrategyDef)
+ {
+ FailOverStrategyDef oldFailOverStrategyDef = failOverStrategyDef;
+ failOverStrategyDef = newFailOverStrategyDef;
+ boolean oldFailOverStrategyDefESet = failOverStrategyDefESet;
+ failOverStrategyDefESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF, oldFailOverStrategyDef, failOverStrategyDef, !oldFailOverStrategyDefESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetFailOverStrategyDef()
+ {
+ FailOverStrategyDef oldFailOverStrategyDef = failOverStrategyDef;
+ boolean oldFailOverStrategyDefESet = failOverStrategyDefESet;
+ failOverStrategyDef = null;
+ failOverStrategyDefESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF, oldFailOverStrategyDef, null, oldFailOverStrategyDefESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetFailOverStrategyDef()
+ {
+ return failOverStrategyDefESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF:
+ if (resolve) return getConnectorDef();
+ return basicGetConnectorDef();
+ case CDODefsPackage.CDO_SESSION_DEF__REPOSITORY_NAME:
+ return getRepositoryName();
+ case CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF:
+ if (resolve) return getCdoPackageRegistryDef();
+ return basicGetCdoPackageRegistryDef();
+ case CDODefsPackage.CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED:
+ return isLegacySupportEnabled() ? Boolean.TRUE : Boolean.FALSE;
+ case CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF:
+ if (resolve) return getFailOverStrategyDef();
+ return basicGetFailOverStrategyDef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF:
+ setConnectorDef((ConnectorDef)newValue);
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__REPOSITORY_NAME:
+ setRepositoryName((String)newValue);
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF:
+ setCdoPackageRegistryDef((CDOPackageRegistryDef)newValue);
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED:
+ setLegacySupportEnabled(((Boolean)newValue).booleanValue());
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF:
+ setFailOverStrategyDef((FailOverStrategyDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF:
+ unsetConnectorDef();
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__REPOSITORY_NAME:
+ setRepositoryName(REPOSITORY_NAME_EDEFAULT);
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF:
+ setCdoPackageRegistryDef((CDOPackageRegistryDef)null);
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED:
+ setLegacySupportEnabled(LEGACY_SUPPORT_ENABLED_EDEFAULT);
+ return;
+ case CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF:
+ unsetFailOverStrategyDef();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.CDO_SESSION_DEF__CONNECTOR_DEF:
+ return isSetConnectorDef();
+ case CDODefsPackage.CDO_SESSION_DEF__REPOSITORY_NAME:
+ return REPOSITORY_NAME_EDEFAULT == null ? repositoryName != null : !REPOSITORY_NAME_EDEFAULT.equals(repositoryName);
+ case CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF:
+ return cdoPackageRegistryDef != null;
+ case CDODefsPackage.CDO_SESSION_DEF__LEGACY_SUPPORT_ENABLED:
+ return legacySupportEnabled != LEGACY_SUPPORT_ENABLED_EDEFAULT;
+ case CDODefsPackage.CDO_SESSION_DEF__FAIL_OVER_STRATEGY_DEF:
+ return isSetFailOverStrategyDef();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (repositoryName: ");
+ result.append(repositoryName);
+ result.append(", legacySupportEnabled: ");
+ result.append(legacySupportEnabled);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected CDOSession createInstance()
+ {
+ CDOSessionConfiguration configuration = CDOUtil.createSessionConfiguration();
+
+ if (isSetConnectorDef())
+ {
+ configuration.setConnector((IConnector)getConnectorDef().getInstance());
+ }
+ if (isSetFailOverStrategyDef())
+ {
+ configuration.setFailOverStrategy((IFailOverStrategy)getFailOverStrategyDef().getInstance());
+ }
+ configuration.setPackageRegistry((CDOPackageRegistry)getCdoPackageRegistryDef().getInstance());
+ configuration.setRepositoryName(getRepositoryName());
+ return configuration.openSession();
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ CheckUtil.checkState //
+ (eIsSet(CDODefsPackage.CDO_SESSION_DEF__REPOSITORY_NAME), "repository name not set yet!");
+ /*
+ * failoverStrategy and connector are mutually exclusive
+ * @see CDOSessionConfiguration#openSession
+ */
+ CheckUtil.checkState(isSetConnectorDef() ^ isSetFailOverStrategyDef(),
+ "fail over strategy and connector are mutually exclusive!");
+ // CheckUtil.checkState(getCdoPackageRegistryDef() != null,
+ // "package registry definition is not set!");
+ CheckUtil.checkState(eIsSet(CDODefsPackage.CDO_SESSION_DEF__CDO_PACKAGE_REGISTRY_DEF),
+ "package registry definition is not set!");
+ }
+
+} // CDOSessionDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOTransactionDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOTransactionDefImpl.java
new file mode 100644
index 0000000000..1805bca119
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOTransactionDefImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOTransactionDefImpl.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.CDOSession;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>CDO Transaction Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOTransactionDefImpl extends CDOViewDefImpl implements CDOTransactionDef
+{
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOTransactionDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.CDO_TRANSACTION_DEF;
+ }
+
+ @Override
+ protected Object createInstance()
+ {
+ CDOSession cdoSession = (CDOSession) getCdoSessionDef().getInstance();
+ return cdoSession.openTransaction();
+ }
+
+} // CDOTransactionDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOViewDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOViewDefImpl.java
new file mode 100644
index 0000000000..91ab4e58db
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/CDOViewDefImpl.java
@@ -0,0 +1,188 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOViewDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.CDOSession;
+import org.eclipse.emf.cdo.CDOView;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.container.ContainerEventAdapter;
+import org.eclipse.net4j.util.container.IContainer;
+import org.eclipse.net4j.util.event.EventUtil;
+import org.eclipse.net4j.util.event.IListener;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>CDO View Definition</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.CDOViewDefImpl#getCdoSessionDef <em>Cdo Session Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOViewDefImpl extends DefImpl implements CDOViewDef {
+
+ protected IListener instanceListener = new ContainerEventAdapter<CDOView>() {
+ @Override
+ protected void onRemoved(IContainer<CDOView> container, CDOView element) {
+ Object instance = getInternalInstance();
+ if (element == instance) {
+ handleDeactivation(instance);
+ }
+ }
+ };
+
+ /**
+ * The cached value of the '{@link #getCdoSessionDef() <em>Cdo Session Def</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getCdoSessionDef()
+ * @generated
+ * @ordered
+ */
+ protected CDOSessionDef cdoSessionDef;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOViewDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.CDO_VIEW_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOSessionDef getCdoSessionDef() {
+ if (cdoSessionDef != null && cdoSessionDef.eIsProxy()) {
+ InternalEObject oldCdoSessionDef = (InternalEObject)cdoSessionDef;
+ cdoSessionDef = (CDOSessionDef)eResolveProxy(oldCdoSessionDef);
+ if (cdoSessionDef != oldCdoSessionDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF, oldCdoSessionDef, cdoSessionDef));
+ }
+ }
+ return cdoSessionDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOSessionDef basicGetCdoSessionDef() {
+ return cdoSessionDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCdoSessionDef(CDOSessionDef newCdoSessionDef) {
+ CDOSessionDef oldCdoSessionDef = cdoSessionDef;
+ cdoSessionDef = newCdoSessionDef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF, oldCdoSessionDef, cdoSessionDef));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF:
+ if (resolve) return getCdoSessionDef();
+ return basicGetCdoSessionDef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF:
+ setCdoSessionDef((CDOSessionDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF:
+ setCdoSessionDef((CDOSessionDef)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF:
+ return cdoSessionDef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ @Override
+ protected Object createInstance() {
+ CDOSession cdoSession = (CDOSession) getCdoSessionDef().getInstance();
+ return cdoSession.openView();
+ }
+
+ @Override
+ protected void validateDefinition() {
+ CheckUtil.checkState(eIsSet(CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF),
+ "no session definition set yet!");
+ }
+
+ protected void wireInstance(Object instance) {
+ EventUtil.addListener(((CDOView) instance).getSession(),
+ instanceListener);
+ }
+
+ protected void unwireInstance(Object instance) {
+ EventUtil.removeListener(((CDOView) instance).getSession(), instanceListener);
+ }
+} // CDOViewDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EDynamicPackageDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EDynamicPackageDefImpl.java
new file mode 100644
index 0000000000..0ab8e7016c
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EDynamicPackageDefImpl.java
@@ -0,0 +1,178 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EDynamicPackageDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef;
+
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Dynamic CDO Package Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.EDynamicPackageDefImpl#getResourceURI <em>Resource URI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EDynamicPackageDefImpl extends EPackageDefImpl implements EDynamicPackageDef
+{
+ /**
+ * The default value of the '{@link #getResourceURI() <em>Resource URI</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getResourceURI()
+ * @generated
+ * @ordered
+ */
+ protected static final String RESOURCE_URI_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getResourceURI() <em>Resource URI</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getResourceURI()
+ * @generated
+ * @ordered
+ */
+ protected String resourceURI = RESOURCE_URI_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected EDynamicPackageDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.EDYNAMIC_PACKAGE_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getResourceURI()
+ {
+ return resourceURI;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceURI(String newResourceURI)
+ {
+ String oldResourceURI = resourceURI;
+ resourceURI = newResourceURI;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.EDYNAMIC_PACKAGE_DEF__RESOURCE_URI, oldResourceURI, resourceURI));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EDYNAMIC_PACKAGE_DEF__RESOURCE_URI:
+ return getResourceURI();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EDYNAMIC_PACKAGE_DEF__RESOURCE_URI:
+ setResourceURI((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EDYNAMIC_PACKAGE_DEF__RESOURCE_URI:
+ setResourceURI(RESOURCE_URI_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EDYNAMIC_PACKAGE_DEF__RESOURCE_URI:
+ return RESOURCE_URI_EDEFAULT == null ? resourceURI != null : !RESOURCE_URI_EDEFAULT.equals(resourceURI);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (resourceURI: ");
+ result.append(resourceURI);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance()
+ {
+ throw new UnsupportedOperationException("not implemented yet!");
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ CheckUtil.checkState(eIsSet(CDODefsPackage.EDYNAMIC_PACKAGE_DEF__RESOURCE_URI), "resource uri not set!");
+ }
+
+} // DynamicCDOPackageDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EGlobalPackageDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EGlobalPackageDefImpl.java
new file mode 100644
index 0000000000..d2e35e9f19
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EGlobalPackageDefImpl.java
@@ -0,0 +1,49 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EGlobalPackageDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Native CDO Package Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class EGlobalPackageDefImpl extends EPackageDefImpl implements EGlobalPackageDef
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected EGlobalPackageDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.EGLOBAL_PACKAGE_DEF;
+ }
+
+ @Override
+ public Object createInstance()
+ {
+ return EPackage.Registry.INSTANCE.getEPackage(getNsURI());
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EPackageDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EPackageDefImpl.java
new file mode 100644
index 0000000000..b2fe21fb01
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/EPackageDefImpl.java
@@ -0,0 +1,176 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EPackageDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.EPackageDef;
+
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import java.net.URI;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>CDO Package Def</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.EPackageDefImpl#getNsURI <em>Ns URI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class EPackageDefImpl extends DefImpl implements EPackageDef
+{
+ /**
+ * The default value of the '{@link #getNsURI() <em>Ns URI</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getNsURI()
+ * @generated
+ * @ordered
+ */
+ protected static final String NS_URI_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNsURI() <em>Ns URI</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getNsURI()
+ * @generated
+ * @ordered
+ */
+ protected String nsURI = NS_URI_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected EPackageDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDODefsPackage.Literals.EPACKAGE_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getNsURI()
+ {
+ return nsURI;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNsURI(String newNsURI)
+ {
+ String oldNsURI = nsURI;
+ nsURI = newNsURI;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.EPACKAGE_DEF__NS_URI, oldNsURI, nsURI));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EPACKAGE_DEF__NS_URI:
+ return getNsURI();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EPACKAGE_DEF__NS_URI:
+ setNsURI((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EPACKAGE_DEF__NS_URI:
+ setNsURI(NS_URI_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case CDODefsPackage.EPACKAGE_DEF__NS_URI:
+ return NS_URI_EDEFAULT == null ? nsURI != null : !NS_URI_EDEFAULT.equals(nsURI);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (nsURI: ");
+ result.append(nsURI);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ CheckUtil.checkState(eIsSet(CDODefsPackage.EPACKAGE_DEF__NS_URI) && URI.create(getNsURI()) != null,
+ "nsURI not set or not valid!");
+ }
+
+} // CDOPackageDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/FailOverStrategyDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/FailOverStrategyDefImpl.java
new file mode 100644
index 0000000000..98e622a5bb
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/FailOverStrategyDefImpl.java
@@ -0,0 +1,160 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: FailOverStrategyDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef;
+
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Fail Over Strategy Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.FailOverStrategyDefImpl#getConnectorDef <em>Connector Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class FailOverStrategyDefImpl extends DefImpl implements FailOverStrategyDef {
+ /**
+ * The cached value of the '{@link #getConnectorDef() <em>Connector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConnectorDef()
+ * @generated
+ * @ordered
+ */
+ protected ConnectorDef connectorDef;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FailOverStrategyDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.FAIL_OVER_STRATEGY_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConnectorDef getConnectorDef() {
+ if (connectorDef != null && connectorDef.eIsProxy()) {
+ InternalEObject oldConnectorDef = (InternalEObject)connectorDef;
+ connectorDef = (ConnectorDef)eResolveProxy(oldConnectorDef);
+ if (connectorDef != oldConnectorDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF, oldConnectorDef, connectorDef));
+ }
+ }
+ return connectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConnectorDef basicGetConnectorDef() {
+ return connectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConnectorDef(ConnectorDef newConnectorDef) {
+ ConnectorDef oldConnectorDef = connectorDef;
+ connectorDef = newConnectorDef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF, oldConnectorDef, connectorDef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CDODefsPackage.FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF:
+ if (resolve) return getConnectorDef();
+ return basicGetConnectorDef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CDODefsPackage.FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF:
+ setConnectorDef((ConnectorDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF:
+ setConnectorDef((ConnectorDef)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.FAIL_OVER_STRATEGY_DEF__CONNECTOR_DEF:
+ return connectorDef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FailOverStrategyDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/PluginRepositoryProviderDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/PluginRepositoryProviderDefImpl.java
new file mode 100644
index 0000000000..a59e4abe2b
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/PluginRepositoryProviderDefImpl.java
@@ -0,0 +1,49 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: PluginRepositoryProviderDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef;
+import org.eclipse.emf.cdo.internal.server.PluginRepositoryProvider;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Plugin Repository Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PluginRepositoryProviderDefImpl extends RepositoryProviderDefImpl implements PluginRepositoryProviderDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PluginRepositoryProviderDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.PLUGIN_REPOSITORY_PROVIDER_DEF;
+ }
+
+ @Override
+ protected Object createInstance() {
+ return PluginRepositoryProvider.INSTANCE;
+ }
+
+} //PluginRepositoryProviderDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RepositoryProviderDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RepositoryProviderDefImpl.java
new file mode 100644
index 0000000000..0671b782bc
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RepositoryProviderDefImpl.java
@@ -0,0 +1,45 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: RepositoryProviderDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef;
+
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Repository Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class RepositoryProviderDefImpl extends DefImpl implements RepositoryProviderDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RepositoryProviderDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.REPOSITORY_PROVIDER_DEF;
+ }
+
+} //RepositoryProviderDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RetryFailOverStrategyDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RetryFailOverStrategyDefImpl.java
new file mode 100644
index 0000000000..03fb604c32
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/impl/RetryFailOverStrategyDefImpl.java
@@ -0,0 +1,201 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: RetryFailOverStrategyDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef;
+
+import org.eclipse.net4j.connector.IConnector;
+import org.eclipse.net4j.signal.failover.IFailOverStrategy;
+import org.eclipse.net4j.signal.failover.RetryFailOverStrategy;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>Retry Fail Over Strategy</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.cdodefs.impl.RetryFailOverStrategyDefImpl#getRetries <em>Retries</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RetryFailOverStrategyDefImpl extends FailOverStrategyDefImpl
+ implements RetryFailOverStrategyDef {
+ /**
+ * The default value of the '{@link #getRetries() <em>Retries</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getRetries()
+ * @generated
+ * @ordered
+ */
+ protected static final int RETRIES_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRetries() <em>Retries</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getRetries()
+ * @generated
+ * @ordered
+ */
+ protected int retries = RETRIES_EDEFAULT;
+
+ /**
+ * This is true if the Retries attribute has been set.
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean retriesESet;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected RetryFailOverStrategyDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDODefsPackage.Literals.RETRY_FAIL_OVER_STRATEGY_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRetries() {
+ return retries;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRetries(int newRetries) {
+ int oldRetries = retries;
+ retries = newRetries;
+ boolean oldRetriesESet = retriesESet;
+ retriesESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES, oldRetries, retries, !oldRetriesESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetRetries() {
+ int oldRetries = retries;
+ boolean oldRetriesESet = retriesESet;
+ retries = RETRIES_EDEFAULT;
+ retriesESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES, oldRetries, RETRIES_EDEFAULT, oldRetriesESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetRetries() {
+ return retriesESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES:
+ return new Integer(getRetries());
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES:
+ setRetries(((Integer)newValue).intValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES:
+ unsetRetries();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF__RETRIES:
+ return isSetRetries();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (retries: ");
+ if (retriesESet) result.append(retries); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected IFailOverStrategy createInstance() {
+ IFailOverStrategy failOverStrategy = null;
+ IConnector connector = (IConnector) getConnectorDef().getInstance();
+ if (isSetRetries()) {
+ failOverStrategy = new RetryFailOverStrategy(connector,
+ getRetries());
+ } else {
+ failOverStrategy = new RetryFailOverStrategy(connector);
+ }
+ return failOverStrategy;
+ }
+} // RetryFailOverStrategyImpl
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsAdapterFactory.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsAdapterFactory.java
new file mode 100644
index 0000000000..8246172bcd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsAdapterFactory.java
@@ -0,0 +1,504 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDODefsAdapterFactory.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.util;
+
+import org.eclipse.emf.cdo.cdodefs.CDOAuditDef;
+import org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOResourceDef;
+import org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+import org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EPackageDef;
+import org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef;
+import org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef;
+
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage
+ * @generated
+ */
+public class CDODefsAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CDODefsPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDODefsAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = CDODefsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDODefsSwitch<Adapter> modelSwitch =
+ new CDODefsSwitch<Adapter>() {
+ @Override
+ public Adapter caseCDOViewDef(CDOViewDef object) {
+ return createCDOViewDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOTransactionDef(CDOTransactionDef object) {
+ return createCDOTransactionDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOAuditDef(CDOAuditDef object) {
+ return createCDOAuditDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOSessionDef(CDOSessionDef object) {
+ return createCDOSessionDefAdapter();
+ }
+ @Override
+ public Adapter caseFailOverStrategyDef(FailOverStrategyDef object) {
+ return createFailOverStrategyDefAdapter();
+ }
+ @Override
+ public Adapter caseRetryFailOverStrategyDef(RetryFailOverStrategyDef object) {
+ return createRetryFailOverStrategyDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOPackageRegistryDef(CDOPackageRegistryDef object) {
+ return createCDOPackageRegistryDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOEagerPackageRegistryDef(CDOEagerPackageRegistryDef object) {
+ return createCDOEagerPackageRegistryDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOLazyPackageRegistryDef(CDOLazyPackageRegistryDef object) {
+ return createCDOLazyPackageRegistryDefAdapter();
+ }
+ @Override
+ public Adapter caseEPackageDef(EPackageDef object) {
+ return createEPackageDefAdapter();
+ }
+ @Override
+ public Adapter caseEDynamicPackageDef(EDynamicPackageDef object) {
+ return createEDynamicPackageDefAdapter();
+ }
+ @Override
+ public Adapter caseEGlobalPackageDef(EGlobalPackageDef object) {
+ return createEGlobalPackageDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOClientProtocolFactoryDef(CDOClientProtocolFactoryDef object) {
+ return createCDOClientProtocolFactoryDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOServerProtocolFactoryDef(CDOServerProtocolFactoryDef object) {
+ return createCDOServerProtocolFactoryDefAdapter();
+ }
+ @Override
+ public Adapter caseRepositoryProviderDef(RepositoryProviderDef object) {
+ return createRepositoryProviderDefAdapter();
+ }
+ @Override
+ public Adapter casePluginRepositoryProviderDef(PluginRepositoryProviderDef object) {
+ return createPluginRepositoryProviderDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOResourceDef(CDOResourceDef object) {
+ return createCDOResourceDefAdapter();
+ }
+ @Override
+ public Adapter caseDef(Def object) {
+ return createDefAdapter();
+ }
+ @Override
+ public Adapter caseProtocolProviderDef(ProtocolProviderDef object) {
+ return createProtocolProviderDefAdapter();
+ }
+ @Override
+ public Adapter caseClientProtocolFactoryDef(ClientProtocolFactoryDef object) {
+ return createClientProtocolFactoryDefAdapter();
+ }
+ @Override
+ public Adapter caseServerProtocolFactoryDef(ServerProtocolFactoryDef object) {
+ return createServerProtocolFactoryDefAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOViewDef <em>CDO View Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOViewDef
+ * @generated
+ */
+ public Adapter createCDOViewDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOTransactionDef <em>CDO Transaction Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOTransactionDef
+ * @generated
+ */
+ public Adapter createCDOTransactionDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOAuditDef <em>CDO Audit Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOAuditDef
+ * @generated
+ */
+ public Adapter createCDOAuditDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOSessionDef <em>CDO Session Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOSessionDef
+ * @generated
+ */
+ public Adapter createCDOSessionDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef <em>Fail Over Strategy Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef
+ * @generated
+ */
+ public Adapter createFailOverStrategyDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef <em>Retry Fail Over Strategy Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef
+ * @generated
+ */
+ public Adapter createRetryFailOverStrategyDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef <em>CDO Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef
+ * @generated
+ */
+ public Adapter createCDOPackageRegistryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef <em>CDO Eager Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef
+ * @generated
+ */
+ public Adapter createCDOEagerPackageRegistryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef <em>CDO Lazy Package Registry Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef
+ * @generated
+ */
+ public Adapter createCDOLazyPackageRegistryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.EPackageDef <em>EPackage Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.EPackageDef
+ * @generated
+ */
+ public Adapter createEPackageDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef <em>EDynamic Package Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef
+ * @generated
+ */
+ public Adapter createEDynamicPackageDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef <em>EGlobal Package Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef
+ * @generated
+ */
+ public Adapter createEGlobalPackageDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef <em>CDO Client Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef
+ * @generated
+ */
+ public Adapter createCDOClientProtocolFactoryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef <em>CDO Server Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef
+ * @generated
+ */
+ public Adapter createCDOServerProtocolFactoryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef <em>Repository Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef
+ * @generated
+ */
+ public Adapter createRepositoryProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef <em>Plugin Repository Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef
+ * @generated
+ */
+ public Adapter createPluginRepositoryProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.cdodefs.CDOResourceDef <em>CDO Resource Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.cdodefs.CDOResourceDef
+ * @generated
+ */
+ public Adapter createCDOResourceDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.util.net4jutildefs.Def <em>Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.util.net4jutildefs.Def
+ * @generated
+ */
+ public Adapter createDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ProtocolProviderDef <em>Protocol Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ProtocolProviderDef
+ * @generated
+ */
+ public Adapter createProtocolProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef <em>Client Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef
+ * @generated
+ */
+ public Adapter createClientProtocolFactoryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef <em>Server Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef
+ * @generated
+ */
+ public Adapter createServerProtocolFactoryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //CDODefsAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsSwitch.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsSwitch.java
new file mode 100644
index 0000000000..a5666695b6
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsSwitch.java
@@ -0,0 +1,577 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDODefsSwitch.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.cdodefs.util;
+
+import org.eclipse.emf.cdo.cdodefs.CDOAuditDef;
+import org.eclipse.emf.cdo.cdodefs.CDOClientProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.cdodefs.CDOEagerPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOLazyPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOResourceDef;
+import org.eclipse.emf.cdo.cdodefs.CDOServerProtocolFactoryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+import org.eclipse.emf.cdo.cdodefs.EDynamicPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EGlobalPackageDef;
+import org.eclipse.emf.cdo.cdodefs.EPackageDef;
+import org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef;
+import org.eclipse.emf.cdo.cdodefs.PluginRepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.RepositoryProviderDef;
+import org.eclipse.emf.cdo.cdodefs.RetryFailOverStrategyDef;
+
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.cdodefs.CDODefsPackage
+ * @generated
+ */
+public class CDODefsSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CDODefsPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDODefsSwitch() {
+ if (modelPackage == null) {
+ modelPackage = CDODefsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case CDODefsPackage.CDO_VIEW_DEF: {
+ CDOViewDef cdoViewDef = (CDOViewDef)theEObject;
+ T result = caseCDOViewDef(cdoViewDef);
+ if (result == null) result = caseDef(cdoViewDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_TRANSACTION_DEF: {
+ CDOTransactionDef cdoTransactionDef = (CDOTransactionDef)theEObject;
+ T result = caseCDOTransactionDef(cdoTransactionDef);
+ if (result == null) result = caseCDOViewDef(cdoTransactionDef);
+ if (result == null) result = caseDef(cdoTransactionDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_AUDIT_DEF: {
+ CDOAuditDef cdoAuditDef = (CDOAuditDef)theEObject;
+ T result = caseCDOAuditDef(cdoAuditDef);
+ if (result == null) result = caseCDOViewDef(cdoAuditDef);
+ if (result == null) result = caseDef(cdoAuditDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_SESSION_DEF: {
+ CDOSessionDef cdoSessionDef = (CDOSessionDef)theEObject;
+ T result = caseCDOSessionDef(cdoSessionDef);
+ if (result == null) result = caseDef(cdoSessionDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.FAIL_OVER_STRATEGY_DEF: {
+ FailOverStrategyDef failOverStrategyDef = (FailOverStrategyDef)theEObject;
+ T result = caseFailOverStrategyDef(failOverStrategyDef);
+ if (result == null) result = caseDef(failOverStrategyDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.RETRY_FAIL_OVER_STRATEGY_DEF: {
+ RetryFailOverStrategyDef retryFailOverStrategyDef = (RetryFailOverStrategyDef)theEObject;
+ T result = caseRetryFailOverStrategyDef(retryFailOverStrategyDef);
+ if (result == null) result = caseFailOverStrategyDef(retryFailOverStrategyDef);
+ if (result == null) result = caseDef(retryFailOverStrategyDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_PACKAGE_REGISTRY_DEF: {
+ CDOPackageRegistryDef cdoPackageRegistryDef = (CDOPackageRegistryDef)theEObject;
+ T result = caseCDOPackageRegistryDef(cdoPackageRegistryDef);
+ if (result == null) result = caseDef(cdoPackageRegistryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_EAGER_PACKAGE_REGISTRY_DEF: {
+ CDOEagerPackageRegistryDef cdoEagerPackageRegistryDef = (CDOEagerPackageRegistryDef)theEObject;
+ T result = caseCDOEagerPackageRegistryDef(cdoEagerPackageRegistryDef);
+ if (result == null) result = caseCDOPackageRegistryDef(cdoEagerPackageRegistryDef);
+ if (result == null) result = caseDef(cdoEagerPackageRegistryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_LAZY_PACKAGE_REGISTRY_DEF: {
+ CDOLazyPackageRegistryDef cdoLazyPackageRegistryDef = (CDOLazyPackageRegistryDef)theEObject;
+ T result = caseCDOLazyPackageRegistryDef(cdoLazyPackageRegistryDef);
+ if (result == null) result = caseCDOPackageRegistryDef(cdoLazyPackageRegistryDef);
+ if (result == null) result = caseDef(cdoLazyPackageRegistryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.EPACKAGE_DEF: {
+ EPackageDef ePackageDef = (EPackageDef)theEObject;
+ T result = caseEPackageDef(ePackageDef);
+ if (result == null) result = caseDef(ePackageDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.EDYNAMIC_PACKAGE_DEF: {
+ EDynamicPackageDef eDynamicPackageDef = (EDynamicPackageDef)theEObject;
+ T result = caseEDynamicPackageDef(eDynamicPackageDef);
+ if (result == null) result = caseEPackageDef(eDynamicPackageDef);
+ if (result == null) result = caseDef(eDynamicPackageDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.EGLOBAL_PACKAGE_DEF: {
+ EGlobalPackageDef eGlobalPackageDef = (EGlobalPackageDef)theEObject;
+ T result = caseEGlobalPackageDef(eGlobalPackageDef);
+ if (result == null) result = caseEPackageDef(eGlobalPackageDef);
+ if (result == null) result = caseDef(eGlobalPackageDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_CLIENT_PROTOCOL_FACTORY_DEF: {
+ CDOClientProtocolFactoryDef cdoClientProtocolFactoryDef = (CDOClientProtocolFactoryDef)theEObject;
+ T result = caseCDOClientProtocolFactoryDef(cdoClientProtocolFactoryDef);
+ if (result == null) result = caseClientProtocolFactoryDef(cdoClientProtocolFactoryDef);
+ if (result == null) result = caseProtocolProviderDef(cdoClientProtocolFactoryDef);
+ if (result == null) result = caseDef(cdoClientProtocolFactoryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_SERVER_PROTOCOL_FACTORY_DEF: {
+ CDOServerProtocolFactoryDef cdoServerProtocolFactoryDef = (CDOServerProtocolFactoryDef)theEObject;
+ T result = caseCDOServerProtocolFactoryDef(cdoServerProtocolFactoryDef);
+ if (result == null) result = caseServerProtocolFactoryDef(cdoServerProtocolFactoryDef);
+ if (result == null) result = caseProtocolProviderDef(cdoServerProtocolFactoryDef);
+ if (result == null) result = caseDef(cdoServerProtocolFactoryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.REPOSITORY_PROVIDER_DEF: {
+ RepositoryProviderDef repositoryProviderDef = (RepositoryProviderDef)theEObject;
+ T result = caseRepositoryProviderDef(repositoryProviderDef);
+ if (result == null) result = caseDef(repositoryProviderDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.PLUGIN_REPOSITORY_PROVIDER_DEF: {
+ PluginRepositoryProviderDef pluginRepositoryProviderDef = (PluginRepositoryProviderDef)theEObject;
+ T result = casePluginRepositoryProviderDef(pluginRepositoryProviderDef);
+ if (result == null) result = caseRepositoryProviderDef(pluginRepositoryProviderDef);
+ if (result == null) result = caseDef(pluginRepositoryProviderDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDODefsPackage.CDO_RESOURCE_DEF: {
+ CDOResourceDef cdoResourceDef = (CDOResourceDef)theEObject;
+ T result = caseCDOResourceDef(cdoResourceDef);
+ if (result == null) result = caseDef(cdoResourceDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO View Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO View Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOViewDef(CDOViewDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Transaction Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Transaction Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOTransactionDef(CDOTransactionDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Audit Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Audit Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOAuditDef(CDOAuditDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Session Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Session Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOSessionDef(CDOSessionDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Fail Over Strategy Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Fail Over Strategy Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFailOverStrategyDef(FailOverStrategyDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Retry Fail Over Strategy Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Retry Fail Over Strategy Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRetryFailOverStrategyDef(RetryFailOverStrategyDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Package Registry Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Package Registry Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOPackageRegistryDef(CDOPackageRegistryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Eager Package Registry Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Eager Package Registry Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOEagerPackageRegistryDef(CDOEagerPackageRegistryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Lazy Package Registry Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Lazy Package Registry Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOLazyPackageRegistryDef(CDOLazyPackageRegistryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EPackage Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EPackage Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEPackageDef(EPackageDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EDynamic Package Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EDynamic Package Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEDynamicPackageDef(EDynamicPackageDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EGlobal Package Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EGlobal Package Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEGlobalPackageDef(EGlobalPackageDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Client Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Client Protocol Factory Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOClientProtocolFactoryDef(CDOClientProtocolFactoryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Server Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Server Protocol Factory Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOServerProtocolFactoryDef(CDOServerProtocolFactoryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Repository Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Repository Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRepositoryProviderDef(RepositoryProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Plugin Repository Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Plugin Repository Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePluginRepositoryProviderDef(PluginRepositoryProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Resource Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Resource Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOResourceDef(CDOResourceDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDef(Def object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Protocol Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Protocol Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProtocolProviderDef(ProtocolProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Client Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Client Protocol Factory Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClientProtocolFactoryDef(ClientProtocolFactoryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Server Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Server Protocol Factory Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseServerProtocolFactoryDef(ServerProtocolFactoryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //CDODefsSwitch
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsUtil.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsUtil.java
new file mode 100644
index 0000000000..30255e670f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/cdodefs/util/CDODefsUtil.java
@@ -0,0 +1,78 @@
+package org.eclipse.emf.cdo.cdodefs.util;
+
+import org.eclipse.emf.cdo.cdodefs.CDOAuditDef;
+import org.eclipse.emf.cdo.cdodefs.CDODefsFactory;
+import org.eclipse.emf.cdo.cdodefs.CDOPackageRegistryDef;
+import org.eclipse.emf.cdo.cdodefs.CDOResourceDef;
+import org.eclipse.emf.cdo.cdodefs.CDOSessionDef;
+import org.eclipse.emf.cdo.cdodefs.CDOTransactionDef;
+import org.eclipse.emf.cdo.cdodefs.FailOverStrategyDef;
+
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+
+import java.util.Date;
+
+public class CDODefsUtil
+{
+
+ public static CDOSessionDef createSessionDef(String repositoryName, CDOPackageRegistryDef cdoPackageRegistryDef,
+ TCPConnectorDef tcpConnectorDef)
+ {
+ CDOSessionDef cdoSessionDef = CDODefsFactory.eINSTANCE.createCDOSessionDef();
+ cdoSessionDef.setConnectorDef(tcpConnectorDef);
+ cdoSessionDef.setRepositoryName(repositoryName);
+ cdoSessionDef.setCdoPackageRegistryDef(cdoPackageRegistryDef);
+ return cdoSessionDef;
+ }
+
+ public static CDOSessionDef createSessionDef(String repositoryName, CDOPackageRegistryDef cdoPackageRegistryDef,
+ FailOverStrategyDef failOverStrategyDef)
+ {
+ CDOSessionDef cdoSessionDef = CDODefsFactory.eINSTANCE.createCDOSessionDef();
+ cdoSessionDef.setFailOverStrategyDef(failOverStrategyDef);
+ cdoSessionDef.setRepositoryName(repositoryName);
+ cdoSessionDef.setCdoPackageRegistryDef(cdoPackageRegistryDef);
+ return cdoSessionDef;
+ }
+
+ public static CDOPackageRegistryDef createEagerPackageRegistryDef()
+ {
+ CDOPackageRegistryDef cdoPackageRegistryDef = CDODefsFactory.eINSTANCE.createCDOEagerPackageRegistryDef();
+ return cdoPackageRegistryDef;
+ }
+
+ public static CDOAuditDef createCDOAuditDef(CDOSessionDef cdoSessionDef)
+ {
+ CDOAuditDef cdoAuditDef = CDODefsFactory.eINSTANCE.createCDOAuditDef();
+ cdoAuditDef.setCdoSessionDef(cdoSessionDef);
+ cdoAuditDef.setTimeStamp(new Date());
+ return cdoAuditDef;
+ }
+
+ public static CDOTransactionDef createCDOTransactionDef(String host, String repositoryName,
+ TCPConnectorDef tcpConnectorDef)
+ {
+ CDOSessionDef sessionDef = createSessionDef(repositoryName, //
+ createEagerPackageRegistryDef(), //
+ tcpConnectorDef);
+
+ return createCDOTransactionDef(sessionDef);
+ }
+
+ public static CDOTransactionDef createCDOTransactionDef(CDOSessionDef cdoSessionDef)
+ {
+
+ CDOTransactionDef cdoTransactionDef = CDODefsFactory.eINSTANCE.createCDOTransactionDef();
+ cdoTransactionDef.setCdoSessionDef(cdoSessionDef);
+ return cdoTransactionDef;
+ }
+
+ public static CDOResourceDef createCDOResourceDef(CDOTransactionDef cdoTransactionDef)
+ {
+
+ CDOResourceDef cdoResourceDef = CDODefsFactory.eINSTANCE.createCDOResourceDef();
+ cdoResourceDef.setCdoTransaction(cdoTransactionDef);
+ return cdoResourceDef;
+ }
+
+}
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.classpath b/plugins/org.eclipse.emf.cdo.ui.defs/.classpath
new file mode 100644
index 0000000000..304e86186a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.cvsignore b/plugins/org.eclipse.emf.cdo.ui.defs/.cvsignore
new file mode 100644
index 0000000000..ba077a4031
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.project b/plugins/org.eclipse.emf.cdo.ui.defs/.project
new file mode 100644
index 0000000000..83e5e9be91
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.emf.cdo.ui.defs</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..6121790430
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 12 15:21:10 CET 2008
+eclipse.preferences.version=1
+encoding//model/org.eclipse.emf.cdo.ui.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..a006c51240
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,258 @@
+#Mon Dec 15 16:13:39 CET 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=2
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..1bcd6e9c80
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,4 @@
+#Mon Dec 15 16:13:39 CET 2008
+eclipse.preferences.version=1
+formatter_profile=_Unmanaged profile 'EMFT' mine
+formatter_settings_version=11
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.moreunit.prefs b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.moreunit.prefs
new file mode 100644
index 0000000000..71fcdf29a9
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/.settings/org.moreunit.prefs
@@ -0,0 +1,6 @@
+#Mon Dec 15 10:00:16 CET 2008
+eclipse.preferences.version=1
+org.moreunit.flexiblenaming=true
+org.moreunit.prefixes=
+org.moreunit.unitsourcefolder=org.eclipse.emf.cdo.ui.defs\:src\:org.eclipse.emf.cdo.tests.ui.defs\:src
+org.moreunit.useprojectsettings=true
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.ui.defs/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..7784b3933f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/META-INF/MANIFEST.MF
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.emf.cdo.ui.defs;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.eclipse.emf.cdo.ui.cdouidefs,
+ org.eclipse.emf.cdo.ui.cdouidefs.editorlauncher,
+ org.eclipse.emf.cdo.ui.cdouidefs.impl,
+ org.eclipse.emf.cdo.ui.cdouidefs.util
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.cdo;visibility:=reexport,
+ org.eclipse.emf.cdo.defs;visibility:=reexport,
+ org.eclipse.net4j.util.defs;visibility:=reexport,
+ org.eclipse.net4j.defs;visibility:=reexport,
+ org.eclipse.ui;bundle-version="3.4.0",
+ org.eclipse.emf.cdo.ui;bundle-version="2.0.0"
+Bundle-ActivationPolicy: lazy
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/about.html b/plugins/org.eclipse.emf.cdo.ui.defs/about.html
new file mode 100644
index 0000000000..d35d5aed64
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/build.properties b/plugins/org.eclipse.emf.cdo.ui.defs/build.properties
new file mode 100644
index 0000000000..becb1ebc4e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/build.properties
@@ -0,0 +1,14 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id: build.properties,v 1.1 2008-12-28 18:05:25 estepper Exp $
+
+bin.includes = .,\
+ model/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties
+jars.compile.order = .
+source.. = src/
+output.. = bin/
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/copyright.txt b/plugins/org.eclipse.emf.cdo.ui.defs/copyright.txt
new file mode 100644
index 0000000000..529118d99e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/copyright.txt
@@ -0,0 +1,8 @@
+Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+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:
+ Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/epl-v10.html b/plugins/org.eclipse.emf.cdo.ui.defs/epl-v10.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/epl-v10.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/icons/database_go.png b/plugins/org.eclipse.emf.cdo.ui.defs/icons/database_go.png
new file mode 100644
index 0000000000..61a8556c40
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/icons/database_go.png
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/license.html b/plugins/org.eclipse.emf.cdo.ui.defs/license.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/license.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecore b/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecore
new file mode 100644
index 0000000000..8c16552050
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecore
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="cdouidefs"
+ nsURI="http://www.eclipse.org/emf/CDO/ui/defs/1.0.0" nsPrefix="cdouidefs">
+ <eClassifiers xsi:type="ecore:EClass" name="EditorDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="editorID" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CDOEditorDef" eSuperTypes="#//EditorDef">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cdoView" lowerBound="1"
+ eType="ecore:EClass ../../org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.ecore#//CDOViewDef"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourcePath" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecorediag b/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecorediag
new file mode 100644
index 0000000000..21eee2e26a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.ecorediag
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" xmi:id="_IICdgchYEd2cL7seIDpZRw" type="EcoreTools" measurementUnit="Pixel">
+ <children xmi:type="notation:Node" xmi:id="_ILuDoMhYEd2cL7seIDpZRw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_IMxzkMhYEd2cL7seIDpZRw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_IM4hQMhYEd2cL7seIDpZRw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_IPMOYMhYEd2cL7seIDpZRw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.ui.defs.ecore#//EditorDef/editorID"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_IPMOYchYEd2cL7seIDpZRw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_IM4hQchYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_IM4hQshYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_IM4hQ8hYEd2cL7seIDpZRw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_IM69gMhYEd2cL7seIDpZRw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_IM69gchYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_IM69gshYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_IM69g8hYEd2cL7seIDpZRw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ILuDochYEd2cL7seIDpZRw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.ui.defs.ecore#//EditorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ILuDoshYEd2cL7seIDpZRw" x="16"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_IPPRsMhYEd2cL7seIDpZRw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_IPZpwMhYEd2cL7seIDpZRw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_IPaQ0MhYEd2cL7seIDpZRw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_IPizsMhYEd2cL7seIDpZRw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.emf.cdo.ui.defs.ecore#//CDOEditorDef/resourcePath"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_IPizschYEd2cL7seIDpZRw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_IPaQ0chYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_IPaQ0shYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_IPaQ08hYEd2cL7seIDpZRw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_IPaQ1MhYEd2cL7seIDpZRw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_IPaQ1chYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_IPaQ1shYEd2cL7seIDpZRw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_IPaQ18hYEd2cL7seIDpZRw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_IPPRschYEd2cL7seIDpZRw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.emf.cdo.ui.defs.ecore#//CDOEditorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IPPRsshYEd2cL7seIDpZRw" y="109"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_IIDroMhYEd2cL7seIDpZRw"/>
+ <element xmi:type="ecore:EPackage" href="org.eclipse.emf.cdo.ui.defs.ecore#/"/>
+ <edges xmi:type="notation:Edge" xmi:id="_IPty0MhYEd2cL7seIDpZRw" type="3003" source="_IPPRsMhYEd2cL7seIDpZRw" target="_ILuDoMhYEd2cL7seIDpZRw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_IPty0chYEd2cL7seIDpZRw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_IPuZ4MhYEd2cL7seIDpZRw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IPuZ4chYEd2cL7seIDpZRw" points="[0, 0, 0, 60]$[0, -60, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JEdpgMhYEd2cL7seIDpZRw" id="(0.49707603,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JEeQkMhYEd2cL7seIDpZRw" id="(0.4964029,1.0)"/>
+ </edges>
+</notation:Diagram>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.genmodel b/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.genmodel
new file mode 100644
index 0000000000..9971d45e47
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/model/org.eclipse.emf.cdo.ui.defs.genmodel
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.cdo.ui.defs/src"
+ modelPluginID="org.eclipse.emf.cdo.ui.defs" modelName="Org.eclipse.emf.cdo.ui"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
+ usedGenPackages="../../org.eclipse.emf.cdo.defs/model/org.eclipse.emf.cdo.defs.genmodel#//cdodefs ../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.genmodel#//net4jutildefs ../../org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel#//net4jdefs">
+ <foreignModel>org.eclipse.emf.cdo.ui.defs.ecore</foreignModel>
+ <genPackages prefix="CDOUIDefs" basePackage="org.eclipse.emf.cdo.ui" disposableProviderFactory="true"
+ ecorePackage="org.eclipse.emf.cdo.ui.defs.ecore#/">
+ <genClasses ecoreClass="org.eclipse.emf.cdo.ui.defs.ecore#//EditorDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.ui.defs.ecore#//EditorDef/editorID"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.emf.cdo.ui.defs.ecore#//CDOEditorDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.emf.cdo.ui.defs.ecore#//CDOEditorDef/view"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.emf.cdo.ui.defs.ecore#//CDOEditorDef/resourcePaths"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/plugin.properties b/plugins/org.eclipse.emf.cdo.ui.defs/plugin.properties
new file mode 100644
index 0000000000..0b5df83aad
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/plugin.properties
@@ -0,0 +1,25 @@
+# Copyright (c) 2004 - 2008 André Dietisheim, Switzerland.
+# 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:
+# André Dietisheim - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+pluginName = CDO Model Repository UI Definitions
+providerName = Eclipse.org
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/plugin.xml b/plugins/org.eclipse.emf.cdo.ui.defs/plugin.xml
new file mode 100644
index 0000000000..a01f00e66e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/plugin.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id: plugin.xml,v 1.1 2008-12-28 18:05:25 estepper Exp $
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.eclipse.org/emf/CDO/ui/defs/1.0.0"
+ class="org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage"
+ genModel="model/org.eclipse.emf.cdo.ui.defs.genmodel"/>
+ </extension>
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ default="false"
+ icon="icons/database_go.png"
+ id="org.eclipse.emf.cdo.ui.defs.editorlauncher"
+ launcher="org.eclipse.emf.cdo.ui.cdouidefs.editorlauncher.EditorLauncher"
+ name="name">
+ <contentTypeBinding
+ contentTypeId="org.eclipse.emf.cdo.ui.defs.editor.contenttype">
+ </contentTypeBinding>
+ </editor>
+ </extension>
+ <extension
+ point="org.eclipse.core.runtime.contentTypes">
+ <content-type file-extensions="xmi" id="org.eclipse.emf.cdo.ui.defs.contenttype" name="CDO Editor launcher File" priority="normal">
+ <describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber2">
+ <parameter name="element" value="CDOEditorDef">
+ </parameter>
+ </describer>
+ </content-type>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOEditorDef.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOEditorDef.java
new file mode 100644
index 0000000000..4546e70f00
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOEditorDef.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOEditorDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs;
+
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDO Editor Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getCdoView <em>Cdo View</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getResourcePath <em>Resource Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage#getCDOEditorDef()
+ * @model
+ * @generated
+ */
+public interface CDOEditorDef extends EditorDef {
+ /**
+ * Returns the value of the '<em><b>Cdo View</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cdo View</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cdo View</em>' reference.
+ * @see #setCdoView(CDOViewDef)
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage#getCDOEditorDef_CdoView()
+ * @model required="true"
+ * @generated
+ */
+ CDOViewDef getCdoView();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getCdoView <em>Cdo View</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cdo View</em>' reference.
+ * @see #getCdoView()
+ * @generated
+ */
+ void setCdoView(CDOViewDef value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Path</em>' attribute.
+ * @see #setResourcePath(String)
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage#getCDOEditorDef_ResourcePath()
+ * @model required="true"
+ * @generated
+ */
+ String getResourcePath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getResourcePath <em>Resource Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Path</em>' attribute.
+ * @see #getResourcePath()
+ * @generated
+ */
+ void setResourcePath(String value);
+
+} // CDOEditorDef
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsFactory.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsFactory.java
new file mode 100644
index 0000000000..96a10d8a05
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsFactory.java
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOUIDefsFactory.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage
+ * @generated
+ */
+public interface CDOUIDefsFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CDOUIDefsFactory eINSTANCE = org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOUIDefsFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Editor Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Editor Def</em>'.
+ * @generated
+ */
+ EditorDef createEditorDef();
+
+ /**
+ * Returns a new object of class '<em>CDO Editor Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDO Editor Def</em>'.
+ * @generated
+ */
+ CDOEditorDef createCDOEditorDef();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ CDOUIDefsPackage getCDOUIDefsPackage();
+
+} //CDOUIDefsFactory
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsPackage.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsPackage.java
new file mode 100644
index 0000000000..02dc236986
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/CDOUIDefsPackage.java
@@ -0,0 +1,260 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOUIDefsPackage.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface CDOUIDefsPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "cdouidefs";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/CDO/ui/defs/1.0.0";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "cdouidefs";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CDOUIDefsPackage eINSTANCE = org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOUIDefsPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.ui.cdouidefs.impl.EditorDefImpl <em>Editor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.EditorDefImpl
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOUIDefsPackageImpl#getEditorDef()
+ * @generated
+ */
+ int EDITOR_DEF = 0;
+
+ /**
+ * The feature id for the '<em><b>Editor ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDITOR_DEF__EDITOR_ID = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Editor Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDITOR_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOEditorDefImpl <em>CDO Editor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOEditorDefImpl
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOUIDefsPackageImpl#getCDOEditorDef()
+ * @generated
+ */
+ int CDO_EDITOR_DEF = 1;
+
+ /**
+ * The feature id for the '<em><b>Editor ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_EDITOR_DEF__EDITOR_ID = EDITOR_DEF__EDITOR_ID;
+
+ /**
+ * The feature id for the '<em><b>Cdo View</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_EDITOR_DEF__CDO_VIEW = EDITOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Resource Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_EDITOR_DEF__RESOURCE_PATH = EDITOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>CDO Editor Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_EDITOR_DEF_FEATURE_COUNT = EDITOR_DEF_FEATURE_COUNT + 2;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.ui.cdouidefs.EditorDef <em>Editor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Editor Def</em>'.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.EditorDef
+ * @generated
+ */
+ EClass getEditorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.ui.cdouidefs.EditorDef#getEditorID <em>Editor ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Editor ID</em>'.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.EditorDef#getEditorID()
+ * @see #getEditorDef()
+ * @generated
+ */
+ EAttribute getEditorDef_EditorID();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef <em>CDO Editor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDO Editor Def</em>'.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef
+ * @generated
+ */
+ EClass getCDOEditorDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getCdoView <em>Cdo View</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Cdo View</em>'.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getCdoView()
+ * @see #getCDOEditorDef()
+ * @generated
+ */
+ EReference getCDOEditorDef_CdoView();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getResourcePath <em>Resource Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Resource Path</em>'.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef#getResourcePath()
+ * @see #getCDOEditorDef()
+ * @generated
+ */
+ EAttribute getCDOEditorDef_ResourcePath();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ CDOUIDefsFactory getCDOUIDefsFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.ui.cdouidefs.impl.EditorDefImpl <em>Editor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.EditorDefImpl
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOUIDefsPackageImpl#getEditorDef()
+ * @generated
+ */
+ EClass EDITOR_DEF = eINSTANCE.getEditorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Editor ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EDITOR_DEF__EDITOR_ID = eINSTANCE.getEditorDef_EditorID();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOEditorDefImpl <em>CDO Editor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOEditorDefImpl
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOUIDefsPackageImpl#getCDOEditorDef()
+ * @generated
+ */
+ EClass CDO_EDITOR_DEF = eINSTANCE.getCDOEditorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Cdo View</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CDO_EDITOR_DEF__CDO_VIEW = eINSTANCE.getCDOEditorDef_CdoView();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_EDITOR_DEF__RESOURCE_PATH = eINSTANCE.getCDOEditorDef_ResourcePath();
+
+ }
+
+} //CDOUIDefsPackage
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/EditorDef.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/EditorDef.java
new file mode 100644
index 0000000000..b1d40b849f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/EditorDef.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EditorDef.java,v 1.1 2008-12-28 18:05:24 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Editor Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.ui.cdouidefs.EditorDef#getEditorID <em>Editor ID</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage#getEditorDef()
+ * @model
+ * @generated
+ */
+public interface EditorDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Editor ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Editor ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Editor ID</em>' attribute.
+ * @see #setEditorID(String)
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage#getEditorDef_EditorID()
+ * @model required="true"
+ * @generated
+ */
+ String getEditorID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.ui.cdouidefs.EditorDef#getEditorID <em>Editor ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Editor ID</em>' attribute.
+ * @see #getEditorID()
+ * @generated
+ */
+ void setEditorID(String value);
+
+} // EditorDef
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/editorlauncher/EditorLauncher.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/editorlauncher/EditorLauncher.java
new file mode 100644
index 0000000000..b6bfdcab95
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/editorlauncher/EditorLauncher.java
@@ -0,0 +1,42 @@
+/***************************************************************************
+ * Copyright (c) 2008 Open Canarias S.L. 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Victor Roldan Betancort - initial API and implementation
+ * Eike Stepper - maintenance
+ **************************************************************************/
+
+package org.eclipse.emf.cdo.ui.cdouidefs.editorlauncher;
+
+import org.eclipse.emf.cdo.ui.cdouidefs.EditorDef;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.ui.IEditorLauncher;
+
+@SuppressWarnings("restriction")
+public class EditorLauncher implements IEditorLauncher
+{
+
+ public void open(IPath file)
+ {
+ ResourceSet resourceSet = new ResourceSetImpl();
+ URI resourceURI = URI.createFileURI(file.toString());
+ Resource ecoreResource = resourceSet.getResource(resourceURI, true);
+ EObject eObject = ecoreResource.getContents().get(0);
+ if (eObject instanceof EditorDef)
+ {
+ EditorDef editorDef = ((EditorDef) eObject);
+ editorDef.getInstance();
+ }
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOEditorDefImpl.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOEditorDefImpl.java
new file mode 100644
index 0000000000..d2b0722f49
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOEditorDefImpl.java
@@ -0,0 +1,385 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOEditorDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs.impl;
+
+import org.eclipse.emf.cdo.CDOView;
+import org.eclipse.emf.cdo.cdodefs.CDOViewDef;
+import org.eclipse.emf.cdo.internal.ui.editor.CDOEditor;
+import org.eclipse.emf.cdo.internal.ui.editor.CDOEditorInput;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage;
+
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.DefException;
+import org.eclipse.net4j.util.ui.UIUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IPartListener;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchPart;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.PlatformUI;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>View Editor Def</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOEditorDefImpl#getCdoView <em>Cdo View</em>}</li>
+ * <li>
+ * {@link org.eclipse.emf.cdo.ui.cdouidefs.impl.CDOEditorDefImpl#getResourcePath <em>Resource Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CDOEditorDefImpl extends EditorDefImpl implements CDOEditorDef
+{
+
+ /**
+ * The cached value of the '{@link #getCdoView() <em>Cdo View</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getCdoView()
+ * @generated
+ * @ordered
+ */
+ protected CDOViewDef cdoView;
+
+ /**
+ * The default value of the '{@link #getResourcePath() <em>Resource Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResourcePath()
+ * @generated
+ * @ordered
+ */
+ protected static final String RESOURCE_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getResourcePath() <em>Resource Path</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getResourcePath()
+ * @generated
+ * @ordered
+ */
+ protected String resourcePath = RESOURCE_PATH_EDEFAULT;
+
+ protected IPartListener partListener = new IPartListener()
+ {
+
+ public void partActivated(IWorkbenchPart part)
+ {
+ // ignore
+ }
+
+ public void partBroughtToTop(IWorkbenchPart part)
+ {
+ // ignore
+ }
+
+ public void partClosed(IWorkbenchPart part)
+ {
+ Object instance = getInternalInstance();
+ if (part == instance)
+ {
+ handleDeactivation(instance);
+ }
+ }
+
+ public void partDeactivated(IWorkbenchPart part)
+ {
+ // ignore
+ }
+
+ public void partOpened(IWorkbenchPart part)
+ {
+ // ignore
+ }
+ };
+
+ @Override
+ public void unsetInstance()
+ {
+ handleDeactivation(getInternalInstance());
+ }
+
+ @Override
+ protected void handleDeactivation(Object instance)
+ {
+ CheckUtil.checkState(instance, "the instance ist not created yet or already close!");
+ closeEditor((CDOEditor)instance);
+ super.handleDeactivation(instance);
+ }
+
+ @Override
+ protected void unwireInstance(Object instance)
+ {
+ IWorkbenchWindow activeWorkbenchWindow = UIUtil.getActiveWorkbenchWindow();
+ if (activeWorkbenchWindow != null)
+ {
+ activeWorkbenchWindow.getPartService().removePartListener(partListener);
+ }
+ }
+
+ @Override
+ protected void wireInstance(Object instance)
+ {
+ IWorkbenchWindow activeWorkbenchWindow = UIUtil.getActiveWorkbenchWindow();
+ if (activeWorkbenchWindow != null)
+ {
+ activeWorkbenchWindow.getPartService().addPartListener(partListener);
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOEditorDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return CDOUIDefsPackage.Literals.CDO_EDITOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOViewDef getCdoView()
+ {
+ if (cdoView != null && cdoView.eIsProxy())
+ {
+ InternalEObject oldCdoView = (InternalEObject)cdoView;
+ cdoView = (CDOViewDef)eResolveProxy(oldCdoView);
+ if (cdoView != oldCdoView)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDOUIDefsPackage.CDO_EDITOR_DEF__CDO_VIEW, oldCdoView, cdoView));
+ }
+ }
+ return cdoView;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOViewDef basicGetCdoView()
+ {
+ return cdoView;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCdoView(CDOViewDef newCdoView)
+ {
+ CDOViewDef oldCdoView = cdoView;
+ cdoView = newCdoView;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDOUIDefsPackage.CDO_EDITOR_DEF__CDO_VIEW, oldCdoView, cdoView));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getResourcePath()
+ {
+ return resourcePath;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourcePath(String newResourcePath)
+ {
+ String oldResourcePath = resourcePath;
+ resourcePath = newResourcePath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDOUIDefsPackage.CDO_EDITOR_DEF__RESOURCE_PATH, oldResourcePath, resourcePath));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__CDO_VIEW:
+ if (resolve) return getCdoView();
+ return basicGetCdoView();
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__RESOURCE_PATH:
+ return getResourcePath();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__CDO_VIEW:
+ setCdoView((CDOViewDef)newValue);
+ return;
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__RESOURCE_PATH:
+ setResourcePath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__CDO_VIEW:
+ setCdoView((CDOViewDef)null);
+ return;
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__RESOURCE_PATH:
+ setResourcePath(RESOURCE_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__CDO_VIEW:
+ return cdoView != null;
+ case CDOUIDefsPackage.CDO_EDITOR_DEF__RESOURCE_PATH:
+ return RESOURCE_PATH_EDEFAULT == null ? resourcePath != null : !RESOURCE_PATH_EDEFAULT.equals(resourcePath);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (resourcePath: ");
+ result.append(resourcePath);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance()
+ {
+ return openCDOEditor(getResourcePath());
+ }
+
+ /**
+ * Open a {@link CDOEditor} for a given resource path.
+ *
+ * @param resourcePath
+ * the resource path to open an editor for
+ * @return the editor part that was opened, <tt>null</tt> if an exception occurred while opening it
+ * @throws DefException
+ * if the Editor could not be opened
+ */
+ private IEditorPart openCDOEditor(String resourcePath)
+ {
+ IEditorInput input = new CDOEditorInput((CDOView)getCdoView().getInstance(), resourcePath);
+ IEditorPart cdoEditor = null;
+ IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
+ CheckUtil.checkState(workbenchWindow != null && workbenchWindow.getActivePage() != null,
+ "no active window or no active page present!");
+ try
+ {
+ return workbenchWindow.getActivePage().openEditor(input, doGetEditorID());
+ }
+ catch (PartInitException e)
+ {
+ throw new DefException("the CDOEditor could not be opened!", e);
+ }
+ }
+
+ /**
+ * Gets the editor id. if the public property #editorID is set, this ID is returned. Otherwise the default
+ * CDOEditor#EDITOR_ID is returned.
+ *
+ * @param editorID
+ * the editor id
+ * @return the string
+ */
+ private String doGetEditorID()
+ {
+ String editorID = getEditorID();
+ if (editorID == null || editorID.length() <= 0)
+ {
+ editorID = CDOEditor.EDITOR_ID;
+ }
+ return editorID;
+ }
+
+ private void closeEditor(IEditorPart editorPart)
+ {
+ IWorkbenchPage workbenchPage = UIUtil.getActiveWorkbenchPage();
+ if (workbenchPage != null)
+ {
+ workbenchPage.closeEditor(editorPart, true);
+ }
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ super.validateDefinition();
+ CheckUtil.checkState(getResourcePath() != null && getResourcePath().length() > 0, "resource paths are not set!");
+ CheckUtil.checkState(getCdoView() != null, "cdo view is not set!");
+ }
+
+} // ViewEditorDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsFactoryImpl.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsFactoryImpl.java
new file mode 100644
index 0000000000..cc1c1a8030
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsFactoryImpl.java
@@ -0,0 +1,115 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOUIDefsFactoryImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs.impl;
+
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsFactory;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage;
+import org.eclipse.emf.cdo.ui.cdouidefs.EditorDef;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CDOUIDefsFactoryImpl extends EFactoryImpl implements CDOUIDefsFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CDOUIDefsFactory init() {
+ try
+ {
+ CDOUIDefsFactory theCDOUIDefsFactory = (CDOUIDefsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/CDO/ui/defs/1.0.0");
+ if (theCDOUIDefsFactory != null)
+ {
+ return theCDOUIDefsFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new CDOUIDefsFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOUIDefsFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID())
+ {
+ case CDOUIDefsPackage.EDITOR_DEF: return createEditorDef();
+ case CDOUIDefsPackage.CDO_EDITOR_DEF: return createCDOEditorDef();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EditorDef createEditorDef() {
+ EditorDefImpl editorDef = new EditorDefImpl();
+ return editorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOEditorDef createCDOEditorDef() {
+ CDOEditorDefImpl cdoEditorDef = new CDOEditorDefImpl();
+ return cdoEditorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOUIDefsPackage getCDOUIDefsPackage() {
+ return (CDOUIDefsPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static CDOUIDefsPackage getPackage() {
+ return CDOUIDefsPackage.eINSTANCE;
+ }
+
+} //CDOUIDefsFactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsPackageImpl.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsPackageImpl.java
new file mode 100644
index 0000000000..d1dd5951fc
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/CDOUIDefsPackageImpl.java
@@ -0,0 +1,243 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOUIDefsPackageImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs.impl;
+
+import org.eclipse.emf.cdo.cdodefs.CDODefsPackage;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsFactory;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage;
+import org.eclipse.emf.cdo.ui.cdouidefs.EditorDef;
+
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CDOUIDefsPackageImpl extends EPackageImpl implements CDOUIDefsPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass editorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdoEditorDefEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private CDOUIDefsPackageImpl() {
+ super(eNS_URI, CDOUIDefsFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static CDOUIDefsPackage init() {
+ if (isInited) return (CDOUIDefsPackage)EPackage.Registry.INSTANCE.getEPackage(CDOUIDefsPackage.eNS_URI);
+
+ // Obtain or create and register package
+ CDOUIDefsPackageImpl theCDOUIDefsPackage = (CDOUIDefsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof CDOUIDefsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new CDOUIDefsPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ CDODefsPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theCDOUIDefsPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theCDOUIDefsPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theCDOUIDefsPackage.freeze();
+
+ return theCDOUIDefsPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEditorDef() {
+ return editorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getEditorDef_EditorID() {
+ return (EAttribute)editorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDOEditorDef() {
+ return cdoEditorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCDOEditorDef_CdoView() {
+ return (EReference)cdoEditorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOEditorDef_ResourcePath() {
+ return (EAttribute)cdoEditorDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOUIDefsFactory getCDOUIDefsFactory() {
+ return (CDOUIDefsFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ editorDefEClass = createEClass(EDITOR_DEF);
+ createEAttribute(editorDefEClass, EDITOR_DEF__EDITOR_ID);
+
+ cdoEditorDefEClass = createEClass(CDO_EDITOR_DEF);
+ createEReference(cdoEditorDefEClass, CDO_EDITOR_DEF__CDO_VIEW);
+ createEAttribute(cdoEditorDefEClass, CDO_EDITOR_DEF__RESOURCE_PATH);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ Net4jUtilDefsPackage theNet4jUtilDefsPackage = (Net4jUtilDefsPackage)EPackage.Registry.INSTANCE.getEPackage(Net4jUtilDefsPackage.eNS_URI);
+ CDODefsPackage theCDODefsPackage = (CDODefsPackage)EPackage.Registry.INSTANCE.getEPackage(CDODefsPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ editorDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ cdoEditorDefEClass.getESuperTypes().add(this.getEditorDef());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(editorDefEClass, EditorDef.class, "EditorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEditorDef_EditorID(), ecorePackage.getEString(), "editorID", null, 1, 1, EditorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(cdoEditorDefEClass, CDOEditorDef.class, "CDOEditorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCDOEditorDef_CdoView(), theCDODefsPackage.getCDOViewDef(), null, "cdoView", null, 1, 1, CDOEditorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCDOEditorDef_ResourcePath(), ecorePackage.getEString(), "resourcePath", null, 1, 1, CDOEditorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //CDOUIDefsPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/EditorDefImpl.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/EditorDefImpl.java
new file mode 100644
index 0000000000..49800b28a3
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/impl/EditorDefImpl.java
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: EditorDefImpl.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs.impl;
+
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage;
+import org.eclipse.emf.cdo.ui.cdouidefs.EditorDef;
+
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>Editor Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.ui.cdouidefs.impl.EditorDefImpl#getEditorID <em>Editor ID</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EditorDefImpl extends DefImpl implements EditorDef {
+ /**
+ * The default value of the '{@link #getEditorID() <em>Editor ID</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getEditorID()
+ * @generated
+ * @ordered
+ */
+ protected static final String EDITOR_ID_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getEditorID() <em>Editor ID</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getEditorID()
+ * @generated
+ * @ordered
+ */
+ protected String editorID = EDITOR_ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected EditorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CDOUIDefsPackage.Literals.EDITOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEditorID() {
+ return editorID;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEditorID(String newEditorID) {
+ String oldEditorID = editorID;
+ editorID = newEditorID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CDOUIDefsPackage.EDITOR_DEF__EDITOR_ID, oldEditorID, editorID));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.EDITOR_DEF__EDITOR_ID:
+ return getEditorID();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.EDITOR_DEF__EDITOR_ID:
+ setEditorID((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.EDITOR_DEF__EDITOR_ID:
+ setEditorID(EDITOR_ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID)
+ {
+ case CDOUIDefsPackage.EDITOR_DEF__EDITOR_ID:
+ return EDITOR_ID_EDEFAULT == null ? editorID != null : !EDITOR_ID_EDEFAULT.equals(editorID);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (editorID: ");
+ result.append(editorID);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance() {
+ throw new UnsupportedOperationException("not implemented yet!");
+ }
+
+ @Override
+ protected void validateDefinition() {
+ CheckUtil.checkState(getEditorID() != null
+ && getEditorID().length() >= 0, "editor id not set!");
+ }
+} // EditorDefImpl
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsAdapterFactory.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsAdapterFactory.java
new file mode 100644
index 0000000000..3453471126
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsAdapterFactory.java
@@ -0,0 +1,170 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOUIDefsAdapterFactory.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs.util;
+
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage;
+import org.eclipse.emf.cdo.ui.cdouidefs.EditorDef;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage
+ * @generated
+ */
+public class CDOUIDefsAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CDOUIDefsPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOUIDefsAdapterFactory() {
+ if (modelPackage == null)
+ {
+ modelPackage = CDOUIDefsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage)
+ {
+ return true;
+ }
+ if (object instanceof EObject)
+ {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDOUIDefsSwitch<Adapter> modelSwitch =
+ new CDOUIDefsSwitch<Adapter>()
+ {
+ @Override
+ public Adapter caseEditorDef(EditorDef object)
+ {
+ return createEditorDefAdapter();
+ }
+ @Override
+ public Adapter caseCDOEditorDef(CDOEditorDef object)
+ {
+ return createCDOEditorDefAdapter();
+ }
+ @Override
+ public Adapter caseDef(Def object)
+ {
+ return createDefAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.ui.cdouidefs.EditorDef <em>Editor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.EditorDef
+ * @generated
+ */
+ public Adapter createEditorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef <em>CDO Editor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef
+ * @generated
+ */
+ public Adapter createCDOEditorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.util.net4jutildefs.Def <em>Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.util.net4jutildefs.Def
+ * @generated
+ */
+ public Adapter createDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //CDOUIDefsAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsSwitch.java b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsSwitch.java
new file mode 100644
index 0000000000..c1ea700dd6
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui.defs/src/org/eclipse/emf/cdo/ui/cdouidefs/util/CDOUIDefsSwitch.java
@@ -0,0 +1,179 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CDOUIDefsSwitch.java,v 1.1 2008-12-28 18:05:25 estepper Exp $
+ */
+package org.eclipse.emf.cdo.ui.cdouidefs.util;
+
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOEditorDef;
+import org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage;
+import org.eclipse.emf.cdo.ui.cdouidefs.EditorDef;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.ui.cdouidefs.CDOUIDefsPackage
+ * @generated
+ */
+public class CDOUIDefsSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CDOUIDefsPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDOUIDefsSwitch() {
+ if (modelPackage == null)
+ {
+ modelPackage = CDOUIDefsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage)
+ {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else
+ {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID)
+ {
+ case CDOUIDefsPackage.EDITOR_DEF:
+ {
+ EditorDef editorDef = (EditorDef)theEObject;
+ T result = caseEditorDef(editorDef);
+ if (result == null) result = caseDef(editorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CDOUIDefsPackage.CDO_EDITOR_DEF:
+ {
+ CDOEditorDef cdoEditorDef = (CDOEditorDef)theEObject;
+ T result = caseCDOEditorDef(cdoEditorDef);
+ if (result == null) result = caseEditorDef(cdoEditorDef);
+ if (result == null) result = caseDef(cdoEditorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Editor Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Editor Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEditorDef(EditorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDO Editor Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDO Editor Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDOEditorDef(CDOEditorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDef(Def object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //CDOUIDefsSwitch
diff --git a/plugins/org.eclipse.net4j.defs/.classpath b/plugins/org.eclipse.net4j.defs/.classpath
new file mode 100644
index 0000000000..304e86186a
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.net4j.defs/.cvsignore b/plugins/org.eclipse.net4j.defs/.cvsignore
new file mode 100644
index 0000000000..ba077a4031
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/plugins/org.eclipse.net4j.defs/.project b/plugins/org.eclipse.net4j.defs/.project
new file mode 100644
index 0000000000..3c86066604
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.net4j.defs</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..30b22635b5
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Tue Dec 16 17:15:58 CET 2008
+eclipse.preferences.version=1
+encoding//model/org.eclipse.net4j.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..dd158ff537
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,258 @@
+#Mon Dec 15 16:13:46 CET 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=2
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..589ef0320d
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,4 @@
+#Mon Dec 15 16:13:46 CET 2008
+eclipse.preferences.version=1
+formatter_profile=_Unmanaged profile 'EMFT' mine
+formatter_settings_version=11
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs
new file mode 100644
index 0000000000..48c2caa909
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs
@@ -0,0 +1,6 @@
+#Wed Dec 10 11:19:31 CET 2008
+eclipse.preferences.version=1
+org.moreunit.flexiblenaming=true
+org.moreunit.prefixes=
+org.moreunit.unitsourcefolder=org.eclipse.net4j.defs\:src\:org.eclipse.net4j.tests.defs\:src
+org.moreunit.useprojectsettings=true
diff --git a/plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..d50b95a341
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF
@@ -0,0 +1,20 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.net4j.defs;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.cdo;visibility:=reexport,
+ org.eclipse.net4j.util.defs;bundle-version="1.0.0",
+ org.eclipse.net4j.tcp;bundle-version="2.0.0",
+ org.eclipse.net4j.jvm;bundle-version="2.0.0",
+ org.eclipse.net4j.http;bundle-version="2.0.0"
+Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.net4j.net4jdefs,
+ org.eclipse.net4j.net4jdefs.impl,
+ org.eclipse.net4j.net4jdefs.util
diff --git a/plugins/org.eclipse.net4j.defs/about.html b/plugins/org.eclipse.net4j.defs/about.html
new file mode 100644
index 0000000000..c5796baf03
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/about.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
+
diff --git a/plugins/org.eclipse.net4j.defs/build.properties b/plugins/org.eclipse.net4j.defs/build.properties
new file mode 100644
index 0000000000..8de8fa2c13
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/build.properties
@@ -0,0 +1,23 @@
+# Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+# 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:
+# Eike Stepper - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+bin.includes = .,\
+ META-INF/,\
+ plugin.properties,\
+ about.html,\
+ copyright.txt,\
+ epl-v10.html,\
+ license.html,\
+ plugin.xml,\
+ model/
+jars.compile.order = .
+source.. = src/
+output.. = bin/
diff --git a/plugins/org.eclipse.net4j.defs/copyright.txt b/plugins/org.eclipse.net4j.defs/copyright.txt
new file mode 100644
index 0000000000..07978a5b95
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/copyright.txt
@@ -0,0 +1,8 @@
+Copyright (c) 2004 - 2008 André Dietisheim, Switzerland.
+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:
+ André Dietisheim - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.defs/epl-v10.html b/plugins/org.eclipse.net4j.defs/epl-v10.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/epl-v10.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.defs/license.html b/plugins/org.eclipse.net4j.defs/license.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/license.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combi