Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » org.eclipse.ui.PartInitException(org.eclipse.ui.PartInitException)
org.eclipse.ui.PartInitException [message #974746] Wed, 07 November 2012 09:41 Go to next message
RP Mar is currently offline RP MarFriend
Messages: 68
Registered: August 2012
Member
Dear Tom,
While creating the Views I got following exception so please kindly help me reg this.
org.eclipse.ui.PartInitException: Could not create view: ESC_Configurator_Tool.view
Re: org.eclipse.ui.PartInitException [message #986331 is a reply to message #974746] Tue, 20 November 2012 03:31 Go to previous messageGo to next message
RP Mar is currently offline RP MarFriend
Messages: 68
Registered: August 2012
Member
Dear Tom,

Please kindly help me reg my below error and views are not automatically loaded while start the application please.
org.eclipse.ui.PartInitException: Could not create view: ESC_Configurator_Tool.view
Re: org.eclipse.ui.PartInitException [message #986512 is a reply to message #974746] Tue, 20 November 2012 17:20 Go to previous message
RP Mar is currently offline RP MarFriend
Messages: 68
Registered: August 2012
Member
Dear Tom,

Please kindly help me reg my error please...

In the below code catch block getting the Exception. Please kindly help me.
org.eclipse.ui.PartInitException: Could not create view: ESC_Configurator_Tool.view



private void makeAction() {
viewer.setContentProvider(new FileNameContentProvider());
viewer.setLabelProvider(new FileNameLabelProvider());
FileNameMockModel fileNames = ObjectFactory.commonObject.getFileNameObject();
viewer.setInput(fileNames);
getSite().setSelectionProvider(viewer);
IWorkbenchPage page = Workbench.getInstance().getActiveWorkbenchWindow().getActivePage();
try {
page.showView(View.ID);
} catch (PartInitException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
Previous Topic:Injection Scope
Next Topic:How to implement empty grey part-area in e4?
Goto Forum:
  


Current Time: Wed Sep 25 09:09:42 GMT 2024

Powered by FUDForum. Page generated in 0.04106 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top