}
}
protected RenamerRuleEditorInput getEditorInput(RenamerRule rule, File file) {
if (rule instanceof MatchReplaceRule) {
return new MatchReplaceRuleEditorInput((MatchReplaceRule) rule, file);
}
if (rule instanceof ListRule) {
return new ListRuleEditorInput((ListRule) rule, file);
}
if (rule instanceof MetadataRule) {