Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Make Eclipse Editor Dirty
Make Eclipse Editor Dirty [message #1296924] Tue, 15 April 2014 09:49
Kunal Khaware is currently offline Kunal KhawareFriend
Messages: 41
Registered: December 2013
Location: Hyderabad,India
Member

Hi, I am loading my file content and opening on right-click to invoke a Handler to load the content of file on editor using below code :
IWorkbenchPage page=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();

IFile f=ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(new Path(path+"/"+fileName)) ;

IDE.openEditor(page, f, true);

How to make the editor thats is opened as Dirt Page.


Please advise


Thanks
Kunal
Previous Topic:Modernising actionSetPartAssociation
Next Topic:Eclipse will not start after installation of Java 1.7.55
Goto Forum:
  


Current Time: Fri Mar 29 01:49:41 GMT 2024

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

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

Back to the top