org.eparapher.rcp.tools
Class RCPGUI

java.lang.Object
  extended by org.eparapher.rcp.tools.RCPGUI
All Implemented Interfaces:
UserInterface

public class RCPGUI
extends Object
implements UserInterface


Constructor Summary
RCPGUI()
           
 
Method Summary
 String askUserKeystoreSecret(boolean isPrivateKey, boolean isNewSecret, String alias)
           
 boolean askUserNewCertificate()
           
 boolean askUserText(String message)
           
 boolean askUserYesNo(String msg)
           
static boolean askUserYesNo(String message, int swt_icon_type)
          Ask the user for an answer.
 void debugMessage(String msg)
           
 void debugMessage(String title, String message)
           
 void errorMessage(String msg)
           
 void errorMessage(String message, Throwable t)
          Eclipse Window which shows multiple errors with stack
 void infoMessage(String msg)
           
static void infoMessage(String title, String message)
           
 void refreshCertificateList()
           
 void showAllSettings()
           
 void showeParapherSettings()
           
 void showKeystoreSettings()
           
 void showOpenOfficeSettings()
           
 void showSignatureSettings()
           
 void warnMessage(String msg)
           
 void warnMessage(String title, String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCPGUI

public RCPGUI()
Method Detail

askUserText

public boolean askUserText(String message)
Specified by:
askUserText in interface UserInterface

askUserYesNo

public boolean askUserYesNo(String msg)
Specified by:
askUserYesNo in interface UserInterface

errorMessage

public void errorMessage(String msg)
Specified by:
errorMessage in interface UserInterface

errorMessage

public void errorMessage(String message,
                         Throwable t)
Eclipse Window which shows multiple errors with stack

Specified by:
errorMessage in interface UserInterface

infoMessage

public void infoMessage(String msg)
Specified by:
infoMessage in interface UserInterface

infoMessage

public static void infoMessage(String title,
                               String message)

warnMessage

public void warnMessage(String msg)
Specified by:
warnMessage in interface UserInterface

warnMessage

public void warnMessage(String title,
                        String msg)

debugMessage

public void debugMessage(String msg)
Specified by:
debugMessage in interface UserInterface

debugMessage

public void debugMessage(String title,
                         String message)

askUserKeystoreSecret

public String askUserKeystoreSecret(boolean isPrivateKey,
                                    boolean isNewSecret,
                                    String alias)
Specified by:
askUserKeystoreSecret in interface UserInterface

askUserNewCertificate

public boolean askUserNewCertificate()
Specified by:
askUserNewCertificate in interface UserInterface

askUserYesNo

public static boolean askUserYesNo(String message,
                                   int swt_icon_type)
Ask the user for an answer.

Parameters:
message - The message for the User
swt_icon_type - Dialog icon. must be SWT.ICON_ERROR SWT.ICON_WARNING SWT.ICON_WORKING SWT.ICON_INFORMATION SWT.ICON_QUESTION
Returns:
true if the user click OK

showKeystoreSettings

public void showKeystoreSettings()
Specified by:
showKeystoreSettings in interface UserInterface

showSignatureSettings

public void showSignatureSettings()
Specified by:
showSignatureSettings in interface UserInterface

showOpenOfficeSettings

public void showOpenOfficeSettings()
Specified by:
showOpenOfficeSettings in interface UserInterface

showeParapherSettings

public void showeParapherSettings()
Specified by:
showeParapherSettings in interface UserInterface

showAllSettings

public void showAllSettings()
Specified by:
showAllSettings in interface UserInterface

refreshCertificateList

public void refreshCertificateList()
Specified by:
refreshCertificateList in interface UserInterface


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.