summaryrefslogtreecommitdiff
path: root/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-11-27 15:22:32 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-11-27 15:22:32 +0000
commit959130f29903568c6b7fe3d6538b33887b3b1aaf (patch)
tree00097351c3941f9ea18eec620710836c2dcfc032 /BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java
parentd379980f1c64bcf174c9706ff5aa746314a6666f (diff)
downloadmocca-959130f29903568c6b7fe3d6538b33887b3b1aaf.tar.gz
mocca-959130f29903568c6b7fe3d6538b33887b3b1aaf.tar.bz2
mocca-959130f29903568c6b7fe3d6538b33887b3b1aaf.zip
help viewer label removed
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@221 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java')
-rw-r--r--BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java
index f46f5227..b871263e 100644
--- a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java
+++ b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/AbstractHelpListener.java
@@ -30,6 +30,9 @@ import org.apache.commons.logging.LogFactory;
* This class does not keep a GUI reference and subclasses should not interfere with the GUI.
* Therefore, any errors occurring in showDocument() should be handled/displayed within
* showDocument() and exceptions thrown from showDocument() are logged, not displayed in the GUI.
+ * <br/>
+ * The help URL is build as [baseURL]/[locale]/[helpTopic].html
+ * (note that no session information is contained).
*
* @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
*/
@@ -41,7 +44,7 @@ public abstract class AbstractHelpListener implements ActionListener {
protected ResourceBundle messages;
public AbstractHelpListener(URL baseURL, Locale locale) {
- if (baseURL == null || "".equals(baseURL)) {
+ if (baseURL == null || "".equals(baseURL.toString())) {
throw new RuntimeException("no help URL provided");
}
this.baseURL = baseURL;