From 3f9d824d73020c2dae98e4bdafc55b079443308a Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Tue, 4 May 2010 12:49:05 +0000
Subject: [PATCH] [LMS-1504] improved javadoc

SVN: 15757
---
 .../application/renderer/LinkRenderer.java    | 21 ++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/renderer/LinkRenderer.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/renderer/LinkRenderer.java
index d01cb125552..af9ae001c52 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/renderer/LinkRenderer.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/renderer/LinkRenderer.java
@@ -123,8 +123,9 @@ public class LinkRenderer
 
     /**
      * @return {@link Anchor} GWT widget that is displayed as a link with given <var>text</var> and
-     *         a <var>listener</var> registered on the click event. The link display style is
-     *         default (not invalidated).
+     *         a <var>listener</var> registered on the click event.
+     *         <p>
+     *         The link display style is default (not invalidated).
      */
     public static Widget getLinkWidget(final String text, final ClickHandler listener)
     {
@@ -132,9 +133,12 @@ public class LinkRenderer
     }
 
     /**
-     * @return {@link Hyperlink} GWT widget that is displayed as a link with given <var>text</var>
-     *         and if simple mode is not active a <var>listener</var> registered on the click event.
-     *         If <var>historyHref</var> is not null it will be attached to the link after '#'.
+     * @return {@link Hyperlink} GWT widget that is displayed as a link with given <var>text</var>.
+     *         If <var>historyHref</var> is not null and simple view mode is active
+     *         <var>historyHref</var> will be appended to the link after '#'. Otherwise if
+     *         <var>listener</var> is not null it will be registered on the click event.
+     *         <p>
+     *         The link display style is default (not invalidated).
      */
     public static Widget getLinkWidget(final String text, final ClickHandler listener,
             final String historyHref)
@@ -143,8 +147,11 @@ public class LinkRenderer
     }
 
     /**
-     * @return {@link Hyperlink} GWT widget that is displayed as a link with given <var>text</var>
-     *         and if simple mode is not active a <var>listener</var> registered on the click event.
+     * @return {@link Hyperlink} GWT widget that is displayed as a link with given <var>text</var>.
+     *         If <var>historyHref</var> is not null and simple view mode is active
+     *         <var>historyHref</var> will be appended to the link after '#'. Otherwise if
+     *         <var>listener</var> is not null it will be registered on the click event.
+     *         <p>
      *         The link display style is based on <var>invalidate</var> (default style is for
      *         false).
      */
-- 
GitLab