From 3a529faca025926babd560d9b02270d926c7979c Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 2 Apr 2012 16:39:13 +0000 Subject: Integrating help url in tray icon version for identity link extension and fixing identity link gui layout git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1052 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java | 11 +++++++---- .../main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java | 2 ++ .../at/gv/egiz/bku/gui/ActivationMessages.properties | 6 +++--- .../at/gv/egiz/bku/gui/ActivationMessages_de.properties | 6 +++--- 4 files changed, 15 insertions(+), 10 deletions(-) (limited to 'BKUGuiExt/src/main') diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java index 378395eb..62fb4f02 100644 --- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java +++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java @@ -88,6 +88,8 @@ public class IdentityLinkGUI extends CardMgmtGUI implements public void run() { log.debug("Show Identity Link dialog."); + helpListener.setHelpTopic(HELP_IDENTITYLINK); + mainPanel.removeAll(); buttonPanel.removeAll(); @@ -201,22 +203,23 @@ public class IdentityLinkGUI extends CardMgmtGUI implements .addGroup(mainPanelLayout.createParallelGroup(Alignment.LEADING) .addComponent(firstNameLabel) .addComponent(lastNameLabel) - .addComponent(birthdateLabel))))) + .addComponent(birthdateLabel)) + .addContainerGap(50, Integer.MAX_VALUE)))) ); mainPanelLayout.setVerticalGroup( mainPanelLayout.createParallelGroup(Alignment.LEADING) .addGroup(mainPanelLayout.createSequentialGroup() //.addContainerGap() .addGroup(messageVertical) - .addPreferredGap(ComponentPlacement.UNRELATED) + .addPreferredGap(ComponentPlacement.RELATED) .addGroup(mainPanelLayout.createParallelGroup(Alignment.BASELINE) .addComponent(firstNameLabel_description) .addComponent(firstNameLabel)) - //.addPreferredGap(ComponentPlacement.UNRELATED) + .addPreferredGap(ComponentPlacement.RELATED) .addGroup(mainPanelLayout.createParallelGroup(Alignment.BASELINE) .addComponent(lastNameLabel_description) .addComponent(lastNameLabel)) - //.addPreferredGap(ComponentPlacement.UNRELATED) + .addPreferredGap(ComponentPlacement.RELATED) .addGroup(mainPanelLayout.createParallelGroup(Alignment.BASELINE) .addComponent(birthdateLabel_description) .addComponent(birthdateLabel))) diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java index 2b96dc6e..784b623a 100644 --- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java +++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java @@ -32,6 +32,8 @@ import java.awt.event.ActionListener; */ public interface IdentityLinkGUIFacade extends BKUGUIFacade { + public static final String HELP_IDENTITYLINK = "help.identity.link"; + public static final String FIRSTNAME = "identity.firstname"; public static final String DATEOFBIRTH = "identity.dateofbirth"; public static final String LASTNAME = "identity.lastname"; diff --git a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties index 58406afa..9d15c8a0 100644 --- a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties +++ b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties @@ -35,9 +35,9 @@ title.hardwareinfo = Hardware Information identity.msg=The identity link identity.button=Cancel -identity.firstname=First name -identity.dateofbirth=Date of birth -identity.lastname=Last name +identity.firstname=First name: +identity.dateofbirth=Date of birth: +identity.lastname=Last name: # removed message.* prefix to reuse keys as help keys pin.mgmt={0} PINs available diff --git a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties index 1e85dde8..a2da3d33 100644 --- a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties +++ b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties @@ -33,9 +33,9 @@ title.hardwareinfo=Informationen zur Hardware identity.msg=Informationen zur Personenbindung identity.button=Abbrechen -identity.firstname=Vorname -identity.dateofbirth=Geburtsdatum -identity.lastname=Nachname +identity.firstname=Vorname: +identity.dateofbirth=Geburtsdatum: +identity.lastname=Nachname: title.certificate.save=Zertifikat speichern title.get.certificate=Zertifikate speichern -- cgit v1.2.3