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 12:09 Go to next message
No real name is currently offline No real nameFriend
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 08:28 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1635
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 08:28 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1635
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: Mon Nov 24 04:21:44 GMT 2014

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

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