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:Is CreationToolEntry label no longer centered in GEF 3.2?
Next Topic:1 diagram only
Goto Forum:
  


Current Time: Thu Oct 28 02:51:18 GMT 2021

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

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

Back to the top