Skip to main content



      Home
Home » Archived » Visual Editor (VE) » What is InverseMaintenanceAdapter for?
What is InverseMaintenanceAdapter for? [message #108624] Mon, 03 October 2005 04:46 Go to next message
Eclipse UserFriend
Hi all,

it's not clear for me what is InverseMaintenanceAdapter for?



Can somebody explain it to me?

Regards,

John Cage
Re: What is InverseMaintenanceAdapter for? [message #108655 is a reply to message #108624] Mon, 03 October 2005 09:47 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: What is InverseMaintenanceAdapter for? [message #108787 is a reply to message #108655] Tue, 04 October 2005 04:17 Go to previous message
Eclipse UserFriend
Thank you Gili for clarification :)

Best Regards,
John Cage
Re: What is InverseMaintenanceAdapter for? [message #610906 is a reply to message #108624] Mon, 03 October 2005 09:47 Go to previous message
Eclipse UserFriend
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.
Re: What is InverseMaintenanceAdapter for? [message #610916 is a reply to message #108655] Tue, 04 October 2005 04:17 Go to previous message
Eclipse UserFriend
Thank you Gili for clarification :)

Best Regards,
John Cage
Previous Topic:How to add context menu item to visual component?
Next Topic:How to add context menu item to visual component?
Goto Forum:
  


Current Time: Thu Jul 17 22:05:34 EDT 2025

Powered by FUDForum. Page generated in 0.48984 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top