An error has occurred when creating this view [message #78315] |
Sat, 19 July 2003 12:30 |
Eclipse User |
|
|
|
Originally posted by: esalbuquerque.superig.com.br
Hello !
I still have problems......
I created a plugin:
----------------------------------------------
package org.eclipse.ptestejdt07;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.jdt.core.*;
import org.eclipse.jdt.core.dom.*;
import java.util.*;
import org.eclipse.ui.*;
import org.eclipse.core.resources.*;
public class PTestejdt07View extends ViewPart {
Label label;
public PTestejdt07View() {
}
public void createPartControl(Composite parent) {
AST ast = new AST(new TreeMap());
IWorkspace workspace = ResourcesPlugin.getWorkspace();
label = new Label(parent, SWT.WRAP);
label.setText("\n After IWorkspace...");
}
public void setFocus() {
//
}
}
----------------------------------------------
Error:
An error has occurred when creating this view
----------------------------------------------
What is happening ??
I would like to receive an example that works...
Thanks,
Eduardo Soares Albuquerque
|
|
|
|
Powered by
FUDForum. Page generated in 0.02717 seconds