Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to disable Restore Default Value menu in Properties view?
How to disable Restore Default Value menu in Properties view? [message #230159] Sat, 03 February 2007 01:14 Go to next message
Suresh Mohan is currently offline Suresh MohanFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

I want to either disable or remove the menu called Restore Default Value
from the Properties view. (You can get to it via the context menu in the
Properties view).

Is that possible? If yes, can some body tell me the steps?

Thanks for the help,
Suresh
Re: How to disable Restore Default Value menu in Properties view? [message #230169 is a reply to message #230159] Sat, 03 February 2007 14:31 Go to previous message
Eclipse UserFriend
Originally posted by: krzysztofHMMMdaniel.gmail.com

Hi Suresh

As far as I know this is not possible without touching Eclipse sources.

You can write your PropertySheetEntry to ignore this action, however the
button will be still visible.

Restore Default is disabled only when selected item is not editable.


Please let me know if this helped you.

--
Chris
Previous Topic:Debug Graphics (Draw2d/SWT)
Next Topic:How to place property set operations in commands?
Goto Forum:
  


Current Time: Fri Apr 19 12:49:28 GMT 2024

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

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

Back to the top