diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-04-02 16:39:06 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-04-02 16:39:06 +0000 |
commit | 2476bca83442dbce0d3dfce744e9c320ce802a4e (patch) | |
tree | 8058d766449ab6bd52f1fba6ba53d522914f49bf /BKUAppletExt/src/main/java | |
parent | b96e4b8bc42cba373458579000364ec9fa54fe4f (diff) | |
download | mocca-2476bca83442dbce0d3dfce744e9c320ce802a4e.tar.gz mocca-2476bca83442dbce0d3dfce744e9c320ce802a4e.tar.bz2 mocca-2476bca83442dbce0d3dfce744e9c320ce802a4e.zip |
Renamed PersonIdentityLink to IdentityLink
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1046 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUAppletExt/src/main/java')
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkApplet.java | 8 | ||||
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkBKUWorker.java | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkApplet.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkApplet.java index 08193603..279a16fa 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkApplet.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkApplet.java @@ -30,8 +30,8 @@ import java.util.Locale; import at.gv.egiz.bku.gui.BKUGUIFacade; import at.gv.egiz.bku.gui.HelpListener; -import at.gv.egiz.bku.gui.PersonIdentityLinkGUI; -import at.gv.egiz.bku.gui.PersonIdentityLinkGUIFacade; +import at.gv.egiz.bku.gui.IdentityLinkGUI; +import at.gv.egiz.bku.gui.IdentityLinkGUIFacade; import at.gv.egiz.bku.gui.SwitchFocusListener; import at.gv.egiz.bku.gui.viewer.FontProvider; @@ -47,13 +47,13 @@ private static final long serialVersionUID = 1L; BKUGUIFacade.Style guiStyle, URL backgroundImgURL, FontProvider fontProvider, HelpListener helpListener, SwitchFocusListener switchFocusListener) { - return new PersonIdentityLinkGUI(contentPane, locale, + return new IdentityLinkGUI(contentPane, locale, backgroundImgURL, fontProvider, helpListener, switchFocusListener); } @Override protected AppletBKUWorker createBKUWorker(BKUApplet applet, BKUGUIFacade gui) { - return new IdentityLinkBKUWorker(applet, (PersonIdentityLinkGUIFacade) gui); + return new IdentityLinkBKUWorker(applet, (IdentityLinkGUIFacade) gui); } } diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkBKUWorker.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkBKUWorker.java index 5a76e935..8ede2be1 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkBKUWorker.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/IdentityLinkBKUWorker.java @@ -31,24 +31,24 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import at.gv.egiz.bku.gui.BKUGUIFacade; -import at.gv.egiz.bku.gui.PersonIdentityLinkGUIFacade; -import at.gv.egiz.bku.smccstal.PersonIdentityLinkRequestHandler; +import at.gv.egiz.bku.gui.IdentityLinkGUIFacade; +import at.gv.egiz.bku.smccstal.IdentityLinkRequestHandler; import at.gv.egiz.stal.ErrorResponse; import at.gv.egiz.stal.InfoboxReadRequest; import at.gv.egiz.stal.QuitRequest; import at.gv.egiz.stal.STALResponse; import at.gv.egiz.stal.SignRequest; -import at.gv.egiz.stal.ext.PersonIdentityLinkRequest; -import at.gv.egiz.stal.ext.PersonIdentityLinkResponse; +import at.gv.egiz.stal.ext.IdentityLinkRequest; +import at.gv.egiz.stal.ext.IdentityLinkResponse; public class IdentityLinkBKUWorker extends AppletBKUWorker { private final Logger log = LoggerFactory.getLogger(IdentityLinkBKUWorker.class); - public IdentityLinkBKUWorker(BKUApplet applet, PersonIdentityLinkGUIFacade gui) { + public IdentityLinkBKUWorker(BKUApplet applet, IdentityLinkGUIFacade gui) { super(applet, gui); removeRequestHandler(InfoboxReadRequest.class); removeRequestHandler(SignRequest.class); - addRequestHandler(PersonIdentityLinkRequest.class, new PersonIdentityLinkRequestHandler()); + addRequestHandler(IdentityLinkRequest.class, new IdentityLinkRequestHandler()); } @Override @@ -59,12 +59,12 @@ public class IdentityLinkBKUWorker extends AppletBKUWorker { try { - List<STALResponse> responses = handleRequest(Collections.singletonList(new PersonIdentityLinkRequest())); + List<STALResponse> responses = handleRequest(Collections.singletonList(new IdentityLinkRequest())); handleRequest(Collections.singletonList(new QuitRequest())); if (responses.size() == 1) { STALResponse response = responses.get(0); - if (response instanceof PersonIdentityLinkResponse) { + if (response instanceof IdentityLinkResponse) { log.info("Identity Link dialog terminated."); } else if (response instanceof ErrorResponse) { log.info("Identity Link dialog terminated with error."); |