|
Re: Adding Structured editor thow exception in generated editor code. [message #416148 is a reply to message #416142] |
Fri, 18 January 2008 18:24 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Suresh,
I don't really know anything about how structured text editor is
supposed to work. The XSDEditor is the only example I've worked on that
include a text editor, so maybe that example will help...
Suresh Subramanian wrote:
> In the generated Editor after the table tree viewer i want added a
> StrcuteredTextEditor / TextEditor. Following is the snippet
>
> // This is the page for the table tree viewer.
>
> //
>
> {
>
> ViewerPane viewerPane =
>
> new ViewerPane(getSite().getPage(), Ei2dEditor.this) {
>
> @Override
>
> public Viewer createViewer(Composite composite) {
>
> return new TreeViewer(composite);
>
> }
>
> @Override
>
> public void requestActivation() {
>
> super.requestActivation();
>
> setCurrentViewerPane(this);
>
> }
>
> };
>
> viewerPane.createControl(getContainer());
>
>
> treeViewerWithColumns = (TreeViewer)viewerPane.getViewer();
>
>
> Tree tree = treeViewerWithColumns.getTree();
>
> tree.setLayoutData(new FillLayout());
>
> tree.setHeaderVisible(true);
>
> tree.setLinesVisible(true);
>
>
> TreeColumn objectColumn = new TreeColumn(tree, SWT.NONE);
>
> objectColumn.setText(getString("_UI_ObjectColumn_label"));
>
> objectColumn.setResizable(true);
>
> objectColumn.setWidth(250);
>
>
> TreeColumn selfColumn = new TreeColumn(tree, SWT.NONE);
>
> selfColumn.setText(getString("_UI_SelfColumn_label"));
>
> selfColumn.setResizable(true);
>
> selfColumn.setWidth(200);
>
>
> treeViewerWithColumns.setColumnProperties(new String [] {"a", "b"});
>
> treeViewerWithColumns.setContentProvider(new
> AdapterFactoryContentProvider(adapterFactory));
>
> treeViewerWithColumns.setLabelProvider(new
> AdapterFactoryLabelProvider(adapterFactory));
>
>
> createContextMenuFor(treeViewerWithColumns);
>
> int pageIndex = addPage(viewerPane.getControl());
>
> setPageText(pageIndex, getString("_UI_TreeWithColumnsPage_label"));
>
> }
>
> /********************** This is the code i added in the generated editor
> ****************************/
>
>
> try {
>
> StrunturedTextEditor editorsource = new StructuredTextEditor();
>
> int textpageIndex = addPage(editorsource, getEditorInput());
>
> setPageText(textpageIndex, editorsource.getTitle());
>
> } catch (Exception ex) {
>
> ex.printStackTrace();
>
> }
>
> ***************************
>
> I added the dependancies as stated in the multipage example . when i run the
> generated editor it throw following exception.
>
>
>
> org.eclipse.ui.PartInitException: Text editor does not have a document
> provider
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3026)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:186)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:160)
>
> at
> com.cisco.gmi.ei2d.presentation.Ei2dEditor.createPages(Ei2dE ditor.java:1095)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:283)
>
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:661)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
>
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1405)
>
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:939)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:152)
>
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:118)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1337)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2319)
>
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>
> at
> com.cisco.gmi.ei2d.presentation.EI2DEditorAdvisor$Applicatio n.start(EI2DEditorAdvisor.java:97)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
> at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
>
> org.eclipse.ui.PartInitException[0]: org.eclipse.core.runtime.CoreException:
> Text editor does not have a document provider
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(Abst ractTextEditor.java:3928)
>
> at
> org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(Status TextEditor.java:190)
>
> at
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetI nput(AbstractDecoratedTextEditor.java:1225)
>
> at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor .java:168)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:2994)
>
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
>
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
>
> at
> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
>
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
>
> at
> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
>
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2451)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3012)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:186)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:160)
>
> at
> com.cisco.gmi.ei2d.presentation.Ei2dEditor.createPages(Ei2dE ditor.java:1095)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:283)
>
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:661)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
>
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1405)
>
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:939)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:152)
>
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:118)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1337)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2319)
>
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>
> at
> com.cisco.gmi.ei2d.presentation.EI2DEditorAdvisor$Applicatio n.start(EI2DEditorAdvisor.java:97)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
> at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
>
> Can any one tell me what am i doing wrong.
>
>
>
> Thanks,
>
> Suresh Subramanian
>
>
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Adding Structured editor thow exception in generated editor code. [message #416150 is a reply to message #416142] |
Fri, 18 January 2008 18:41 |
Suresh Subramanian Messages: 61 Registered: July 2009 |
Member |
|
|
Thanks for you response Ed. It was not working in the generated editor but
my application editor it is working because i customosied the EditorInput.
Thats not an issue. i have another issue i will post it as a separate
question.
Thanks,
Suresh Subramanian
"Suresh Subramanian" <sursubra@cisco.com> wrote in message
news:fmqkj4$q6l$1@build.eclipse.org...
> In the generated Editor after the table tree viewer i want added a
> StrcuteredTextEditor / TextEditor. Following is the snippet
>
> // This is the page for the table tree viewer.
>
> //
>
> {
>
> ViewerPane viewerPane =
>
> new ViewerPane(getSite().getPage(), Ei2dEditor.this) {
>
> @Override
>
> public Viewer createViewer(Composite composite) {
>
> return new TreeViewer(composite);
>
> }
>
> @Override
>
> public void requestActivation() {
>
> super.requestActivation();
>
> setCurrentViewerPane(this);
>
> }
>
> };
>
> viewerPane.createControl(getContainer());
>
>
> treeViewerWithColumns = (TreeViewer)viewerPane.getViewer();
>
>
> Tree tree = treeViewerWithColumns.getTree();
>
> tree.setLayoutData(new FillLayout());
>
> tree.setHeaderVisible(true);
>
> tree.setLinesVisible(true);
>
>
> TreeColumn objectColumn = new TreeColumn(tree, SWT.NONE);
>
> objectColumn.setText(getString("_UI_ObjectColumn_label"));
>
> objectColumn.setResizable(true);
>
> objectColumn.setWidth(250);
>
>
> TreeColumn selfColumn = new TreeColumn(tree, SWT.NONE);
>
> selfColumn.setText(getString("_UI_SelfColumn_label"));
>
> selfColumn.setResizable(true);
>
> selfColumn.setWidth(200);
>
>
> treeViewerWithColumns.setColumnProperties(new String [] {"a", "b"});
>
> treeViewerWithColumns.setContentProvider(new
> AdapterFactoryContentProvider(adapterFactory));
>
> treeViewerWithColumns.setLabelProvider(new
> AdapterFactoryLabelProvider(adapterFactory));
>
>
> createContextMenuFor(treeViewerWithColumns);
>
> int pageIndex = addPage(viewerPane.getControl());
>
> setPageText(pageIndex, getString("_UI_TreeWithColumnsPage_label"));
>
> }
>
> /********************** This is the code i added in the generated editor
> ****************************/
>
>
> try {
>
> StrunturedTextEditor editorsource = new StructuredTextEditor();
>
> int textpageIndex = addPage(editorsource, getEditorInput());
>
> setPageText(textpageIndex, editorsource.getTitle());
>
> } catch (Exception ex) {
>
> ex.printStackTrace();
>
> }
>
> ***************************
>
> I added the dependancies as stated in the multipage example . when i run
> the generated editor it throw following exception.
>
>
>
> org.eclipse.ui.PartInitException: Text editor does not have a document
> provider
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3026)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:186)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:160)
>
> at
> com.cisco.gmi.ei2d.presentation.Ei2dEditor.createPages(Ei2dE ditor.java:1095)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:283)
>
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:661)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
>
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1405)
>
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:939)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:152)
>
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:118)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1337)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2319)
>
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>
> at
> com.cisco.gmi.ei2d.presentation.EI2DEditorAdvisor$Applicatio n.start(EI2DEditorAdvisor.java:97)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
> at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
>
> org.eclipse.ui.PartInitException[0]:
> org.eclipse.core.runtime.CoreException: Text editor does not have a
> document provider
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(Abst ractTextEditor.java:3928)
>
> at
> org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(Status TextEditor.java:190)
>
> at
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetI nput(AbstractDecoratedTextEditor.java:1225)
>
> at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor .java:168)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:2994)
>
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
>
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
>
> at
> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
>
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
>
> at
> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
>
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2451)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3012)
>
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:186)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:160)
>
> at
> com.cisco.gmi.ei2d.presentation.Ei2dEditor.createPages(Ei2dE ditor.java:1095)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:283)
>
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:661)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
>
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1405)
>
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:939)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:152)
>
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:118)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1337)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2319)
>
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>
> at
> com.cisco.gmi.ei2d.presentation.EI2DEditorAdvisor$Applicatio n.start(EI2DEditorAdvisor.java:97)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
> at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
>
> Can any one tell me what am i doing wrong.
>
>
>
> Thanks,
>
> Suresh Subramanian
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02703 seconds