开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜