unable to create editor ID when doing diagram partitioning [message #153925] |
Sat, 06 October 2007 19:24  |
Eclipse User |
|
|
|
Originally posted by: zhihui_yang73.yahoo.com
Hi all,
I am currently trying Diagram Partitioning with Eclipse 3.3 and GMF 2.0.
All I want to do is to open a sub-editor when I double click a node in the
main editor. Under the Open Diagram Behaviou node of my
mainEditor.gmfgen model, I set the Diagram Kind as my sub-Editors model
ID, and Editor ID as my sub-Editors Editor ID found in the
subeditor.gmfgen model. (Here is the link for the GMF Diagram Partitioning
I followed for this experiment
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg06184.html.)
However, when I run it and double click the node, an empty editor was
opened, and I got exception as following:
!MESSAGE Unable to create editor ID
com.mot.cxd.ui.flow.screen.diagram.part.FlowDiagramEditorID:
org.eclipse.core.runtime.CoreException: ERROR
!STACK 1
org.eclipse.core.runtime.CoreException: ERROR
at
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.createPartControl(DiagramDocumentEditor. java:1458)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:609)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:379)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:219)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2571)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2504)
at
org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2496)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2481)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2476)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2453)
at
com.mot.cxd.ui.flow.diagram.edit.policies.OpenDiagramEditPol icy$OpenDiagramCommand.doExecuteWithResult(OpenDiagramEditPo licy.java:103)
at
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:246)
at
org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:135)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:509)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:205)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:168)
..
Can anybody tell me what are the possible problems here?
Thanks a lot!
Yang
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08558 seconds