Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » where to add model listeners to refresh property view(Property view automatic refresh)
where to add model listeners to refresh property view [message #550447] Fri, 30 July 2010 08:09 Go to next message
No real name is currently offline No real name
Messages: 9
Registered: July 2010
Junior Member
Hi

I want to refresh the Property view of an element in case the element is modified directly(not using the property view). Do we require a listener. where do we add the listener ..
Re: where to add model listeners to refresh property view [message #550725 is a reply to message #550447] Wed, 04 August 2010 04:28 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1577
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Sorry for the late reply, the forum server was down...

You need to do this on each refresh of the seletion, because the displayed
object may change. Don't forget to de-register your listener for the old
object!

-Michael

<atinruia@gmail.com> wrote in message news:i2ufe7$uiu$1@build.eclipse.org...
> Hi
>
> I want to refresh the Property view of an element in case the element is
> modified directly(not using the property view). Do we require a listener.
> where do we add the listener ..
Re: where to add model listeners to refresh property view [message #562104 is a reply to message #550447] Wed, 04 August 2010 04:28 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1577
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Sorry for the late reply, the forum server was down...

You need to do this on each refresh of the seletion, because the displayed
object may change. Don't forget to de-register your listener for the old
object!

-Michael

<atinruia@gmail.com> wrote in message news:i2ufe7$uiu$1@build.eclipse.org...
> Hi
>
> I want to refresh the Property view of an element in case the element is
> modified directly(not using the property view). Do we require a listener.
> where do we add the listener ..
Previous Topic:Re: Problem in Loading a saved file
Next Topic:How to link to non modelelements
Goto Forum:
  


Current Time: Sat Aug 02 02:56:27 EDT 2014

Powered by FUDForum. Page generated in 0.03606 seconds