Diff of /trunk/ModularRex/RexFramework/RexObjectProperties.cs
Parent Directory
|
Revision Log
|
Patch
| revision 39, Fri Jan 23 10:50:03 2009 UTC | revision 42, Wed Jan 28 14:51:20 2009 UTC | |
|---|---|---|
| # | Line 15 | Line 15 |
| 15 | ||
| 16 | public delegate void OnRexObjectPropertiesDataUpdateDelegate(UUID id, string data, bool dbSave); | public delegate void OnRexObjectPropertiesDataUpdateDelegate(UUID id, string data, bool dbSave); |
| 17 | ||
| 18 | public delegate void OnChangePythonClassDelegate(UUID id); | |
| 19 | ||
| 20 | public class RexObjectProperties | public class RexObjectProperties |
| 21 | { | { |
| 22 | private static readonly ILog m_log = | private static readonly ILog m_log = |
| # | Line 229 | Line 231 |
| 231 | set | set |
| 232 | { | { |
| 233 | m_RexClassName = value; | m_RexClassName = value; |
| 234 | TriggerOnChangePythonClass(parentObjectID); | |
| 235 | SchedulePropertiesUpdate(true); | SchedulePropertiesUpdate(true); |
| 236 | } | } |
| 237 | } | } |
| # | Line 297 | Line 300 |
| 300 | ||
| 301 | public event OnRexObjectPropertiesDataUpdateDelegate OnDataUpdate; | public event OnRexObjectPropertiesDataUpdateDelegate OnDataUpdate; |
| 302 | public event OnRexObjectPropertiesUpdateDelegate OnPropertiesUpdate; | public event OnRexObjectPropertiesUpdateDelegate OnPropertiesUpdate; |
| 303 | public event OnChangePythonClassDelegate OnPythonClassChange; | |
| 304 | ||
| 305 | public void TriggerOnChangePythonClass(UUID id) | |
| 306 | { | |
| 307 | if (OnPythonClassChange != null) | |
| 308 | OnPythonClassChange(id); | |
| 309 | } | |
| 310 | ||
| 311 | #endregion | #endregion |
| 312 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

