|OpenExternalFileAction doesn't handle new files so I want to override [message #541235]
||Fri, 18 June 2010 20:07
| Jeff Johnston
Registered: July 2009
The Open file... action that I got for free in my RCP editor (i.e. I didn't specify an open action and one just showed up) doesn't handle creating new files. It gives an error instead.|
IMO, this is lacking and such functionality should be basic or at the very least optional behaviour (i.e. think of how many times you have created files via an editor).
According to some forum posts, the action code being added is: org.eclipse.ui.internal.editors.text.OpenExternalFileAction. java which I found the source for on the web. From that source, I don't see a way of altering the behaviour via an option so I will have to create my own OpenFile action.
How do I properly override so the OpenExternalFileAction doesn't also show up?
[Updated on: Fri, 18 June 2010 22:37]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04026 seconds