Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/RefTag.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/RefTag.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/RefTag.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/RefTag.java
new file mode 100644
index 0000000000..d5715a3a09
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/article/old/util/RefTag.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.releng.doc.article.old.util;
+
+import org.eclipse.emf.cdo.releng.doc.article.old.ArticleElement;
+
+import com.sun.javadoc.SeeTag;
+
+/**
+ * @author Eike Stepper
+ */
+public class RefTag extends DelegatingTag
+{
+ private final ArticleElement target;
+
+ public RefTag(SeeTag delegate, ArticleElement target)
+ {
+ super(delegate);
+ this.target = target;
+ }
+
+ @Override
+ public SeeTag getDelegate()
+ {
+ return (SeeTag)super.getDelegate();
+ }
+
+ public final ArticleElement getTarget()
+ {
+ return target;
+ }
+
+ @Override
+ public String text()
+ {
+ return target.getTitle();
+ }
+}

Back to the top