From 0b8250b807fe55b63d2a18f6cf4cd695e00681ea Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 20 Oct 2008 04:38:14 +0000 Subject: [PATCH] 251277: making asmmanager non-singleton --- ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java index 741fc1e79..fc4b4e350 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java @@ -32,7 +32,6 @@ import org.aspectj.ajde.ui.javaoptions.JavaComplianceOptionsPanel; import org.aspectj.ajde.ui.javaoptions.JavaDebugOptionsPanel; import org.aspectj.ajde.ui.javaoptions.JavaOtherOptionsPanel; import org.aspectj.ajde.ui.swing.MultiStructureViewPanel; -import org.aspectj.asm.AsmManager; import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IHierarchyListener; import org.aspectj.tools.ajbrowser.core.BrowserBuildProgressMonitor; @@ -98,7 +97,7 @@ public class BrowserManager { setUpConfigFiles(configFilesArgs); - AsmManager.getDefault().addListener(VIEW_LISTENER); + Ajde.getDefault().getModel().addListener(VIEW_LISTENER); } catch (Throwable t) { t.printStackTrace(); -- 2.39.5