Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » error in editor sample
error in editor sample [message #465184] Sun, 25 March 2007 15:19
Eclipse UserFriend
Originally posted by: hansm.science.uva.nlDELETE

Miraculously I get two errors from the multi-page editor example (class
extending MultiPageEditorPart) loaded by the Eclipse IDE through the extensions
pane wizard:

for addPage: arguments not applicable
for setPageText: getTitle undefined

What is happening here? Is the example broken or is something else amiss. I am
using the 3.3M5eh IDE for development en the 3.2.2 jars as RCP target.
Besides also the indirectly referenced type
org.eclipse.ui.texteditor.StatusTextEditor cannot be found.

/**
* Creates page 0 of the multi-page editor, which contains a text editor.
*/
void createPage0 () {
try {
editor = new TextEditor();
final int index = addPage(editor, getEditorInput());
setPageText(index, editor.getTitle());
}
...

Thanks in advance for help
Hans van der Meer
Previous Topic:view background color
Next Topic:Maximize an editorpart
Goto Forum:
  


Current Time: Thu Sep 12 00:29:27 GMT 2024

Powered by FUDForum. Page generated in 0.04159 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top