{
//if (docAddDialog == null) {
docAddDialog = SystemDialog.createOpenDialog(xMSF);
for (int i = 0; i < settings.cp_Filters.getSize(); i++)
{
CGFilter f = ((CGFilter) settings.cp_Filters.getElementAt(i));
docAddDialog.addFilter(
JavaTools.replaceSubString(f.cp_Name, resources.prodName, "%PRODNAME"), f.cp_Filter, i == 0);
}
//docAddDialog.addFilter(resources.resSODocs, "*.oxt;*.sxw;*.sxc;*.sxd;*.sxi;*.sdw;*.sdc;*.sdd;*.sdi;*.sda;*.sdp" ,true);
//docAddDialog.addFilter(resources.resMSDocs, "*.doc;*.xls;*.ppt;*.pps",false);