From 4492b011f2fa6fd19e7ddbc2ffc5ef9310a98664 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Mon, 15 Jan 2007 17:55:05 +0000 Subject: [PATCH] promptForNewPassword API should be public for reuse --- .../eclipse/rse/core/subsystems/AbstractConnectorService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/AbstractConnectorService.java b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/AbstractConnectorService.java index 525ee2e3cc2..03d57314f04 100644 --- a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/AbstractConnectorService.java +++ b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/AbstractConnectorService.java @@ -1168,13 +1168,13 @@ public abstract class AbstractConnectorService extends RSEModelObject implements log.logError("Unexpected exception", t); //$NON-NLS-1$ } - protected NewPasswordInfo promptForNewPassword(SystemMessage prompt) throws InterruptedException + public NewPasswordInfo promptForNewPassword(SystemMessage prompt) throws InterruptedException { ShowPromptForNewPassword msgAction = new ShowPromptForNewPassword(prompt); Display.getDefault().syncExec(msgAction); if (msgAction.isCancelled()) throw new InterruptedException(); return new NewPasswordInfo(msgAction.getNewPassword(), msgAction.isSavePassword()); - } + } private class ShowPromptForNewPassword implements Runnable {