[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] One filetype two editors two icons

Hi:

I created two Editor Plug-ins. Each can open files of type xyz.
The problem is: there are two versions of xyz files. I want the one editor to just open the old version files and the new editor of course the new ones. 

I already created a Netbeans plug-in with that functionality. In addition I could assign two icons to the same filetype (one for the old version, one for the new one) by checking the content of the files.

So, is there a way to not just assign an icon and a filetype to an editor but to assign a file (of a certain type) depending on its content to the right editor and give it the right icon?

For an answer thank you very much in advance.