mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-55100 Update dialog blocks children
This commit is contained in:
@@ -61,6 +61,10 @@ public class SelectBranchPopup {
|
||||
}
|
||||
|
||||
public static void show(Project project, VirtualFile file, BranchSelectedCallback callback, final String title) {
|
||||
show(project, file, callback, title, null);
|
||||
}
|
||||
|
||||
public static void show(Project project, VirtualFile file, BranchSelectedCallback callback, final String title, final Component component) {
|
||||
final SvnFileUrlMapping urlMapping = SvnVcs.getInstance(project).getSvnFileUrlMapping();
|
||||
final SVNURL svnurl = urlMapping.getUrlForFile(new File(file.getPath()));
|
||||
if (svnurl == null) {
|
||||
@@ -72,7 +76,7 @@ public class SelectBranchPopup {
|
||||
}
|
||||
|
||||
// not vcs root but wc root is ok
|
||||
showForBranchRoot(project, rootUrlInfo.getVirtualFile(), callback, title);
|
||||
showForBranchRoot(project, rootUrlInfo.getVirtualFile(), callback, title, component);
|
||||
}
|
||||
|
||||
public static void showForBranchRoot(Project project, VirtualFile vcsRoot, BranchSelectedCallback callback, final String title) {
|
||||
|
||||
@@ -154,7 +154,7 @@ public class SvnUpdateRootOptionsPanel implements SvnPanel{
|
||||
recalculateUrl(url);
|
||||
myBranchField.setText(SVNPathUtil.tail(url));
|
||||
}
|
||||
}, SvnBundle.message("select.branch.popup.general.title"));
|
||||
}, SvnBundle.message("select.branch.popup.general.title"), myPanel);
|
||||
}
|
||||
|
||||
private void recalculateUrl(final String url) {
|
||||
|
||||
Reference in New Issue
Block a user