simtools.ui
Class HelpFinder

java.lang.Object
  extended by simtools.ui.HelpFinder

public class HelpFinder
extends java.lang.Object

This class avoid to duplicate the same code over and over in all localized files. It works by looking for a help class after the class name passed as argument. Example: "MyPackage.MyClass" => "MyPackage.help.MyClassHelp" It then tries to load help files (html files for instance). Either it fails => program stops with an error message It succeed => return value never null

Version:
1.6 2006
Author:
zxpletran007

Constructor Summary
HelpFinder()
           
 
Method Summary
static java.util.ResourceBundle get(java.lang.Class c)
           
static HelpBundle getMenu(java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpFinder

public HelpFinder()
Method Detail

get

public static java.util.ResourceBundle get(java.lang.Class c)

getMenu

public static HelpBundle getMenu(java.lang.Class c)