Skip to content

Commit

Permalink
Merge branch 'master' into fix_ObjectDefNames
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunis committed Jan 18, 2021
2 parents a60f419 + f369a29 commit beda65d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ public MetaDataDialog(JFrame owner, FileFilter[] filters, int type,
this.importer = importer;
this.mdeConfigPath=mdeConfigPath+File.separator+"mdeConfiguration.xml";

ImporterAgent.getRegistry().getLogger().info(this,"MetadataDialog: Use mdeConfiguration file at "+this.mdeConfigPath);

addImportButtonLink(importBtn);
addCancelImportButtonLink(cancelImportBtn);
setClosable(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,13 @@ public void keyPressed(KeyEvent e) {
// inputField.setPreferredSize(new Dimension(250,20));
break;
default:
ImporterAgent.getRegistry().getLogger().warn(this,"[MDE] Unknown type for inputField "+getTagName()+"-> generate Textfield instead");
inputField=new JTextField(10);
setValTextField(inputField);
((JTextField) inputField).addActionListener(fieldActionListener);
inputField.addFocusListener(listener);
inputField.addKeyListener(listenerKey);
inputField.setToolTipText(tagInfo);
break;
}
setTagValue(value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public String getOmeroHome()
public String getMDEConfigPath()
{
return (String)
container.getRegistry().lookup(LookupNames.USER_HOME_OMERO);
container.getRegistry().lookup(LookupNames.USER_MDE_PATH);
}

/**
Expand Down

0 comments on commit beda65d

Please sign in to comment.