mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Postfix templates: do not allow to modify foreach template
This commit is contained in:
+1
@@ -131,6 +131,7 @@ public class JavaPostfixTemplateProvider implements PostfixTemplateProvider {
|
||||
templateToEdit instanceof JavaEditablePostfixTemplate &&
|
||||
// cannot be editable until there is no UI for editing template variables
|
||||
!(templateToEdit instanceof ForIndexedPostfixTemplate) &&
|
||||
!(templateToEdit instanceof ForeachPostfixTemplate) &&
|
||||
!(templateToEdit instanceof ArgumentPostfixTemplate) &&
|
||||
!(templateToEdit instanceof OptionalPostfixTemplate)) {
|
||||
JavaPostfixTemplateEditor editor = new JavaPostfixTemplateEditor(this);
|
||||
|
||||
Reference in New Issue
Block a user