diff options
author | mkersten <mkersten> | 2003-08-08 11:02:53 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-08-08 11:02:53 +0000 |
commit | f1deb9c11024ecebab2e0aa17a260821375c25bd (patch) | |
tree | 9c3434439dddfb2e90a40187c8255ff80a2b147f /ajbrowser/src/org/aspectj/tools | |
parent | 3e5974557278e81a9891edd4269eca39a8d42f43 (diff) | |
download | aspectj-f1deb9c11024ecebab2e0aa17a260821375c25bd.tar.gz aspectj-f1deb9c11024ecebab2e0aa17a260821375c25bd.zip |
Reimplemented ASM API as described in bug "41254: revise asm and create interfaces". Containment hierarchy is done and tests added. Relationships are not done yet. All clients except AJDT ported. More UI porting in Swing clients required.
Diffstat (limited to 'ajbrowser/src/org/aspectj/tools')
-rw-r--r-- | ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java | 2 | ||||
-rw-r--r-- | ajbrowser/src/org/aspectj/tools/ajbrowser/TopFrame.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java index 7af4f2199..d5ca9956f 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java @@ -46,7 +46,7 @@ public class BrowserManager { private static TopFrame topFrame = null; - public final StructureModelListener VIEW_LISTENER = new StructureModelListener() { + public final IStructureModelListener VIEW_LISTENER = new IStructureModelListener() { public void modelUpdated(StructureModel model) { FileStructureView fsv = Ajde.getDefault().getStructureViewManager().getDefaultFileView(); if (fsv != null) { diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/TopFrame.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/TopFrame.java index e97ae9dd1..5fa109e6a 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/TopFrame.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/TopFrame.java @@ -24,7 +24,7 @@ import javax.swing.filechooser.FileFilter; import org.aspectj.ajde.Ajde; import org.aspectj.ajde.ui.swing.*; -import org.aspectj.asm.ProgramElementNode; +import org.aspectj.asm.IProgramElement; /** * UI for standalone operation. @@ -123,7 +123,7 @@ public class TopFrame extends JFrame { projectDebug_menuItem.setIcon(AjdeUIManager.getDefault().getIconRegistry().getDebugIcon()); this.setJMenuBar(menuBar); - this.setIconImage(((ImageIcon)AjdeUIManager.getDefault().getIconRegistry().getStructureSwingIcon(ProgramElementNode.Kind.ADVICE)).getImage()); + this.setIconImage(((ImageIcon)AjdeUIManager.getDefault().getIconRegistry().getStructureSwingIcon(IProgramElement.Kind.ADVICE)).getImage()); this.setLocation(75, 10); this.setSize(900, 650); this.setTitle(BrowserManager.TITLE); @@ -381,7 +381,7 @@ public class TopFrame extends JFrame { editConfig_button_actionPerformed(e); } }); - editConfig_button.setIcon(AjdeUIManager.getDefault().getIconRegistry().getStructureSwingIcon(ProgramElementNode.Kind.FILE_LST)); + editConfig_button.setIcon(AjdeUIManager.getDefault().getIconRegistry().getStructureSwingIcon(IProgramElement.Kind.FILE_LST)); editConfig_button.setText("Edit Config"); editConfig_button.setToolTipText("Edit Config..."); editConfig_button.setPreferredSize(new Dimension(80, 20)); |