Changeset 132:6def7f5063f5
- Timestamp:
- 08/01/2008 08:58:41 AM
(5 months ago)
- Author:
- marc@f1.local
- branch:
- default
- Message:
Surprisingly major chage to fix #75
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r126 |
r132 |
|
| 287 | 287 | needsInspection = 2; |
|---|
| 288 | 288 | } |
|---|
| | 289 | |
|---|
| | 290 | System.out.println(source+" "+prop+" "+to); |
|---|
| | 291 | |
|---|
| | 292 | if (prop.equals(iVisualElement.name)) |
|---|
| | 293 | { |
|---|
| | 294 | System.out.println(" setting dirty ? "); |
|---|
| | 295 | source.setProperty(iVisualElement.dirty, true); |
|---|
| | 296 | } |
|---|
| 289 | 297 | return super.setProperty(source, prop, to); |
|---|
| 290 | 298 | } |
|---|
| r126 |
r132 |
|
| 1 | 1 | package field.core.plugins.python; |
|---|
| 2 | 2 | |
|---|
| 3 | | import static field.core.dispatch.iVisualElementOverrides.backward; |
|---|
| 4 | 3 | import static field.core.dispatch.iVisualElementOverrides.forward; |
|---|
| 5 | 4 | import static field.core.dispatch.iVisualElementOverrides.topology; |
|---|
| … | … | |
| 422 | 421 | VisualElementProperty<Object> n = new iVisualElement.VisualElementProperty<Object>(name); |
|---|
| 423 | 422 | |
|---|
| 424 | | topology.begin(from); |
|---|
| 425 | | backward.setProperty.setProperty(to, n, new Ref<Object>(value)); |
|---|
| 426 | | topology.end(from); |
|---|
| | 423 | |
|---|
| | 424 | n.set(to, to, value); |
|---|
| | 425 | |
|---|
| | 426 | // topology.begin(from); |
|---|
| | 427 | // backward.setProperty.setProperty(to, n, new Ref<Object>(value)); |
|---|
| | 428 | // topology.end(from); |
|---|
| 427 | 429 | } |
|---|
| 428 | 430 | |
|---|
| … | … | |
| 431 | 433 | VisualElementProperty<Object> n = new iVisualElement.VisualElementProperty<Object>(name); |
|---|
| 432 | 434 | |
|---|
| 433 | | topology.begin(to); |
|---|
| 434 | | backward.setProperty.setProperty(to, n, new Ref<Object>(value)); |
|---|
| 435 | | topology.end(to); |
|---|
| | 435 | // topology.begin(to); |
|---|
| | 436 | // backward.setProperty.setProperty(to, n, new Ref<Object>(value)); |
|---|
| | 437 | // topology.end(to); |
|---|
| | 438 | |
|---|
| | 439 | n.set(to, to, value); |
|---|
| 436 | 440 | |
|---|
| 437 | 441 | } |
|---|
| r131 |
r132 |
|
| 287 | 287 | |
|---|
| 288 | 288 | |
|---|
| | 289 | // better workaround for bug #70 |
|---|
| 289 | 290 | typeName = typeName == null ? defaultTypeName : typeName; |
|---|
| 290 | 291 | |
|---|
| … | … | |
| 299 | 300 | } |
|---|
| 300 | 301 | |
|---|
| 301 | | |
|---|
| 302 | | |
|---|
| 303 | 302 | interp.bind(name, typeName, value); |
|---|
| | 303 | |
|---|
| 304 | 304 | for (ScriptingInterface s : shared) |
|---|
| 305 | 305 | s.setVariable(name, value); |
|---|