How to interact with CNF (Common Navigator Framework) and Editor [message #671212] |
Tue, 17 May 2011 03:02  |
Eclipse User |
|
|
|
Hello everyone,
I am developing a GEF based editor and have got the CNF and GEF editor working. I have created the CNF editor from by Michael Elder's tutorial.
First question : When I click on a file lets say test.qml, I want to read the XML file test.qml and load the model into the editor. How do I link it? I have specified a format for editor and I am able to create file and open a GEF editor when clicked on a file. I have attached the screenshot of my application, please have a look.
Second question: How do I handle the save event. I have create a menu save and assigned the command id as "org.eclipse.ui.file.save". Now how to handle the save event for this command id.
Regards,
Chaitannya
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05335 seconds