Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to disable Ctrl+Z option(Trying to disable Ctrl+Z option)
How to disable Ctrl+Z option [message #1473726] Fri, 14 November 2014 21:56 Go to next message
Anil tanneru is currently offline Anil tanneruFriend
Messages: 21
Registered: March 2014
Junior Member
We are trying to disable Ctrl+Z option in Grpahiti. Is there any way to disable that option,even though user hit Ctrl+Z option it wont make any changes on Editor.
Re: How to disable Ctrl+Z option [message #1478425 is a reply to message #1473726] Tue, 18 November 2014 17:22 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1885
Registered: July 2009
Location: Walldorf, Germany
Senior Member

simply return fals in the method canUndo of your feature, that will disable the complete undo functionality for that feature.

Previous Topic:How to set the selection programmatically?
Next Topic:Features code no more executed after Diagram Reopened
Goto Forum:

Current Time: Sun Mar 25 03:47:37 GMT 2018

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

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