Skip to main content



      Home
Home » Archived » Sapphire » Any way to avoid wiping data in PropertyEditor with "Restore Defaults"?(For field with no DefaultValue)
Any way to avoid wiping data in PropertyEditor with "Restore Defaults"? [message #1691354] Mon, 06 April 2015 09:34 Go to next message
Eclipse UserFriend
Let's say e.g. I have a String property Id for some entity, like a Bug or a Plugin, with no DefaultValue specified for it, and, surely, I have a PropertyEditor for it inside of some section.
When I press "Restore Defaults" tool button in the topright of corresponding section header, Id value would just become empty.

Is there a way to avoid wiping it out with "Restore Defaults"? Deleting text is not too useful in such a situation IMHO.
Re: Any way to avoid wiping data in PropertyEditor with "Restore Defaults"? [message #1691366 is a reply to message #1691354] Mon, 06 April 2015 12:19 Go to previous message
Eclipse UserFriend
You'd have to add an action filter to suppress the system-provided action handler and register your own implementation with the desired semantics.
Previous Topic:Connection is not shown in diagram with abstract types
Next Topic:Loss of data when changing detail part too quickly
Goto Forum:
  


Current Time: Mon May 05 04:44:36 EDT 2025

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

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

Back to the top