11121314151617
public void perform(CommandData data) throws Exception { File file = (File)data.getValue(Keys.FILE); if (file.isDirectory()) { return; } new EditDialog(file); }