| Author |
Message |
|
|
Post subject: Eclipse Tabbed Properties view
Posted: May 26, 2008 - 05:20 AM
|
|
Joined: May 26, 2008
Posts: 3
|
|
Hi Anthony
We are extending StructuredTextEditor and Implementing ITabbedPropertySheetPageContributor.
For getting properties in advance tab, we override this as follows:
public void createPartControl(Composite parent) {
viewer = new ListViewer(parent);
viewer.setContentProvider(new ArrayContentProvider());
viewer.setLabelProvider(new WorkbenchLabelProvider());
viewer.setInput(parent);
getSite().setSelectionProvider(viewer);
viewer.addSelectionChangedListener(scl);
}
But now we are getting this:
!ENTRY org.eclipse.ui.workbench 4 2 2008-05-26 14:18:19.239
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.registerActionForKeyActivation(AbstractTextEditor.java:716)
at org.eclipse.ui.texteditor.AbstractTextEditor.setAction(AbstractTextEditor.java:3970)
at org.eclipse.ui.texteditor.AbstractTextEditor.getAction(AbstractTextEditor.java:4028)
at org.eclipse.ui.texteditor.BasicTextEditorActionContributor.getAction(BasicTextEditorActionContributor.java:185)
at org.eclipse.wst.sse.ui.internal.actions.ActionContributor.setActiveEditor(ActionContributor.java:318)
at org.eclipse.wst.xml.ui.internal.actions.ActionContributorXML.setActiveEditor(ActionContributorXML.java:155)
Please suggest us. |
|
|
| |
|
|
|
 |
|
|
| |