CaiNiaoCoder
CaiNiaoCoder

Reputation: 3319

how to use existing text editor for my RCP application?

for the example at voegella.de, I just want to use the built-in text editor to edit Person's name. I just want to learn how to use the text editor in this plugin: org.eclipse.ui.workbench.texteditor

Upvotes: 2

Views: 3742

Answers (1)

Paul Webster
Paul Webster

Reputation: 10654

You can use the default text editor org.eclipse.ui.editors.text.TextEditor in your own RCP apps by including the org.eclipse.ui.editors plugin (and all of its dependencies). You can also subclass org.eclipse.ui.texteditor.AbstractTextEditor from the plugin that you mentioned. Information on working with the platform text editors is available at http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/editors_jface.htm

You should also check out http://www.eclipse.org/articles/ and information in the section http://wiki.eclipse.org/The_Official_Eclipse_FAQs#Implementing_Support_for_Your_Own_Language

Upvotes: 1

Related Questions