| 
| How can I set one of the pages of multipage editor as GEF page? [message #57206] | Wed, 22 January 2003 14:26  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: aithu.hotmail.com 
 How can I set one of the pages of multipage editor as GEF page?
 
 void createPage4()
 {
 Canvas canvas = new Canvas(getContainer(), SWT.NONE | SWT.NO_BACKGROUND);
 FillLayout layout = new FillLayout();
 canvas.setLayout(layout);
 
 
 LightweightSystem lws = new LightweightSystem(canvas);
 IFigure figure = new Figure();
 lws.setContents(figure);
 
 //Here, I want to add the GEF page
 
 }
 
 thanks
 aithu
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: How can I set one of the pages of multipage editor as GEF page? [message #58316 is a reply to message #57334] | Mon, 27 January 2003 11:09  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: hudsonr.us.i_b_m.com 
 Are you doing this from within the Logic Plugin?
 
 If you have your own plugin that is trying to reuse the Logic Plugin, then I
 would gues that the problem is that the Logic Example does NOT export its
 classes, so new LogicEditor() will cause a ClassNotFoundException.
 
 Look at the .log file in the META area in the runtime workspace.
 
 "Aithu" <aithu@hotmail.com> wrote in message
 news:b0n0q6$c4$1@rogue.oti.com...
 > Hi Eric,
 >
 > Thanks for your quick reply.
 >
 > I tried the following code:
 > int index = addPage(new LogicEditor(),getEditorInput());
 >
 > But, I get the error: "Unhandled exception type
 > org.eclipse.ui.PartInitException"
 >
 > What is the problem.
 >
 > thanks,
 > aithu
 >
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05177 seconds