Doubt for multipage Graphical editor [message #239390] |
Thu, 25 October 2007 12:19 |
Eclipse User |
|
|
|
Originally posted by: rajeev.ssingh.patni.com
Hi,
I've a mulitpage graphical editor for creating state diagram. Now I've to
add one more page containing an eclipse forms. Can anyone suggest what
changes I'll have to make to add a page to editor containing forms?
Thanks,
Rajeev.
|
|
|
|
Re: Doubt for multipage Graphical editor [message #239460 is a reply to message #239405] |
Tue, 30 October 2007 07:14 |
Eclipse User |
|
|
|
Originally posted by: rajeev.ssingh.patni.com
Hi Anthony,
Thanks for your reply. My multipage editor contains three pages containing
graphical viewer a page containing form page. My editor class extends
FormEditor and Graphical pages are extending EditorPart class and Form
page class is extending FormPage class.
Now, everything works fine when I'm selecting any page containing
Graphical viewer. But when I select page containing form then although
contents of the page are drawn, but stack overflow exception is thrown.
I'm pasting the exception message below.
java.lang.StackOverflowError
at org.eclipse.swt.widgets.Widget.getData(Widget.java:485)
at
org.eclipse.ui.part.MultiPageEditorPart.getEditor(MultiPageE ditorPart.java:429)
at
org.eclipse.ui.part.MultiPageEditorPart.getActiveEditor(Mult iPageEditorPart.java:356)
at
org.eclipse.ui.forms.editor.FormEditor.getActiveEditor(FormE ditor.java:447)
at
org.eclipse.ui.forms.editor.FormEditor$FormEditorSelectionPr ovider.getSelection(FormEditor.java:92)
at
org.eclipse.ui.forms.editor.FormEditor$FormEditorSelectionPr ovider.getSelection(FormEditor.java:97)
Can you please tell me if I'm missing something or give any pointer to the
probable cause of this error.
Regards,
Rajeev.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03273 seconds