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 37 public abstract class VariablesFilterAdapter extends VariablesFilter { 38 39 40 46 public abstract String [] getSupportedAncestors (); 47 48 54 public abstract String [] getSupportedTypes (); 55 56 70 public Object [] getChildren ( 71 TreeModel original, 72 Variable variable, 73 int from, 74 int to 75 ) throws UnknownTypeException { 76 return original.getChildren (variable, from, to); 77 } 78 79 94 public int getChildrenCount ( 95 TreeModel original, 96 Variable variable 97 ) throws UnknownTypeException { 98 return original.getChildrenCount (variable); 99 } 100 101 109 public boolean isLeaf ( 110 TreeModel original, 111 Variable variable 112 ) throws UnknownTypeException { 113 return original.isLeaf (variable); 114 } 115 116 117 119 128 public String getDisplayName (NodeModel original, Variable variable) 129 throws UnknownTypeException { 130 return original.getDisplayName (variable); 131 } 132 133 142 public String getIconBase (NodeModel original, Variable variable) 143 throws UnknownTypeException { 144 return original.getIconBase (variable); 145 } 146 147 156 public String getShortDescription (NodeModel original, Variable variable) 157 throws UnknownTypeException { 158 return original.getShortDescription (variable); 159 } 160 161 162 164 171 public Action [] getActions ( 172 NodeActionsProvider original, 173 Variable variable 174 ) throws UnknownTypeException { 175 return original.getActions (variable); 176 } 177 178 184 public void performDefaultAction ( 185 NodeActionsProvider original, 186 Variable variable 187 ) throws UnknownTypeException { 188 original.performDefaultAction (variable); 189 } 190 191 192 194 210 public Object getValueAt ( 211 TableModel original, 212 Variable variable, 213 String columnID 214 ) throws UnknownTypeException { 215 return original.getValueAt (variable, columnID); 216 } 217 218 229 public boolean isReadOnly ( 230 TableModel original, 231 Variable variable, 232 String columnID 233 ) throws UnknownTypeException { 234 return original.isReadOnly (variable, columnID); 235 } 236 237 250 public void setValueAt ( 251 TableModel original, 252 Variable variable, 253 String columnID, 254 Object value 255 ) throws UnknownTypeException { 256 original.setValueAt (variable, columnID, value); 257 } 258 } 259 | Popular Tags |