Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-10-13 05:49:35 +0000
committerEike Stepper2011-10-13 05:49:35 +0000
commit9a2f33fdc500f732fc04f63e2522351967b878c6 (patch)
treeb19df79cc0230566a4e901d1a70048e5c18f8119
parent3ac5de6d8c543b107cd8ed0eb635328e7efc88d2 (diff)
downloadcdo-9a2f33fdc500f732fc04f63e2522351967b878c6.tar.gz
cdo-9a2f33fdc500f732fc04f63e2522351967b878c6.tar.xz
cdo-9a2f33fdc500f732fc04f63e2522351967b878c6.zip
recognizing authors
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/html/book.css2
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/Overview.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/client/Architecture.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/server/Architecture.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/book.css2
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/BodyImpl.java29
6 files changed, 38 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.doc/html/book.css b/plugins/org.eclipse.emf.cdo.doc/html/book.css
index 13f74030e4..4c64e96336 100644
--- a/plugins/org.eclipse.emf.cdo.doc/html/book.css
+++ b/plugins/org.eclipse.emf.cdo.doc/html/book.css
@@ -106,3 +106,5 @@ var { font-style: italic}
div.revision { border-left-style: solid; border-left-width: thin;
border-left-color: #7B68EE; padding-left:5 }
th { font-weight: bold }
+
+.author { color:#888888; font-style:italic; font-weight:bold; font-size:83%; margin-left:6px; margin-bottom:16px }
diff --git a/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/Overview.java b/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/Overview.java
index a5915918fa..815bff2bdd 100644
--- a/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/Overview.java
+++ b/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/Overview.java
@@ -22,6 +22,7 @@ package org.eclipse.emf.cdo.doc;
* following diagram illustrates the most common scenario: {@img cdo-overview.png}
*
* @default
+ * @author Eike Stepper
*/
public class Overview
{
diff --git a/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/client/Architecture.java b/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/client/Architecture.java
index 98eeceaf6e..8d0d1d8282 100644
--- a/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/client/Architecture.java
+++ b/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/client/Architecture.java
@@ -22,6 +22,8 @@ import org.eclipse.emf.ecore.EObject;
* dependendcies on CDO to your application code.
* <p>
* The following diagram illustrates the major building blocks of a CDO application: {@img application-architecture.png}
+ *
+ * @author Eike Stepper
*/
public class Architecture
{
diff --git a/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/server/Architecture.java b/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/server/Architecture.java
index f39b73ee65..b0c8f03336 100644
--- a/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/server/Architecture.java
+++ b/plugins/org.eclipse.emf.cdo.doc/src/org/eclipse/emf/cdo/doc/programmers/server/Architecture.java
@@ -26,6 +26,8 @@ import org.eclipse.emf.ecore.EObject;
* the server.
* <p>
* The following diagram illustrates the major building blocks of a CDO repository: {@img repository-architecture.png}
+ *
+ * @author Eike Stepper
*/
public class Architecture
{
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/book.css b/plugins/org.eclipse.emf.cdo.releng.doc/book.css
index 13f74030e4..4c64e96336 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/book.css
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/book.css
@@ -106,3 +106,5 @@ var { font-style: italic}
div.revision { border-left-style: solid; border-left-width: thin;
border-left-color: #7B68EE; padding-left:5 }
th { font-weight: bold }
+
+.author { color:#888888; font-style:italic; font-weight:bold; font-size:83%; margin-left:6px; margin-bottom:16px }
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/BodyImpl.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/BodyImpl.java
index 6970b2d25c..9cc60a5d3e 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/BodyImpl.java
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/impl/BodyImpl.java
@@ -22,6 +22,7 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.InternalEList;
import com.sun.javadoc.Doc;
+import com.sun.javadoc.Tag;
import java.io.IOException;
import java.io.PrintWriter;
@@ -287,6 +288,34 @@ public abstract class BodyImpl extends StructuralElementImpl implements Body
@Override
public void generate(PrintWriter out) throws IOException
{
+ Tag[] authors = getDoc().tags("@author");
+ if (authors.length > 0)
+ {
+ out.write("<p class=\"author\">Author");
+ if (authors.length > 1)
+ {
+ out.write("s");
+ }
+
+ boolean first = true;
+ for (Tag tag : authors)
+ {
+ if (first)
+ {
+ out.write(": ");
+ first = false;
+ }
+ else
+ {
+ out.write(", ");
+ }
+
+ out.write(tag.text());
+ }
+
+ out.write("</p>\n");
+ }
+
EList<BodyElement> elements = getElements();
BodyElementContainerImpl.generate(out, this, elements);
super.generate(out);

Back to the top