ReferenceValues with disposed/deleted referenced elements? [message #1039116] |
Thu, 11 April 2013 19:40  |
Eclipse User |
|
|
|
I have a list property of (wrapped) ReferenceValues, referencing elements elsewhere in my model. If one of those elements is deleted, I want to refresh the list property and its constituents so that any "dangling" references are removed.
What's the recommended approach for this?
|
|
|
Re: ReferenceValues with disposed/deleted referenced elements? [message #1039121 is a reply to message #1039116] |
Thu, 11 April 2013 19:45   |
Eclipse User |
|
|
|
Sorry, I hit post too soon. I should have added that I have a pretty good idea of how to do this mechanically, by iterating through the list of ReferenceValues and removing any for which resolve() returns null or the resulting element is disposed. I'm more wondering if this is something that could be handled declaratively.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02916 seconds