01: package javaparser;
02:
03: import java.awt.*;
04:
05: /** Used for main modifiers, ... implements, warnings, extends, ...
06: */
07: public class MainNode extends ParserTreeNode {
08: public String iconName;
09: public Color iconColor;
10:
11: public MainNode(String name, String iconName, Color iconColor,
12: boolean expandInView) {
13: super (name);
14: this .expandInView = expandInView;
15: this .iconName = iconName;
16: this .iconColor = iconColor;
17: this .expandInView = true;
18: }
19:
20: /** call this to help GC !
21: */
22: @Override
23: public void terminate() {
24: super.terminate();
25: iconName = null;
26: iconColor = null;
27: }
28:
29: }
|