public OpenKMAddOn( XComponentContext context )
{
singleton = this;
m_xContext = context;
try {
configFile = new ConfigFile();
documentFile = new DocumentFile();
lang = new Lang();
imageUtil = new ImageUtil();
waitWindow = new WaitWindow();
} catch (OKMException ex) {