diff options
13 files changed, 498 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.doc/html/Overview.html b/plugins/org.eclipse.emf.cdo.doc/html/Overview.html index 62b026dc16..3b313a7347 100644 --- a/plugins/org.eclipse.emf.cdo.doc/html/Overview.html +++ b/plugins/org.eclipse.emf.cdo.doc/html/Overview.html @@ -1,3 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Overview (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Overview (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> <h1>Overview</h1> +</center> <a name="Overview.html"/> +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/online/summary.html b/plugins/org.eclipse.emf.cdo.doc/html/online/summary.html index 773c265080..55c41767cb 100644 --- a/plugins/org.eclipse.emf.cdo.doc/html/online/summary.html +++ b/plugins/org.eclipse.emf.cdo.doc/html/online/summary.html @@ -1,3 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Online Docs (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Online Docs (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> <h1>Online Docs</h1> +</center> +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/programmers/connectors/CreatingTransportConnections.html b/plugins/org.eclipse.emf.cdo.doc/html/programmers/connectors/CreatingTransportConnections.html new file mode 100644 index 0000000000..36979697fc --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.doc/html/programmers/connectors/CreatingTransportConnections.html @@ -0,0 +1,196 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Creating Transport Connections (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Creating Transport Connections (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> +<h1>Creating Transport Connections</h1> +</center> +<a name="CreatingTransportConnections.html"/><p> + This tutorial outlines the steps needed to create a Net4j <a href="../../../../org.eclipse.net4j.doc/javadoc/org/eclipse/net4j/connector/IConnector.html" title="Interface in org.eclipse.net4j.connector"><code>IConnector</code></a> and connect it to an <a href="../../../../org.eclipse.net4j.doc/javadoc/org/eclipse/net4j/acceptor/IAcceptor.html" title="Interface in org.eclipse.net4j.acceptor"><code>IAcceptor</code></a>. + <p> + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eu nibh in erat dapibus accumsan. Aenean cursus + lacinia dictum. Mauris non sem sapien. Vivamus sem ante, posuere a rhoncus ac, varius in nisi. Sed pulvinar urna ac + est iaculis mattis. Ut eget massa felis, nec volutpat purus. In id aliquet mi. Duis euismod sapien sollicitudin nisi + vestibulum nec vulputate urna euismod. Proin pulvinar ornare nunc, ac auctor elit placerat eget. Integer eu erat ac + risus ultricies mattis vel nec nunc. Proin venenatis tellus sit amet dui congue nec vehicula urna sollicitudin. Donec + porta, risus eu auctor semper, ante lectus lobortis sem, a luctus diam dui eu sapien. Sed at metus et dolor tincidunt + convallis id a est. Donec quam nisl, scelerisque a feugiat id, mattis vel urna. Suspendisse facilisis, libero ac + ultricies dictum, mi sem feugiat purus, ac aliquam metus purus sed leo. Sed a viverra metus. + +<h2>1 Select a Transport Type</h2> +<a name="SelectTransportType"/><p> + Currently supported transport types are: + <ul> + <li><b>JVM</b> to connect to an <a href="../../../../org.eclipse.net4j.doc/javadoc/org/eclipse/net4j/jvm/IJVMAcceptor.html" title="Interface in org.eclipse.net4j.jvm"><code>IJVMAcceptor</code></a> in the same Java Virtual Machine. + <li><b>TCP</b> to connect to an <a href="../../../../org.eclipse.net4j.doc/javadoc/org/eclipse/net4j/tcp/ITCPAcceptor.html" title="Interface in org.eclipse.net4j.tcp"><code>ITCPAcceptor</code></a> by means of a <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/channels/SocketChannel.html" title="Class in java.nio.channels"><code>SocketChannel</code></a>. + <li><b>SSL</b> an extension to the TCP transport that adds TLS/SSL security. + <li><b>HTTP</b> to connect to an <a href="../../../../org.eclipse.net4j.doc/javadoc/org/eclipse/net4j/http/server/IHTTPAcceptor.html" title="Interface in org.eclipse.net4j.http.server"><code>IHTTPAcceptor</code></a> that is made available by a servlet. + </ul> + Continue with <a href="../sessions/ConnectingToRepositories.html#SetConnectionTimeout" title="Chapter in CDO Model Repository Documentation">Set Connection Timeout</a>. + +<h2>2 Setup a Wiring Container</h2> +<a name="SetupWiringContainer"/><p> + Ut eget massa felis, nec volutpat purus. In id aliquet mi. Duis euismod sapien sollicitudin nisi vestibulum nec + vulputate urna euismod. Proin pulvinar ornare nunc, ac auctor elit placerat eget. Integer eu erat ac risus + ultricies mattis vel nec nunc. + <p> + + +<div class="snippet" style="margin-left:24px;" align="left"> + <a name="snippet_snippet1"/> + <table border="0" cellspacing="0" cellpadding="0"> + <tr> + <td><img src="../../../images/editor-top-left.png"/></td> + <td style="background-image:url(../../../images/editor-top1.png); background-repeat:repeat-x;" width="1px"><font face="Segoe UI,Arial" size="-1">ContainerSetup.java</font></td> + <td width="1px"><img src="../../../images/editor-close.png"/></td> + <td style="background-image:url(../../../images/editor-top2.png); background-repeat:repeat-x;"> </td> + <td><img src="../../../images/editor-top-right.png"/></td> + </tr> + <tr> + <td style="background-image:url(../../../images/editor-left.png); background-repeat:repeat-y;"> </td> + <td colspan="3" align="left" valign="top" nowrap> + <div style="margin:10px 0px 10px 0px;"> + <code> + <font color="#3f7f5f">// Create a dedicated container instance</font><br/>
+ IManagedContainer container = <a name="callout_snippet1_1_code" href="#callout_snippet1_1" alt="Create a separate IManagedContainer." title="Create a separate IManagedContainer."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"/></a> <font color="#7f0055"><b>new </b></font>ManagedContainer();<br/>
+ <br/>
+ <font color="#3f7f5f">// Register your custom factories</font><br/>
+ container.registerFactory( <a name="callout_snippet1_2_code" href="#callout_snippet1_2" alt="Create a factory of type "jms" in the productGroup "org.eclipse.net4j.connectors"." title="Create a factory of type "jms" in the productGroup "org.eclipse.net4j.connectors"."><img src="../../../images/callout-2.png" width="16" height="16" border="0" align="top"/></a> <font color="#7f0055"><b>new </b></font>Factory(<font color="#2a00ff">"org.eclipse.net4j.connectors"</font>, <font color="#2a00ff">"jms"</font>)<br/>
+ {<br/>
+ <font color="#7f0055"><b>public </b></font>IConnector create(String description) <font color="#7f0055"><b>throws </b></font>ProductCreationException<br/>
+ {<br/>
+ <font color="#7f0055"><b>return </b></font><a name="callout_snippet1_3_code" href="#callout_snippet1_3" alt="Create a JMS connector." title="Create a JMS connector."><img src="../../../images/callout-3.png" width="16" height="16" border="0" align="top"/></a> <font color="#7f0055"><b>new </b></font>JMSConnector(description);<br/>
+ }<br/>
+ });<br/>
+ <br/>
+ <font color="#3f7f5f">// Use utility classes to register additional factories</font><br/>
+ Net4jUtil.prepareContainer(container);<br/>
+ TCPUtil.prepareContainer(container);<br/>
+ <br/>
+ <font color="#3f7f5f">// Do not forget to activate the container before you use it</font><br/>
+ <a name="callout_snippet1_4_code" href="#callout_snippet1_4" alt="The new container can not be used when inactive." title="The new container can not be used when inactive."><img src="../../../images/callout-4.png" width="16" height="16" border="0" align="top"/></a> container.activate(); + </code> + </div> + </td> + <td style="background-image:url(../../../images/editor-right.png); background-repeat:repeat-y;"> </td> + </tr> + <tr> + <td><img src="../../../images/editor-bottom-left.png"/></td> + <td style="background-image:url(../../../images/editor-bottom.png); background-repeat:repeat-x;" colspan="3"> </td> + <td><img src="../../../images/editor-bottom-right.png"/></td> + </tr> + </table> +</div> +<p/> +<div style="margin-left:24px;"><a name="callout_snippet1_1" href="#callout_snippet1_1_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"/></a> Create a separate <a href="../../../../org.eclipse.net4j.util.doc/javadoc/org/eclipse/net4j/util/container/IManagedContainer.html" title="Interface in org.eclipse.net4j.util.container"><code>IManagedContainer</code></a>. + +</div> +<div style="margin-left:24px;"><a name="callout_snippet1_2" href="#callout_snippet1_2_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-2.png" width="16" height="16" border="0" align="top"/></a> Create a factory of <i>type</i> "jms" in the <i>productGroup</i> "org.eclipse.net4j.connectors". + +</div> +<div style="margin-left:24px;"><a name="callout_snippet1_3" href="#callout_snippet1_3_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-3.png" width="16" height="16" border="0" align="top"/></a> Create a JMS connector. + +</div> +<div style="margin-left:24px;"><a name="callout_snippet1_4" href="#callout_snippet1_4_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-4.png" width="16" height="16" border="0" align="top"/></a> The new container can not be used when inactive. + +</div> +<p/> + + <p> + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eu nibh in erat dapibus accumsan. Aenean cursus + lacinia dictum. Mauris non sem sapien. Vivamus sem ante, posuere a rhoncus ac, varius in nisi. Sed pulvinar urna ac + est iaculis mattis. Ut eget massa felis, nec volutpat purus. In id aliquet mi. Duis euismod sapien sollicitudin + nisi vestibulum nec vulputate urna euismod. Proin pulvinar ornare nunc, ac auctor elit placerat eget. Integer eu + erat ac risus ultricies mattis vel nec nunc. Proin venenatis tellus sit amet dui congue nec vehicula urna + sollicitudin. Donec porta, risus eu auctor semper, ante lectus lobortis sem, a luctus diam dui eu sapien. Sed at + metus et dolor tincidunt convallis id a est. Donec quam nisl, scelerisque a feugiat id, mattis vel urna. + Suspendisse facilisis, libero ac ultricies dictum, mi sem feugiat purus, ac aliquam metus purus sed leo. Sed a + viverra metus. + +<h2>3 Add Configuration Parameters</h2> +<a name="AddConfigurationParameters"/> + +<h3>3.1 Set the Buffer Capacity</h3> +<a name="SetBufferCapacity"/><p> + + +<div class="snippet" style="margin-left:24px;" align="left"> + <a name="snippet_JMSConnector"/> + <table border="0" cellspacing="0" cellpadding="0"> + <tr> + <td><img src="../../../images/editor-top-left.png"/></td> + <td style="background-image:url(../../../images/editor-top1.png); background-repeat:repeat-x;" width="1px"><font face="Segoe UI,Arial" size="-1">JMSConnector.java</font></td> + <td width="1px"><img src="../../../images/editor-close.png"/></td> + <td style="background-image:url(../../../images/editor-top2.png); background-repeat:repeat-x;"> </td> + <td><img src="../../../images/editor-top-right.png"/></td> + </tr> + <tr> + <td style="background-image:url(../../../images/editor-left.png); background-repeat:repeat-y;"> </td> + <td colspan="3" align="left" valign="top" nowrap> + <div style="margin:10px 0px 10px 0px;"> + <code> + <font color="#7f0055"><b>public class </b></font>JMSConnector <font color="#7f0055"><b>extends </b></font>Connector<br/>
+ {<br/>
+ <font color="#7f0055"><b>public </b></font>JMSConnector(String description)<br/>
+ {<br/>
+ }<br/>
+ <br/>
+ <font color="#7f0055"><b>public </b></font><font color="#7f0055"><b>void </b></font>multiplexChannel(InternalChannel <a name="callout_JMSConnector_1_code" href="#callout_JMSConnector_1" alt="The channel must not be null." title="The channel must not be null."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"/></a> channel)<br/>
+ {<br/>
+ }<br/>
+ <br/>
+ …<br/>
+ } + </code> + </div> + </td> + <td style="background-image:url(../../../images/editor-right.png); background-repeat:repeat-y;"> </td> + </tr> + <tr> + <td><img src="../../../images/editor-bottom-left.png"/></td> + <td style="background-image:url(../../../images/editor-bottom.png); background-repeat:repeat-x;" colspan="3"> </td> + <td><img src="../../../images/editor-bottom-right.png"/></td> + </tr> + </table> +</div> +<p/> +<div style="margin-left:24px;"><a name="callout_JMSConnector_1" href="#callout_JMSConnector_1_code" alt="Jump to snippet..." title="Jump to snippet..."><img src="../../../images/callout-1.png" width="16" height="16" border="0" align="top"/></a> The channel must not be <code>null</code>. + +</div> +<p/> + + +<h3>3.2 Set the Connection Timeout</h3> +<a name="SetConnectionTimeout"/><p> + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eu nibh in erat dapibus accumsan. Aenean cursus + lacinia dictum. Mauris non sem sapien. Vivamus sem ante, posuere a rhoncus ac, varius in nisi. Sed pulvinar urna + ac est iaculis mattis. Ut eget massa felis, nec volutpat purus. In id aliquet mi. Duis euismod sapien + sollicitudin nisi vestibulum nec vulputate urna euismod. Proin pulvinar ornare nunc, ac auctor elit placerat + eget. Integer eu erat ac risus ultricies mattis vel nec nunc. Proin venenatis tellus sit amet dui congue nec + vehicula urna sollicitudin. Donec porta, risus eu auctor semper, ante lectus lobortis sem, a luctus diam dui eu + sapien. Sed at metus et dolor tincidunt convallis id a est. Donec quam nisl, scelerisque a feugiat id, mattis vel + urna. Suspendisse facilisis, libero ac ultricies dictum, mi sem feugiat purus, ac aliquam metus purus sed leo. + Sed a viverra metus. + +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/programmers/connectors/summary.html b/plugins/org.eclipse.emf.cdo.doc/html/programmers/connectors/summary.html new file mode 100644 index 0000000000..435f5914c4 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.doc/html/programmers/connectors/summary.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Connectors (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Connectors (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> +<h1>Connectors</h1> +</center> +<p> + In this category you'll find a number of articles about physical transport connections: + +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/programmers/sessions/ConnectingToRepositories.html b/plugins/org.eclipse.emf.cdo.doc/html/programmers/sessions/ConnectingToRepositories.html new file mode 100644 index 0000000000..2962dffd48 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.doc/html/programmers/sessions/ConnectingToRepositories.html @@ -0,0 +1,37 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Connecting To Repositories (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Connecting To Repositories (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> +<h1>Connecting To Repositories</h1> +</center> +<a name="ConnectingToRepositories.html"/> + +<h2>1 Set Buffer Capacity</h2> +<a name="SetBufferCapacity"/> + +<h2>2 Set Connection Timeout</h2> +<a name="SetConnectionTimeout"/> + +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/programmers/sessions/summary.html b/plugins/org.eclipse.emf.cdo.doc/html/programmers/sessions/summary.html new file mode 100644 index 0000000000..80c38af029 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.doc/html/programmers/sessions/summary.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Sessions (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Sessions (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> +<h1>Sessions</h1> +</center> + + +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/programmers/summary.html b/plugins/org.eclipse.emf.cdo.doc/html/programmers/summary.html new file mode 100644 index 0000000000..be9f2d0650 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.doc/html/programmers/summary.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Programmer's Guide (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Programmer's Guide (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> +<h1>Programmer's Guide</h1> +</center> + + +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/reference/schema/summary.html b/plugins/org.eclipse.emf.cdo.doc/html/reference/schema/summary.html index dbd41a5f53..b22b9d2f78 100644 --- a/plugins/org.eclipse.emf.cdo.doc/html/reference/schema/summary.html +++ b/plugins/org.eclipse.emf.cdo.doc/html/reference/schema/summary.html @@ -1,3 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Extension Point Reference (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Extension Point Reference (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> <h1>Extension Point Reference</h1> +</center> +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.doc/html/reference/summary.html b/plugins/org.eclipse.emf.cdo.doc/html/reference/summary.html index 3fb11fb96d..9c0651ace6 100644 --- a/plugins/org.eclipse.emf.cdo.doc/html/reference/summary.html +++ b/plugins/org.eclipse.emf.cdo.doc/html/reference/summary.html @@ -1,3 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + +<HEAD> +<TITLE> +Reference (CDO Model Repository Documentation) +</TITLE> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Reference (CDO Model Repository Documentation)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> +<center> <h1>Reference</h1> +</center> +<HR> +<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i> +</BODY> +</HTML> diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/CategoryImpl.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/CategoryImpl.java index e647a00afe..e5c041760c 100644 --- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/CategoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/CategoryImpl.java @@ -95,7 +95,9 @@ public class CategoryImpl extends BodyImpl implements Category public void generate(HtmlWriter out) throws IOException { String title = getTitle(); + out.write("<center>\n"); out.writeHeading(1, title); + out.write("</center>\n"); EList<BodyElement> elements = getElements(); BodyElementContainerImpl.generate(out, this, elements); diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/ChapterImpl.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/ChapterImpl.java index 79e150940a..65316bfdbc 100644 --- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/ChapterImpl.java +++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/ChapterImpl.java @@ -151,7 +151,9 @@ public class ChapterImpl extends BodyImpl implements Chapter String title = getTitle(); if (this instanceof Article) { + out.write("<center>\n"); out.writeHeading(1, title); + out.write("</center>\n"); } else { diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/StructuralElementImpl.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/StructuralElementImpl.java index b71b34c6f1..650a71a74b 100644 --- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/StructuralElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/StructuralElementImpl.java @@ -570,6 +570,7 @@ public abstract class StructuralElementImpl extends LinkTargetImpl implements St protected void generate(File file) throws IOException { + String title = getTitle() + " (" + getDocumentation().getTitle() + ")"; HtmlWriter out = null; try @@ -577,7 +578,35 @@ public abstract class StructuralElementImpl extends LinkTargetImpl implements St file.getParentFile().mkdirs(); out = new HtmlWriter(file); + out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); + out.write("<HTML>\n"); + out.write("\n"); + out.write("<HEAD>\n"); + out.write("<TITLE>\n"); + out.write(title + "\n"); + out.write("</TITLE>\n"); + out.write("\n"); + out.write("<SCRIPT type=\"text/javascript\">\n"); + out.write("function windowTitle()\n"); + out.write("{\n"); + out.write(" if (location.href.indexOf('is-external=true') == -1) {\n"); + out.write(" parent.document.title=\"" + title + "\";\n"); + out.write(" }\n"); + out.write("}\n"); + out.write("</SCRIPT>\n"); + out.write("<NOSCRIPT>\n"); + out.write("</NOSCRIPT>\n"); + out.write("</HEAD>\n"); + out.write("\n"); + out.write("<BODY BGCOLOR=\"white\" onload=\"windowTitle();\">\n"); + out.write("<HR>\n"); + generate(out); + + out.write("<HR>\n"); + out.write("<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i>\n"); + out.write("</BODY>\n"); + out.write("</HTML>\n"); } finally { diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/overview-summary.html b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/overview-summary.html new file mode 100644 index 0000000000..d236d95c0e --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/overview-summary.html @@ -0,0 +1,26 @@ +out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
+out.write("<HTML>\n");
+out.write("\n");
+out.write("<HEAD>\n");
+out.write("<TITLE>\n");
+out.write("Overview (CDO Model Repository Documentation)\n");
+out.write("</TITLE>\n");
+out.write("
+out.write("<SCRIPT type=\"text/javascript\">
+out.write("function windowTitle()\n");
+out.write("{\n");
+out.write(" if (location.href.indexOf('is-external=true') == -1) {\n");
+out.write(" parent.document.title=\"Overview (CDO Model Repository Documentation)\";\n");
+out.write(" }\n");
+out.write("}\n");
+out.write("</SCRIPT>\n");
+out.write("<NOSCRIPT>\n");
+out.write("</NOSCRIPT>\n");
+out.write("</HEAD>\n");
+out.write("\n");
+out.write("<BODY BGCOLOR=\"white\" onload=\"windowTitle();\">\n");
+out.write("<HR>\n");
+out.write("<HR>\n");
+out.write("<i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.</i>\n");
+out.write("</BODY>\n");
+out.write("</HTML>\n");
|