summaryrefslogtreecommitdiffstats
path: root/ajbrowser/src/org/aspectj/tools
diff options
context:
space:
mode:
authormkersten <mkersten>2003-08-14 09:07:44 +0000
committermkersten <mkersten>2003-08-14 09:07:44 +0000
commitb5d8b449c79cbedc82e03381cc459ae8c8ae9718 (patch)
tree839c55908b7814d7fab40208b1c2afaa5fb84483 /ajbrowser/src/org/aspectj/tools
parentbffcd4c30591bce89ba938325159374e1ea1ea96 (diff)
downloadaspectj-b5d8b449c79cbedc82e03381cc459ae8c8ae9718.tar.gz
aspectj-b5d8b449c79cbedc82e03381cc459ae8c8ae9718.zip
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.
Diffstat (limited to 'ajbrowser/src/org/aspectj/tools')
-rw-r--r--ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java5
1 files changed, 3 insertions, 2 deletions
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());