Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Local history for custom ediotr
Local history for custom ediotr [message #665288] Thu, 14 April 2011 07:12 Go to next message
Volodymyr Gryshko is currently offline Volodymyr GryshkoFriend
Messages: 28
Registered: July 2009
Junior Member
Hello,

I have created form editor in eclipse.
it extends org.eclipse.ui.part.EditorPart class.

When I edit file with my editor, I don't see changes in local hisotry, if I open file with eclipse's text editor, change something and save - I can see changes.

So, my editor missing something which marks changes for local history it seems.
Any advice where to start digging?
Re: Local history for custom ediotr [message #665362 is a reply to message #665288] Thu, 14 April 2011 12:36 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Are you calling org.eclipse.core.resources.IFile.setContents(IFileState,
boolean, boolean, IProgressMonitor)

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Create remote project
Next Topic:Using commands in a view toolbar
Goto Forum:
  


Current Time: Thu Mar 28 09:23:42 GMT 2024

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

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

Back to the top