Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to Undo changeTextPresentation in TextViewer
How to Undo changeTextPresentation in TextViewer [message #484248] Fri, 04 September 2009 14:51 Go to next message
kent gibson is currently offline kent gibson
Messages: 114
Registered: July 2009
Senior Member
How would you go about undoing the change of a text presentation on a
TextViewer via the change text presentation command?

any tips would be grand.

thanks
Re: How to Undo changeTextPresentation in TextViewer [message #484253 is a reply to message #484248] Fri, 04 September 2009 15:42 Go to previous message
kent gibson is currently offline kent gibson
Messages: 114
Registered: July 2009
Senior Member
yipee figured it out.
OperationHistoryFactory.getOperationHistory().add( new
IUndoableOperation() {});

piece of cake.
Previous Topic:Reset row height on table resize
Next Topic:ContentProposalAdapter
Goto Forum:
  


Current Time: Fri Aug 01 18:33:56 EDT 2014

Powered by FUDForum. Page generated in 0.02809 seconds