enableKeystoreCheckbox.getShell(),
Messages.getString( "PasswordsKeystorePreferencePage.SetupMasterPassword" ), //$NON-NLS-1$
Messages.getString( "PasswordsKeystorePreferencePage.PleaseEnterMasterPasswordToSecurePasswordsKeystore" ), //$NON-NLS-1$
null );
if ( setupPasswordDialog.open() == SetupPasswordDialog.OK )
{
// Getting the master password
String masterPassword = setupPasswordDialog.getPassword();
// Loading the keystore