开发者

How can I add an editor without IEditorInput into a RCP application?

开发者 https://www.devze.com 2022-12-17 04:11 出处:网络
I\'d like to add an editor to an RCP application. I need to leverage the advanced features of editor, such as keywords highlighting.

I'd like to add an editor to an RCP application. I need to leverage the advanced features of editor, such as keywords highlighting. But it seems that editor have to be associated with an 开发者_如何学编程IEditorInput, but I just do not need to persistence the text, store it in memory is OK for me. Is there any way to do that ? Thanks

-- Best Regards

Jeff Zhang


Check this: http://blog.eclipse-tips.com/2008/06/opening-editor-without-ifile.html


Why can't you create an implementation of IEditorInput that doesn't persist the text?

0

精彩评论

暂无评论...
验证码 换一张
取 消