summaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authormkersten <mkersten>2004-03-29 22:33:49 +0000
committermkersten <mkersten>2004-03-29 22:33:49 +0000
commit3b6a9d338f07bac03b12d81d118f23d40c2a8e7c (patch)
treecef565fc768998b83035cb99dc6207058157f330 /ajde
parent7ec4d6147333a9505cbd34f80f76356e46787acb (diff)
downloadaspectj-3b6a9d338f07bac03b12d81d118f23d40c2a8e7c.tar.gz
aspectj-3b6a9d338f07bac03b12d81d118f23d40c2a8e7c.zip
Minor non-disruptive ASM API cleanup.
Diffstat (limited to 'ajde')
-rw-r--r--ajde/src/org/aspectj/ajde/ui/internal/TreeStructureViewBuilder.java8
-rw-r--r--ajde/src/org/aspectj/ajde/ui/swing/BrowserStructureViewToolPanel.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/ajde/src/org/aspectj/ajde/ui/internal/TreeStructureViewBuilder.java b/ajde/src/org/aspectj/ajde/ui/internal/TreeStructureViewBuilder.java
index 99ca19f08..31ea09c68 100644
--- a/ajde/src/org/aspectj/ajde/ui/internal/TreeStructureViewBuilder.java
+++ b/ajde/src/org/aspectj/ajde/ui/internal/TreeStructureViewBuilder.java
@@ -145,13 +145,13 @@ public class TreeStructureViewBuilder {
} else if (granularity == StructureViewProperties.Granularity.TYPE
&& (kind == IProgramElement.Kind.PROJECT
|| kind == IProgramElement.Kind.PACKAGE
- || kind.isSourceFileKind()
- || kind.isTypeKind())) {
+ || kind.isSourceFile()
+ || kind.isType())) {
return true;
} else if (granularity == StructureViewProperties.Granularity.FILE
&& (kind == IProgramElement.Kind.PROJECT
|| kind == IProgramElement.Kind.PACKAGE
- || kind.isSourceFileKind())) {
+ || kind.isSourceFile())) {
return true;
} else if (granularity == StructureViewProperties.Granularity.PACKAGE
&& (kind == IProgramElement.Kind.PROJECT
@@ -167,7 +167,7 @@ public class TreeStructureViewBuilder {
IProgramElement pNode = (IProgramElement)node;
if (!acceptGranularity(pNode.getKind(), properties.getGranularity())) {
return false;
- } else if (pNode.getKind().isMemberKind()) {
+ } else if (pNode.getKind().isMember()) {
if (properties.getFilteredMemberAccessibility().contains(pNode.getAccessibility())) {
return false;
}
diff --git a/ajde/src/org/aspectj/ajde/ui/swing/BrowserStructureViewToolPanel.java b/ajde/src/org/aspectj/ajde/ui/swing/BrowserStructureViewToolPanel.java
index e28438b02..a2e0fb492 100644
--- a/ajde/src/org/aspectj/ajde/ui/swing/BrowserStructureViewToolPanel.java
+++ b/ajde/src/org/aspectj/ajde/ui/swing/BrowserStructureViewToolPanel.java
@@ -109,7 +109,7 @@ public class BrowserStructureViewToolPanel extends JPanel {
IProgramElement.Kind[] kinds = IProgramElement.Kind.ALL;
for (int i = 0; i < kinds.length; i++) {
- if (kinds[i].isMemberKind()) {
+ if (kinds[i].isMember()) {
CheckBoxSelectionMenuButton menuItem = new CheckBoxSelectionMenuButton(kinds[i]);
menuItem.setIcon((Icon)AjdeUIManager.getDefault().getIconRegistry().getIcon(kinds[i]).getIconResource());
filterMenu.add(menuItem);