mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote branch 'origin/master'
This commit is contained in:
@@ -44,12 +44,16 @@ public abstract class BeanPropertyRenameHandler implements RenameHandler {
|
||||
}
|
||||
|
||||
public void invoke(@NotNull Project project, Editor editor, PsiFile file, DataContext dataContext) {
|
||||
final BeanProperty property = getProperty(dataContext);
|
||||
new PropertyRenameDialog(property, editor).show();
|
||||
performInvoke(editor, dataContext);
|
||||
}
|
||||
|
||||
public void invoke(@NotNull Project project, @NotNull PsiElement[] elements, DataContext dataContext) {
|
||||
performInvoke(null, dataContext);
|
||||
}
|
||||
|
||||
private void performInvoke(@Nullable Editor editor, DataContext dataContext) {
|
||||
final BeanProperty property = getProperty(dataContext);
|
||||
new PropertyRenameDialog(property, editor).show();
|
||||
}
|
||||
|
||||
public static void doRename(@NotNull final BeanProperty property, final String newName, final boolean searchInComments) {
|
||||
@@ -89,6 +93,5 @@ public abstract class BeanPropertyRenameHandler implements RenameHandler {
|
||||
doRename(myProperty, newName, searchInComments);
|
||||
close(DialogWrapper.OK_EXIT_CODE);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -123,6 +123,7 @@ public class MavenModuleBuilderHelper {
|
||||
if (myArchetype == null) {
|
||||
try {
|
||||
VfsUtil.createDirectories(root.getPath() + "/src/main/java");
|
||||
VfsUtil.createDirectories(root.getPath() + "/src/main/resources");
|
||||
VfsUtil.createDirectories(root.getPath() + "/src/test/java");
|
||||
}
|
||||
catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user