(Object value)
| 86 | switchNode.name = s.toString(); |
| 87 | ObjectGraphNode switchVar = new ObjectGraphNode(s.getSwitch()) { |
| 88 | @Override |
| 89 | /** |
| 90 | * This is a more efficient way of updating the softswitch |
| 91 | * states And really in a way this works out much better to |
| 92 | * ensure that memory and graphics pages are set up correctly |
| 93 | * when resuming states. |
| 94 | */ |
| 95 | public void setCurrentValue(Object value) { |
| 96 | Boolean b = (Boolean) value; |
| 97 | ss.getSwitch().setState(b); |
| 98 | } |
| 99 | |
| 100 | @Override |
| 101 | public Object getCurrentValue() { |