Ask credentials for remote run if they aren't stored(PY-6127).

This commit is contained in:
Dmitry Trofimov
2012-03-29 15:40:28 +02:00
parent 6c5af394cb
commit 3874bf9d19
@@ -48,6 +48,7 @@ import com.intellij.util.ui.DialogUtil;
import com.intellij.util.ui.UIUtil;
import org.intellij.lang.annotations.MagicConstant;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
@@ -224,7 +225,7 @@ public abstract class DialogWrapper {
* @param canBeParent can be parent
* @throws IllegalStateException if the dialog is invoked not on the event dispatch thread
*/
protected DialogWrapper(Component parent, boolean canBeParent) {
protected DialogWrapper(@NotNull Component parent, boolean canBeParent) {
ensureEventDispatchThread();
myPeer = createPeer(parent, canBeParent);
createDefaultActions();