Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Refresh View Programmatically
icon10.gif  Refresh View Programmatically [message #1405174] Wed, 06 August 2014 19:10 Go to next message
Dat Nguyen is currently offline Dat NguyenFriend
Messages: 34
Registered: July 2014
Member
Hi, I 've created a view to display result of validation like ProblemView. My problem is: it displays an error 2 times when i validated 2 times, how to refresh View programmatically to avoid it?

Thanks advance!
Re: Refresh View Programmatically [message #1405332 is a reply to message #1405174] Thu, 07 August 2014 05:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dat,

Comments below.

On 06/08/2014 9:10 PM, Dat Nguyen wrote:
> Hi, I 've created a view to display result of validation like
> ProblemView. My problem is: it displays an error 2 times when i
> validated 2 times, how to refresh View programmatically to avoid it?
Viewer.refresh. But the fact it's showing twice suggests you've also
done something to update the view (showing the errors a second time) but
not enough (didn't remove the first ones)...
>
> Thanks advance!


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Refresh View Programmatically [message #1405382 is a reply to message #1405332] Thu, 07 August 2014 08:14 Go to previous messageGo to next message
Dat Nguyen is currently offline Dat NguyenFriend
Messages: 34
Registered: July 2014
Member
and how to get Viewer? I found only how to get View but not Viewer.
Re: Refresh View Programmatically [message #1405532 is a reply to message #1405382] Thu, 07 August 2014 15:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dat,

This doesn't sound like an EMF question and I know nothing about your
ProblemView implementation so I'm not in a position to tell you where to
find anything.

On 07/08/2014 10:14 AM, Dat Nguyen wrote:
> and how to get Viewer? I found only how to get View but not Viewer.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Filtering Attributes
Next Topic:Timeout exception while debugging CDO
Goto Forum:
  


Current Time: Thu Apr 18 16:03:14 GMT 2024

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

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

Back to the top