1 19 20 package org.netbeans.modules.scripting.php.dbginterface.api; 21 22 import java.util.Collection ; 23 import org.netbeans.spi.viewmodel.ModelEvent; 24 25 26 31 public interface VariableNode { 32 33 public static final String LOCAL_VARIABLE_ICON = 35 "org/netbeans/modules/debugger/resources/localsView/LocalVariable"; public static final String SCRIPT_FIELD_ICON = 37 "org/netbeans/modules/debugger/resources/watchesView/Field"; public static final String SUPER_ICON = 39 "org/netbeans/modules/debugger/resources/watchesView/SuperVariable"; public static final String JAVA_FIELD_ICON = 41 "org/netbeans/modules/debugger/resources/classesView/Classes"; 43 public static final String UNDEFINED_FIELD_ICON = 46 "org/netbeans/modules/phobos/localdebugger/resources/undefined"; public static final String FUNCTION_ICON = 48 "org/netbeans/modules/phobos/localdebugger/resources/function"; public static final String SCRIPT_ADAPTER_ICON = 50 "org/netbeans/modules/debugger/resources/watchesView/StaticModifier"; 52 public static final String WATCH_ICON = 54 "org/netbeans/modules/debugger/resources/watchesView/Watch"; 56 57 public static final int TYPE_LOCAL_FIELD = 0; 60 public static final int TYPE_SCRIPT_FIELD = 1; 61 public static final int TYPE_JAVA_FIELD = 2; 62 public static final int TYPE_UNDEFINED_FIELD = 3; 63 public static final int TYPE_SUPER = 4; 64 public static final int TYPE_SCRIPT_ADAPTER = 5; 65 public static final int TYPE_FUNCTION = 6; 66 public static final int TYPE_WATCH = 7; 67 68 public String getName(); 72 73 public String getDisplayName(); 74 75 public String getShortDescription(); 76 77 public String getIconBase(); 78 79 public int getType(); 80 81 public String getTypeName(); 82 83 public Object getValue(); 84 85 public boolean isReadOnly(); 86 87 public String getTooltipValue(); 88 89 public VariableNode[] getChildren(int from, int to); 90 91 public boolean isLeaf(); 92 93 public int getChildrenCount(); 94 95 100 public void collectUpdates(Object source, Collection <ModelEvent> events, VariableNode newVar); 101 } 102 | Popular Tags |