From 7986b3e3a2bcb59e79a2a7d44a52368d360e9f71 Mon Sep 17 00:00:00 2001 From: Eric Tobias Date: Mon, 9 Nov 2015 16:36:38 +0100 Subject: [PATCH] Made the InterfaceManager reference static and the related getter as well. --- TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java b/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java index 7e6e639..7804e70 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java +++ b/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java @@ -62,7 +62,7 @@ public abstract class TangibleApplication { * An implementation of the {@link JComponent} handling all interactions with the visual * interface as well as its construction. */ - private TangibleInterfaceManager interfaceManager; + private static TangibleInterfaceManager interfaceManager; /** * An instance of the {@link TangibleObjectManager} to handle all interactions with tangible @@ -185,7 +185,7 @@ public abstract class TangibleApplication { * * @return The value of interfaceManager. */ - public TangibleInterfaceManager getInterfaceManager() { + public static TangibleInterfaceManager getInterfaceManager() { return interfaceManager; } -- GitLab