[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Changing the editor Icon

Martin Tauber wrote:
I would like to change the editor Icon to indicate if the content cotains error or not. Where do I place the setTitleImage() method? I am using a TextEditor and I have Markers attached to the IFile. Now in the constructor method IFile is not yet set and in the CreateControlPart method only gets activated, when the Editor is selected ....
Take a look at org.eclipse.jdt.internal.ui.javaeditor.JavaEditorErrorTickUpdater

Dani

Thanks Martin