From b5d8b449c79cbedc82e03381cc459ae8c8ae9718 Mon Sep 17 00:00:00 2001 From: mkersten Date: Thu, 14 Aug 2003 09:07:44 +0000 Subject: Updated org.aspectj.asm relationship model to string-handle-based API in order to support adding and removing relationships at any point in the compilation cycle, and to support external tools building relationships (e.g. JDT's incremental containment hierarchy builder). Also made inter-type declaration relationships show up in the model. --- ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ajbrowser') diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java index 6f7523f7a..826ca9299 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java @@ -24,6 +24,7 @@ import org.aspectj.ajde.ui.*; import org.aspectj.ajde.ui.internal.UserPreferencesStore; import org.aspectj.ajde.ui.swing.*; import org.aspectj.asm.*; +import org.aspectj.asm.internal.*; /** * IDE manager for standalone AJDE application. @@ -46,8 +47,8 @@ public class BrowserManager { private static TopFrame topFrame = null; - public final IStructureModelListener VIEW_LISTENER = new IStructureModelListener() { - public void containmentHierarchyUpdated(AspectJModel model) { + public final IHierarchyListener VIEW_LISTENER = new IHierarchyListener() { + public void elementsUpdated(IHierarchy model) { FileStructureView fsv = Ajde.getDefault().getStructureViewManager().getDefaultFileView(); if (fsv != null) { fsv.setSourceFile(BrowserManager.getDefault().getEditorManager().getCurrFile()); -- cgit v1.2.3