Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » open subeditor fails ... no providers found ... any gmfgen properties missing?
open subeditor fails ... no providers found ... any gmfgen properties missing? [message #553125] Mon, 16 August 2010 13:41 Go to next message
Ralf Buschermoehle is currently offline Ralf BuschermoehleFriend
Messages: 81
Registered: July 2009
Member
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
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 Go to previous message
Ralf Buschermoehle is currently offline Ralf BuschermoehleFriend
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
Previous Topic:Create notation-only edges
Next Topic:copy paste not working with gmf 2.2
Goto Forum:
  


Current Time: Fri Apr 19 02:39:11 GMT 2024

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

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

Back to the top