Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » force 'dirty' state?
force 'dirty' state? [message #592217] Sat, 29 March 2003 02:06
Ron is currently offline RonFriend
Messages: 19
Registered: July 2009
Junior Member
Hi,

Is there a way to manually force a 'dirty' state in a given editor / command stack
instance, i.e., so that the file can be Saved by the user? When I create a bookmark for a
graphical application (the marker is associated with a GEF AbstractEditPart), I need to
maintain the marker ID in the model. However, creating the marker does not cause the
resource to show 'modified' (i.e., w/asterisk). I've tried doing
EditorPart.firePropertyChange( IEditorPart.PROP_DIRTY ) in the editor as well as
firePropertyChange() in the EditPart's model instance. Neither works. Any thoughts
appreciated.

thanks,

Ron
Previous Topic:Which is better plug-in development style as runtime classes specify
Next Topic:How to integrate JAVA API DOC in Eclipse Help?
Goto Forum:
  


Current Time: Sat Apr 27 01:05:15 GMT 2024

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

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

Back to the top