1 19 20 package org.netbeans.spi.debugger.jpda; 21 22 import javax.swing.Action ; 23 import org.netbeans.api.debugger.jpda.Variable; 24 import org.netbeans.spi.viewmodel.NodeActionsProvider; 25 import org.netbeans.spi.viewmodel.NodeModel; 26 import org.netbeans.spi.viewmodel.TableModel; 27 import org.netbeans.spi.viewmodel.TreeModel; 28 import org.netbeans.spi.viewmodel.UnknownTypeException; 29 30 31 42 public abstract class VariablesFilter { 43 44 45 51 public abstract String [] getSupportedTypes (); 52 53 59 public abstract String [] getSupportedAncestors (); 60 61 75 public abstract Object [] getChildren ( 76 TreeModel original, 77 Variable variable, 78 int from, 79 int to 80 ) throws UnknownTypeException; 81 82 97 public abstract int getChildrenCount ( 98 TreeModel original, 99 Variable variable 100 ) throws UnknownTypeException; 101 102 110 public abstract boolean isLeaf ( 111 TreeModel original, 112 Variable variable 113 ) throws UnknownTypeException; 114 115 116 118 127 public abstract String getDisplayName (NodeModel original, Variable variable) 128 throws UnknownTypeException; 129 130 139 public abstract String getIconBase (NodeModel original, Variable variable) 140 throws UnknownTypeException; 141 142 151 public abstract String getShortDescription (NodeModel original, Variable variable) 152 throws UnknownTypeException; 153 154 155 157 164 public abstract Action [] getActions ( 165 NodeActionsProvider original, 166 Variable variable 167 ) throws UnknownTypeException; 168 169 175 public abstract void performDefaultAction ( 176 NodeActionsProvider original, 177 Variable variable 178 ) throws UnknownTypeException; 179 180 181 183 199 public abstract Object getValueAt ( 200 TableModel original, 201 Variable variable, 202 String columnID 203 ) throws UnknownTypeException; 204 205 216 public abstract boolean isReadOnly ( 217 TableModel original, 218 Variable variable, 219 String columnID 220 ) throws UnknownTypeException; 221 222 235 public abstract void setValueAt ( 236 TableModel original, 237 Variable variable, 238 String columnID, 239 Object value 240 ) throws UnknownTypeException; 241 } 242 | Popular Tags |