ActiveX Controls in Editors [message #273773] |
Mon, 11 October 2004 13:41 |
Eclipse User |
|
|
|
I have a source editor that inherits from AbstractDecoratedTextEditor. In
the createPartControl, we create an instance of an ActiveX Control to act as
the source editor. We did not write the ActiveX Control, it was purchased
to be imbedded into our source editor.
In Eclipse 2.0, everything worked as expected. However, when we ported it
to Eclipse 3.0, it did not. Now, in Eclise 2.0, our source editor inherited
from AbstractTextEditor. However, when porting to 3.0, I found that we
would have had to do some work with document providers for this to work.
So, instead, I changed the editor to inherit from
AbstractDecoratedTextEditor. That is the only change that I made when
porting.
However, when changes are made to the source, a star appears in the tab to
indicate that there are changes. The File -> Save action from the tool bar
works. However, if I use CTRL+S, nothing happens.
I posted this problem in a previous post, and a responder told me to ensure
that AbstractTextEditor.createActions() gets called. I added a breakpoint
in that function and ran in debug mode, but that function is never called.
How is that function called? Does the framework do it automatically, or am
I supposed to make that call somewhere in my editor?
Thanks,
Shawn
|
|
|
Powered by
FUDForum. Page generated in 0.04604 seconds