Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Model Refresh(Global Action)
Model Refresh [message #753724] Fri, 28 October 2011 13:54 Go to next message
Kamesh Sampath is currently offline Kamesh SampathFriend
Messages: 213
Registered: July 2009
Senior Member
Does Sapphire now have a Global Model refresh action like we have Sapphire.Add, right now i have implemented one such specific to my model, i want to make that global and come as part of the framework.

I found it very useful when refreshing the model when there are workspace changes, instead of attaching a IResourceListners ( need to be more careful and costly at times Sad ), we could provide this to context-menu or a action button at Outline node .

Also am trying to figure out how can we make this generic, which makes it applicable for any model element.

Let me know I can open a enhancement and we can discuss further there

-Kamesh

[Updated on: Fri, 28 October 2011 15:04]

Report message to a moderator

Re: Model Refresh [message #753751 is a reply to message #753724] Fri, 28 October 2011 15:06 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Sapphire is built around the premise of not needing refresh. Using listeners to trigger refresh automatically is a bit more work, but it results in better user experience. There is nothing preventing adopters from contributing their own refresh actions, but I would not be in favor of adding such actions to the framework.

- Konstantin
Re: Model Refresh [message #753758 is a reply to message #753751] Fri, 28 October 2011 15:43 Go to previous messageGo to next message
Kamesh Sampath is currently offline Kamesh SampathFriend
Messages: 213
Registered: July 2009
Senior Member
Thats fine! It was just a question.
Re: Model Refresh [message #753769 is a reply to message #753758] Fri, 28 October 2011 16:36 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Not problem. It was just an answer. Smile
Previous Topic:column header re-name
Next Topic:Dynamic Validation
Goto Forum:
  


Current Time: Tue Apr 23 10:37:20 GMT 2024

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

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

Back to the top