putValue(Action.SHORT_DESCRIPTION, resources.getString("config.path.add.tooltip"));
putValue(Action.LONG_DESCRIPTION, resources.getString("config.path.add.tooltip"));
}
public void actionPerformed(final ActionEvent e) {
final FileChooserDescriptor descriptor = new ExtensionFileChooserDescriptor(
(String) getValue(Action.NAME),
(String) getValue(Action.SHORT_DESCRIPTION),
"jar");
final VirtualFile chosen = FileChooser.chooseFile(descriptor, project, project.getBaseDir());
if (chosen != null) {