in your gmfgen-model, you will find an entry "Gen Navigator".
Delete this entry and regenerate (in a clean workspace) your code.
This should eleminate the code and according plugin-entries.
If you don't want to regenerate, simply delete (or comment) the following entries in your generated plugin.xml of your diagram-plugin:
If you do not delete the entries and comment them, you might want change the generated-flag to false, since it won't get overridden in case of a code-regen.
Something like this:
I tried all of your tips, but no one works. I must missed something. I tried removed
from extensions nothing.
I comment and then delete the extension points from plugin.xml and nothing.
This should really disable drag and drop function in project explorer window of running application? But thx for previous advice.
weired, because if you disable the navigator-content, the projectexplorer shouldn't display any children of your diagram and model files at all. So, I don't really know how you could drag/drop.
Please make sure to test your plugins in a clean runtime-application. Maybe there are still some "old" deployed plugins, that get activated.
Another thing that came to my mind:
if you just want to disable the drag and drop (generated for shortcuts by gmf as default), you could also remove the following entries in your gmfgen for the Gen Diagram XXXEditPart:
-> Contains Shortcuts To
-> Contains Shortcuts Provided For
and regenerate the code.
This should preserve the display of the content, but disable default drag and drop as shortcuts.
So you could leave the generated navigator stuff in place in this case.