error in editor sample [message #465184] |
Sun, 25 March 2007 15:19 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04159 seconds