|
|
|
Re: What is InverseMaintenanceAdapter for? [message #610906 is a reply to message #108624] |
Mon, 03 October 2005 09:47  |
Eclipse User |
|
|
|
John Cage wrote:
> Hi all,
>
> it's not clear for me what is InverseMaintenanceAdapter for?
>
>
>
> Can somebody explain it to me?
>
> Regards,
>
> John Cage
>
>
>
>
In many cases, there is a one-way reference where the tool may need an efficient mechanism to get to the source
reference from the target. e.g., A TreeViewer --> Tree. If you have the IJaveObjectInstance of the Tree, you can use
the InverseMaintenanceAdapter to get the Tree viewer that references it (The Tree object does not know anyting about the
TreeViewer).
This adapter is placed on every IJavaObject, and its purpose to to keep trace the references relationships.
|
|
|
|
Powered by
FUDForum. Page generated in 0.48984 seconds