Override Xtext editor's doSetInput() method [message #725362] |
Wed, 14 September 2011 11:26  |
Eclipse User |
|
|
|
Hi,
We previously wrote an Eclipse editor by hand for our DSL. We overrode the doSetInput() method on that editor so that we could check to see if a user tried to open a file that was outside the Eclipse workspace. If it was a file outside the workspace, we would launch a wizard allowing the user to import their work.
Since we are replacing the old, hand-written Eclipse editor with the new, Xtext-generated editor, we would like to retain the same ability to intercept the user's attempt to open a file. Can it be done the same way (by overriding the doSetInput() method)? If so, is there documentation on how to override or extend the Xtext-generated editor?
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03838 seconds