summaryrefslogtreecommitdiff
path: root/BKUGuiExt/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'BKUGuiExt/src/main')
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java (renamed from BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUI.java)30
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java (renamed from BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java)4
-rw-r--r--BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties6
3 files changed, 20 insertions, 20 deletions
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java
index 32259746..378395eb 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUI.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java
@@ -43,15 +43,15 @@ import org.slf4j.LoggerFactory;
import at.gv.egiz.bku.gui.viewer.FontProvider;
/**
- * Implements GUI for the person identity link informations
+ * Implements GUI for the identity link informations
*
* @author Andreas Fitzek <andreas.fitzek@iaik.tugraz.at>
*/
-public class PersonIdentityLinkGUI extends CardMgmtGUI implements
- PersonIdentityLinkGUIFacade {
+public class IdentityLinkGUI extends CardMgmtGUI implements
+ IdentityLinkGUIFacade {
private final Logger log = LoggerFactory
- .getLogger(PersonIdentityLinkGUI.class);
+ .getLogger(IdentityLinkGUI.class);
protected JLabel mgmtLabel;
@@ -65,7 +65,7 @@ public class PersonIdentityLinkGUI extends CardMgmtGUI implements
protected JButton activateButton;
- public PersonIdentityLinkGUI(Container contentPane, Locale locale, URL backgroundImgURL, FontProvider fontProvider,
+ public IdentityLinkGUI(Container contentPane, Locale locale, URL backgroundImgURL, FontProvider fontProvider,
HelpListener helpListener, SwitchFocusListener switchFocusListener) {
super(contentPane, locale, Style.advanced, backgroundImgURL, fontProvider,
helpListener, switchFocusListener);
@@ -74,19 +74,19 @@ public class PersonIdentityLinkGUI extends CardMgmtGUI implements
}
@Override
- public void showPersonIdentityLinkInformationDialog(
+ public void showIdentityLinkInformationDialog(
final ActionListener activateListener,
final String actionCommand,
final String firstName,
final String surName,
final String birthdate) {
- log.debug("Scheduling Person Identity Link dialog.");
+ log.debug("Scheduling Identity Link dialog.");
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
- log.debug("Show Person Identity Link dialog.");
+ log.debug("Show Identity Link dialog.");
mainPanel.removeAll();
buttonPanel.removeAll();
@@ -96,10 +96,10 @@ public class PersonIdentityLinkGUI extends CardMgmtGUI implements
mgmtLabel.getFont().getStyle() & ~java.awt.Font.BOLD));
if (renderHeaderPanel) {
- titleLabel.setText(getMessage(PersonIdentityLinkGUIFacade.TITLE_IDENITY));
- mgmtLabel.setText(getMessage(PersonIdentityLinkGUIFacade.MESSAGE_IDENITY));
+ titleLabel.setText(getMessage(IdentityLinkGUIFacade.TITLE_IDENITY));
+ mgmtLabel.setText(getMessage(IdentityLinkGUIFacade.MESSAGE_IDENITY));
} else {
- mgmtLabel.setText(getMessage(PersonIdentityLinkGUIFacade.TITLE_IDENITY));
+ mgmtLabel.setText(getMessage(IdentityLinkGUIFacade.TITLE_IDENITY));
}
activateButton.setFont(activateButton.getFont().deriveFont(
@@ -111,12 +111,12 @@ public class PersonIdentityLinkGUI extends CardMgmtGUI implements
activateButton.setText(getMessage(BUTTON_CLOSE));
firstNameLabel_description = new JLabel();
- firstNameLabel_description.setText(getMessage(PersonIdentityLinkGUIFacade.FIRSTNAME));
+ firstNameLabel_description.setText(getMessage(IdentityLinkGUIFacade.FIRSTNAME));
lastNameLabel_description = new JLabel();
- lastNameLabel_description.setText(getMessage(PersonIdentityLinkGUIFacade.LASTNAME));
+ lastNameLabel_description.setText(getMessage(IdentityLinkGUIFacade.LASTNAME));
birthdateLabel_description = new JLabel();
- birthdateLabel_description.setText(getMessage(PersonIdentityLinkGUIFacade.DATEOFBIRTH));
+ birthdateLabel_description.setText(getMessage(IdentityLinkGUIFacade.DATEOFBIRTH));
firstNameLabel = new JLabel();
@@ -137,7 +137,7 @@ public class PersonIdentityLinkGUI extends CardMgmtGUI implements
birthdateLabel.setFont(birthdateLabel.getFont().deriveFont(
birthdateLabel.getFont().getStyle() & ~java.awt.Font.BOLD));
- updateMethodToRunAtResize("at.gv.egiz.bku.gui.PersonIdentityLinkGUI", "renderContentAndButtons");
+ updateMethodToRunAtResize("at.gv.egiz.bku.gui.IdentityLinkGUI", "renderContentAndButtons");
renderContentAndButtons();
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java
index d0332284..2b96dc6e 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java
@@ -30,7 +30,7 @@ import java.awt.event.ActionListener;
*
* @author Andreas Fitzek <andreas.fitzek@iaik.tugraz.at>
*/
-public interface PersonIdentityLinkGUIFacade extends BKUGUIFacade {
+public interface IdentityLinkGUIFacade extends BKUGUIFacade {
public static final String FIRSTNAME = "identity.firstname";
public static final String DATEOFBIRTH = "identity.dateofbirth";
@@ -47,7 +47,7 @@ public interface PersonIdentityLinkGUIFacade extends BKUGUIFacade {
* @param firstName
* @param surName
*/
- public void showPersonIdentityLinkInformationDialog(
+ public void showIdentityLinkInformationDialog(
ActionListener activateListener,
String actionCommand,
String firstName,
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 764e678b..64906c24 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
@@ -28,14 +28,14 @@ title.unblock.pin=<html>Unblock PIN</html>
title.activate.success=<html>Success</html>
title.change.success=<html>Success</html>
title.unblock.success=<html>Success</html>
-title.identity=<html>Person Identity Link</html>
+title.identity=<html>Identity Link</html>
title.certificate.save=<html>Save certificate</html>
title.get.certificate=<html>Save certificates</html>
title.hardwareinfo = <html>Hardware Information</html>
# removed message.* prefix to reuse keys as help keys
pin.mgmt=<html>{0} PINs available
-identity.msg=<html>The person identity link
+identity.msg=<html>The identity link
identity.button=<html>Cancel</html>
identity.firstname=<html>First name</html>
identity.dateofbirth=<html>Date of birth</html>
@@ -101,7 +101,7 @@ err.pin.format=<html>Invalid {0} length, {1} digit(s) required.</html>
err.pin.confirmation=<html>{0} and confirmation do not match.</html>
err.pin.operation.aborted=<html>The operation on {0} was aborted.</html>
err.unsupported.card=<html>This card is not supported</html>
-err.infobox.invalid=<html>Unable to interpret person identity link</html>
+err.infobox.invalid=<html>Unable to interpret identity link</html>
status.not.active=NOT ACTIVE
status.active=ACTIVE