|
Re: open subeditor fails ... no providers found ... any gmfgen properties missing? [message #553369 is a reply to message #553125] |
Tue, 17 August 2010 09:44 |
Ralf Buschermoehle Messages: 81 Registered: July 2009 |
Member |
|
|
Ok. Problem solved. I picked the wrong node in the gmf mapping.
Greetings,
Ralf
On 16.08.2010 15:41, Ralf Buschermoehle wrote:
> Hello,
>
> I try to open an editor reflexively with open diagram behavior. Normally
> no problem, but in this case I am stuck
>
> !ENTRY org.eclipse.gmf.runtime.diagram.ui 4 4 2010-08-16 15:33:26.731
> !MESSAGE execute
> !STACK 0
> org.eclipse.core.commands.ExecutionException: Can't open diagram
> at
> Stateflow.diagram.edit.policies.OpenDiagramEditPolicy$OpenDi agramCommand.doExecuteWithResult(OpenDiagramEditPolicy.java: 103)
>
> at
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:247)
>
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:150)
>
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:206)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:169)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:156)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.performRequest(GraphicalEditPart.java:1125)
>
> at
> org.eclipse.gef.tools.SelectEditPartTracker.performOpen(Sele ctEditPartTracker.java:194)
>
> at
> org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClic k(SelectEditPartTracker.java:137)
>
>
>
> The providers list List providers = service.getProviders(this,
> PRIORITIES[i], operation); computed in ...
>
> /**
> * Executes an operation on the first provider of the highest priority
> * that provides the operation.
> */
> public static final ExecutionStrategy FIRST =
> new ExecutionStrategy("First") { //$NON-NLS-1$
>
> private static final long serialVersionUID = 1L;
>
> public List execute(Service service, IOperation operation) {
> for (int i = 0; i < PRIORITIES.length; ++i) {
> List providers = service.getProviders(this, PRIORITIES[i], operation);
>
> is empty? Any Hints? Aare gmfgen hints missing (validate says the gmfgen
> is fine and the source code has also no bugs).
>
> Greetings,
>
> Ralf
|
|
|
Powered by
FUDForum. Page generated in 0.02586 seconds