Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2014-12-18 13:54:47 +0000
committerptessier2014-12-18 13:54:47 +0000
commitdea18e23f3a0709e5e9074e6569e5d5f760967ea (patch)
tree471b383ef18a13001c79634529e639ef6c0a3651 /plugins/infra/core
parent79dfb576d025f69389f12501251d782f07f6d9f1 (diff)
downloadorg.eclipse.papyrus-dea18e23f3a0709e5e9074e6569e5d5f760967ea.tar.gz
org.eclipse.papyrus-dea18e23f3a0709e5e9074e6569e5d5f760967ea.tar.xz
org.eclipse.papyrus-dea18e23f3a0709e5e9074e6569e5d5f760967ea.zip
359057: [Architecture - SVN - Build] The Papyrus architecture should be
refactored https://bugs.eclipse.org/bugs/show_bug.cgi?id=359057 # WARNING: head commit changed in the meantime Merge branch 'master' of ssh://ptessier@git.eclipse.org:29418/papyrus/org.eclipse.papyrus Change-Id: I3655aec84046de4dfdb84bd33cae426016453a44
Diffstat (limited to 'plugins/infra/core')
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/DeveloperDoc.html1
-rw-r--r--plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/default.css86
2 files changed, 87 insertions, 0 deletions
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/DeveloperDoc.html b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/DeveloperDoc.html
new file mode 100644
index 00000000000..f7dcaeb0a71
--- /dev/null
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/DeveloperDoc.html
@@ -0,0 +1 @@
+<html><link rel="stylesheet" href="default.css" type="text/css"><H1>test</H1><H2 id ="_vQGBEYX9EeSbaPLXetJXTg">Table of Contents</H2><ul><a href="#_vQGBE4X9EeSbaPLXetJXTg">Design</a><li><a href="#_vQGBFYX9EeSbaPLXetJXTg"> org</a></li><ul><li><a href="#_vQGBF4X9EeSbaPLXetJXTg"> eclipse</a></li><ul><li><a href="#_vQGBGYX9EeSbaPLXetJXTg"> papyrus</a></li><ul><li><a href="#_vQGBG4X9EeSbaPLXetJXTg"> infra</a></li><ul><li><a href="#_vQGBHYX9EeSbaPLXetJXTg"> core</a></li><ul><li><a href="#_vQGBH4X9EeSbaPLXetJXTg"> serviceregistry</a></li><ul><li><a href="#_vQGBIYX9EeSbaPLXetJXTg"> ServicesRegistryFactoryFromExtensions</a></li><ul></ul><li><a href="#_vQY8AoX9EeSbaPLXetJXTg"> ServicesRegistry</a></li><ul></ul><li><a href="#_vQY8BoX9EeSbaPLXetJXTg"> Activator</a></li><ul></ul><li><a href="#_vQY8CoX9EeSbaPLXetJXTg"> AliasDescriptor</a></li><ul></ul><li><a href="#_vQY8DoX9EeSbaPLXetJXTg"> ServiceDescriptor</a></li><ul></ul><li><a href="#_vQY8EoX9EeSbaPLXetJXTg"> BadStateException</a></li><ul></ul><li><a href="#_vQiF8oX9EeSbaPLXetJXTg"> ServiceException</a></li><ul></ul><li><a href="#_vQiF9oX9EeSbaPLXetJXTg"> DeclarationException</a></li><ul></ul><li><a href="#_vQiF-oX9EeSbaPLXetJXTg"> DeclarationMultiException</a></li><ul></ul><li><a href="#_vQiF_oX9EeSbaPLXetJXTg"> DeclarationNotFoundException</a></li><ul></ul><li><a href="#_vQiGAoX9EeSbaPLXetJXTg"> DescriptorsCache</a></li><ul></ul><li><a href="#_vQiGBoX9EeSbaPLXetJXTg"> servicedescriptors</a></li><ul><li><a href="#_vQiGCIX9EeSbaPLXetJXTg"> Descriptors</a></li><ul></ul><li><a href="#_vQiGCoX9EeSbaPLXetJXTg"> RegistryDesc</a></li><ul></ul><li><a href="#_vQr28IX9EeSbaPLXetJXTg"> ServiceSetDesc</a></li><ul></ul><li><a href="#_vQr28oX9EeSbaPLXetJXTg"> AbstractServiceDesc</a></li><ul></ul><li><a href="#_vQr29IX9EeSbaPLXetJXTg"> StartupKind</a></li><ul></ul><li><a href="#_vQr29oX9EeSbaPLXetJXTg"> ServiceDesc</a></li><ul></ul><li><a href="#_vQr2-IX9EeSbaPLXetJXTg"> AliasDesc</a></li><ul></ul></ul><li><a href="#_vQr2-oX9EeSbaPLXetJXTg"> ServiceDescriptorsWithIdProviderCollection</a></li><ul></ul><li><a href="#_vQr2_oX9EeSbaPLXetJXTg"> servicedescriptorswithid</a></li><ul><li><a href="#_vQr3AIX9EeSbaPLXetJXTg"> AbstractServiceIdDesc</a></li><ul></ul><li><a href="#_vQr3AoX9EeSbaPLXetJXTg"> ServiceIdDesc</a></li><ul></ul><li><a href="#_vQr3BIX9EeSbaPLXetJXTg"> AliasIdDesc</a></li><ul></ul><li><a href="#_vQr3BoX9EeSbaPLXetJXTg"> ServiceFactoryIdDesc</a></li><ul></ul><li><a href="#_vQr3CIX9EeSbaPLXetJXTg"> RegistryIdDesc</a></li><ul></ul><li><a href="#_vQr3CoX9EeSbaPLXetJXTg"> ServiceSetIdDesc</a></li><ul></ul></ul><li><a href="#_vQ1n8YX9EeSbaPLXetJXTg"> org</a></li><ul><li><a href="#_vQ1n84X9EeSbaPLXetJXTg"> eclipse</a></li><ul><li><a href="#_vQ1n9YX9EeSbaPLXetJXTg"> papyrus</a></li><ul><li><a href="#_vQ1n94X9EeSbaPLXetJXTg"> infra</a></li><ul><li><a href="#_vQ1n-YX9EeSbaPLXetJXTg"> core</a></li><ul><li><a href="#_vQ1n-4X9EeSbaPLXetJXTg"> serviceregistry</a></li><ul><li><a href="#_vQ1n_YX9EeSbaPLXetJXTg"> servicedescriptorswithid</a></li><ul><li><a href="#_vQ1n_4X9EeSbaPLXetJXTg"> StartupKind</a></li><ul></ul></ul></ul></ul></ul></ul></ul></ul><li><a href="#_vQ1oAYX9EeSbaPLXetJXTg"> ExtensionServiceDescriptorsWithIdProvider</a></li><ul></ul><li><a href="#_vQ1oBYX9EeSbaPLXetJXTg"> ExtensionServicesRegistry</a></li><ul></ul><li><a href="#_vQ1oCYX9EeSbaPLXetJXTg"> ServiceStartKind</a></li><ul></ul><li><a href="#_vQ-x4IX9EeSbaPLXetJXTg"> ServiceTypeKind</a></li><ul></ul><li><a href="#_vQ-x4oX9EeSbaPLXetJXTg"> ServiceDescriptorUtils</a></li><ul></ul><li><a href="#_vQ-x5oX9EeSbaPLXetJXTg"> ServiceMultiException</a></li><ul></ul><li><a href="#_vQ-x6oX9EeSbaPLXetJXTg"> ServiceNotFoundException</a></li><ul></ul><li><a href="#_vQ-x7oX9EeSbaPLXetJXTg"> internal</a></li><ul><li><a href="#_vQ-x8IX9EeSbaPLXetJXTg"> ServiceStartupEntry</a></li><ul></ul></ul><li><a href="#_vQ-x8oX9EeSbaPLXetJXTg"> ServiceState</a></li><ul></ul></ul><li><a href="#_vQ-x9IX9EeSbaPLXetJXTg"> log</a></li><ul><li><a href="#_vQ-x9oX9EeSbaPLXetJXTg"> LogHelper</a></li><ul></ul></ul></ul></ul></ul></ul></ul></ul><H2 id ="_vQGBE4X9EeSbaPLXetJXTg">Design</H2><H3 id ="_vQGBFYX9EeSbaPLXetJXTg">org</H3><H4 id ="_vQGBF4X9EeSbaPLXetJXTg">eclipse</H4><H5 id ="_vQGBGYX9EeSbaPLXetJXTg">papyrus</H5><H6 id ="_vQGBG4X9EeSbaPLXetJXTg">infra</H6><H7 id ="_vQGBHYX9EeSbaPLXetJXTg">core</H7><H8 id ="_vQGBH4X9EeSbaPLXetJXTg">serviceregistry</H8><H9 id ="_vQGBIYX9EeSbaPLXetJXTg">ServicesRegistryFactoryFromExtensions</H9><pre id ="_vQY8AIX9EeSbaPLXetJXTg"> <BR/> * Factory used to create and populate a {@link ServicesRegistry} from declarations in Eclipse extensions. <BR/> * <BR/> * @author cedric dumoulin <BR/> * <BR/> </pre><H9 id ="_vQY8AoX9EeSbaPLXetJXTg">ServicesRegistry</H9><pre id ="_vQY8BIX9EeSbaPLXetJXTg"><BR/> * A registry of services. This registry allows to get a service by its<BR/> * identifier. The identifier is generally the classname of the service.<BR/> * Services can be added using the Eclipse extension mechanism (if you use {@link ExtensionServicesRegistry}). <br><BR/> * A Service is a class providing operations. The ServiceRegistry is used to<BR/> * share objects (i.e. services) between nested editors and also the core main<BR/> * editor.<BR/> *<BR/> * <br><BR/> * In this implementation, services should be added to the registry before the<BR/> * call to createServices(). If a service is added after the call, it will not<BR/> * be started (except if it is a lazy service). <br><BR/> * A typical usage is:<BR/> *<BR/> * <pre><BR/> * <code><BR/> * ServicesRegistry serviceRegistry = new ServiceRegistry();<BR/> * // Add your services<BR/> * serviceRegistry.add( ...);<BR/> * serviceRegistry.add( ...);<BR/> *<BR/> * // start the services<BR/> * serviceRegistry.startRegistry();<BR/> *<BR/> * // Retrieve a service<BR/> * myService = serviceRegistry.getService( serviceKey );<BR/> * </code><BR/> * </pre><BR/> *<BR/> * It is possible to register new services after the serviceRegistry has been<BR/> * started. In this case, you need to start them explicitly if they are of type<BR/> * ServiceStartKind.STARTUP.<BR/> *<BR/> * <pre><BR/> * <code><BR/> * // Add your new services<BR/> * serviceRegistry.add( key1, ...);<BR/> * serviceRegistry.add( key2, ...);<BR/> *<BR/> * // start the new services<BR/> * serviceRegistry.startRegistry(key1, key2);<BR/> * </code><BR/> * </pre><BR/> *<BR/> * <ul><BR/> * <li></li><BR/> * <li></li><BR/> * </ul><BR/> *<BR/> * @author cedric dumoulin<BR/> *<BR/> *<BR/> </pre><H9 id ="_vQY8BoX9EeSbaPLXetJXTg">Activator</H9><pre id ="_vQY8CIX9EeSbaPLXetJXTg"> <BR/> * @author cedric dumoulin <BR/> * <BR/> </pre><H9 id ="_vQY8CoX9EeSbaPLXetJXTg">AliasDescriptor</H9><pre id ="_vQY8DIX9EeSbaPLXetJXTg"> <BR/> * Describe an alias to another service. <BR/> * <BR/> * @author cedric dumoulin <BR/> * <BR/> </pre><H9 id ="_vQY8DoX9EeSbaPLXetJXTg">ServiceDescriptor</H9><pre id ="_vQY8EIX9EeSbaPLXetJXTg"><BR/> * Descriptor of a service. This descriptor describe a service.<BR/> *<BR/> * @author cedirc dumoulin<BR/> *<BR/> </pre><H9 id ="_vQY8EoX9EeSbaPLXetJXTg">BadStateException</H9><pre id ="_vQiF8IX9EeSbaPLXetJXTg"><BR/> * @author cedric dumoulin<BR/> *<BR/> </pre><H9 id ="_vQiF8oX9EeSbaPLXetJXTg">ServiceException</H9><pre id ="_vQiF9IX9EeSbaPLXetJXTg"><BR/> * Root Exception of Services Exception.<BR/> *<BR/> * @author dumoulin<BR/> *<BR/> </pre><H9 id ="_vQiF9oX9EeSbaPLXetJXTg">DeclarationException</H9><pre id ="_vQiF-IX9EeSbaPLXetJXTg"> <BR/> * Root exception of exceptions thrown while reading descriptor declarations. <BR/> * <BR/> * @author cedric dumoulin <BR/> * <BR/> </pre><H9 id ="_vQiF-oX9EeSbaPLXetJXTg">DeclarationMultiException</H9><pre id ="_vQiF_IX9EeSbaPLXetJXTg"> <BR/> * An exception used to gather multi exceptions encountered during declarations reading. <BR/> * <BR/> * @author cedric dumoulin <BR/> * <BR/> </pre><H9 id ="_vQiF_oX9EeSbaPLXetJXTg">DeclarationNotFoundException</H9><pre id ="_vQiGAIX9EeSbaPLXetJXTg"> <BR/> * @author cedric dumoulin <BR/> * <BR/> </pre><H9 id ="_vQiGAoX9EeSbaPLXetJXTg">DescriptorsCache</H9><pre id ="_vQiGBIX9EeSbaPLXetJXTg"><BR/> * A cache used to query the {@link IServiceDescriptorsWithIdProvider}. The cache return resolved descriptors,<BR/> * in the form of instance of the ServiceDescriptors model.<BR/> *<BR/> * @author cedric dumoulin<BR/> *<BR/> </pre><H9 id ="_vQiGBoX9EeSbaPLXetJXTg">servicedescriptors</H9><H10 id ="_vQiGCIX9EeSbaPLXetJXTg">Descriptors</H10><H10 id ="_vQiGCoX9EeSbaPLXetJXTg">RegistryDesc</H10><H10 id ="_vQr28IX9EeSbaPLXetJXTg">ServiceSetDesc</H10><H10 id ="_vQr28oX9EeSbaPLXetJXTg">AbstractServiceDesc</H10><H10 id ="_vQr29IX9EeSbaPLXetJXTg">StartupKind</H10><H10 id ="_vQr29oX9EeSbaPLXetJXTg">ServiceDesc</H10><H10 id ="_vQr2-IX9EeSbaPLXetJXTg">AliasDesc</H10><H9 id ="_vQr2-oX9EeSbaPLXetJXTg">ServiceDescriptorsWithIdProviderCollection</H9><pre id ="_vQr2_IX9EeSbaPLXetJXTg"><BR/> * A collection of DescriptorsProviders.<BR/> * This provide nearly the same method as DescriptorsProviders, but the search is done over<BR/> * a collection of DescriptorsProviders.<BR/> *<BR/> * @author cedric dumoulin<BR/> *<BR/> * TODO : complete<BR/> </pre><H9 id ="_vQr2_oX9EeSbaPLXetJXTg">servicedescriptorswithid</H9><H10 id ="_vQr3AIX9EeSbaPLXetJXTg">AbstractServiceIdDesc</H10><H10 id ="_vQr3AoX9EeSbaPLXetJXTg">ServiceIdDesc</H10><H10 id ="_vQr3BIX9EeSbaPLXetJXTg">AliasIdDesc</H10><H10 id ="_vQr3BoX9EeSbaPLXetJXTg">ServiceFactoryIdDesc</H10><H10 id ="_vQr3CIX9EeSbaPLXetJXTg">RegistryIdDesc</H10><H10 id ="_vQr3CoX9EeSbaPLXetJXTg">ServiceSetIdDesc</H10><H9 id ="_vQ1n8YX9EeSbaPLXetJXTg">org</H9><H10 id ="_vQ1n84X9EeSbaPLXetJXTg">eclipse</H10><H11 id ="_vQ1n9YX9EeSbaPLXetJXTg">papyrus</H11><H12 id ="_vQ1n94X9EeSbaPLXetJXTg">infra</H12><H13 id ="_vQ1n-YX9EeSbaPLXetJXTg">core</H13><H14 id ="_vQ1n-4X9EeSbaPLXetJXTg">serviceregistry</H14><H15 id ="_vQ1n_YX9EeSbaPLXetJXTg">servicedescriptorswithid</H15><H16 id ="_vQ1n_4X9EeSbaPLXetJXTg">StartupKind</H16><H9 id ="_vQ1oAYX9EeSbaPLXetJXTg">ExtensionServiceDescriptorsWithIdProvider</H9><pre id ="_vQ1oA4X9EeSbaPLXetJXTg"><BR/> * A declared service provider reading declaration from eclipse extensions (plugin.xml).<BR/> *<BR/> * @author cedric dumoulin<BR/> *<BR/> </pre><H9 id ="_vQ1oBYX9EeSbaPLXetJXTg">ExtensionServicesRegistry</H9><pre id ="_vQ1oB4X9EeSbaPLXetJXTg"><BR/> * ServiceRegistry reading and registering services declared in Eclipse<BR/> * Extensions.<BR/> *<BR/> * @author dumoulin<BR/> *<BR/> </pre><H9 id ="_vQ1oCYX9EeSbaPLXetJXTg">ServiceStartKind</H9><H9 id ="_vQ-x4IX9EeSbaPLXetJXTg">ServiceTypeKind</H9><H9 id ="_vQ-x4oX9EeSbaPLXetJXTg">ServiceDescriptorUtils</H9><pre id ="_vQ-x5IX9EeSbaPLXetJXTg"><BR/> * Utilities used as bridge between {@link ServiceDescriptor} and {@link AbstractServiceIdDesc}.<BR/> *<BR/> * @author cedric dumoulin<BR/> *<BR/> </pre><H9 id ="_vQ-x5oX9EeSbaPLXetJXTg">ServiceMultiException</H9><pre id ="_vQ-x6IX9EeSbaPLXetJXTg"><BR/> * An exception encapsulating multiple exceptions. This exception is thrown when<BR/> * an operation performed on several Services fails on one or more of these<BR/> * Service. The exception contains all the exceptions encoutered while<BR/> * opertating on Services.<BR/> *<BR/> * @author cedric dumoulin<BR/> *<BR/> </pre><H9 id ="_vQ-x6oX9EeSbaPLXetJXTg">ServiceNotFoundException</H9><pre id ="_vQ-x7IX9EeSbaPLXetJXTg"><BR/> * Service is not found.<BR/> *<BR/> * @author dumoulin<BR/> *<BR/> </pre><H9 id ="_vQ-x7oX9EeSbaPLXetJXTg">internal</H9><H10 id ="_vQ-x8IX9EeSbaPLXetJXTg">ServiceStartupEntry</H10><H9 id ="_vQ-x8oX9EeSbaPLXetJXTg">ServiceState</H9><H8 id ="_vQ-x9IX9EeSbaPLXetJXTg">log</H8><H9 id ="_vQ-x9oX9EeSbaPLXetJXTg">LogHelper</H9></html> \ No newline at end of file
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/default.css b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/default.css
new file mode 100644
index 00000000000..3f6c382563f
--- /dev/null
+++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry/doc/default.css
@@ -0,0 +1,86 @@
+/*
+ * Style sheet for the CSS2 specification
+ */
+table, td, th {
+ border: 1px solid #005A9C;
+
+}
+
+table {
+ width: 100%;
+}
+
+th {
+ background-color: #005A9C;
+ color: white;
+}
+
+ul {
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+}
+
+ul li {
+ list-style-type: none;
+ background-repeat: no-repeat;
+ background-position: 0px 5px;
+ padding-left: 14px;
+}
+body {
+ padding: 2em 1em 2em 70px;
+ margin: 0;
+ font-family: sans-serif;
+ color: black;
+ background: white;
+ background-position: top left;
+ background-attachment: fixed;
+ background-repeat: no-repeat;
+}
+pre{
+ font-family: sans-serif;
+}
+
+p {
+ margin-top: 0.6em;
+ margin-bottom: 0.6em;
+ margin-left: 2em;
+}
+
+h1, h2, h3, h4, h5, h6 { text-align: left }
+
+
+h1, h2, h3 { color: #005A9C; background: white }
+h1 { font: 170% sans-serif }
+h2 { font: 140% sans-serif }
+h3 { font: 120% sans-serif }
+h4 { font: bold 100% sans-serif }
+h5 { font: italic 100% sans-serif }
+h6 { font: small-caps 100% sans-serif }
+
+body{counter-reset: h1 h2 h3;}
+
+
+h2:before {
+ content: counter(h2) " ";
+ counter-increment: h2;
+}
+h3:before {
+ content: counter(h2) "." counter(h3) " ";
+ counter-increment: h3;
+}
+h1 {
+ counter-reset: h2;
+}
+h2 {
+ counter-reset: h3;
+}
+h1.unnumbered, h2.unnumbered {
+ counter-reset: none;
+}
+h1.unnumbered:before,
+h2.unnumbered:before,
+h3.unnumbered:before{
+ content: none;
+ counter-increment: none;
+}

Back to the top