Plugins (1083)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 540
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Parvathi
Post subject: Eclipse Tabbed Properties view  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits