Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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).

...