...
How can I programmatically update the "dirty"-ness of my WorkbenchPart?
Answered by Chris LarrieuSergei Chevtsov, 07-11-2007
0. Make sure that your WorkbenchPart implements ISaveablePart.
1. Call WorkbenchPart#firePropertyChangeWorkbenchPart.firePropertyChange(ISaveablePart.PROP_DIRTY).
...