Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Call for testers: GMF Tooling 2.4.0 release candidate
Call for testers: GMF Tooling 2.4.0 release candidate [message #690378] Wed, 29 June 2011 12:55 Go to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 858
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi all,

as some of you noticed, GMF Tooling has been unable to get in the Indigo
release train, and it is not possible to use previous 2,3,x GMF Tooling
with the latest GMF Runtime which is part of Indigo.

All critical bugs seem to be fixed, and the team is preparing to getting
through the release process.

In the meantime, you can test the latest interim build which is actually
a release candidate. The interim update-site is at [1].
Please report ANY bug or improvement request into the Bugzilla [2]. If
some critical and blocking bugs are met, the release will be delayed in
order to fix them.

Thanks to all of you for your help!

[1]
http://modeling.eclipse.org/modeling/gmp/gmf-tooling/downloads/drops/2.4.0/S201106290629/
[2] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMP
Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #690758 is a reply to message #690378] Thu, 30 June 2011 07:23 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi Mickael,

this generated code

/** Creates a connection editpart. */
final protected org.eclipse.gef.ConnectionEditPart createConnection(Object connectionView) {
  return (org.eclipse.gef.ConnectionEditPart) createChild(connectionView);
}


Causes the following Exception:

Quote:

java.lang.ClassCastException: xxx.WrappingLabel7EditPart cannot be cast to org.eclipse.gef.ConnectionEditPart
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.createConnection(GraphicalEditPart.java:269)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.createOrFindConnection(AbstractGraphicalEditPart.java:339)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refreshTargetConnections(AbstractGraphicalEditPart.java:759)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:646)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(DiagramGraphicalViewer.java:352)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewerContents(DiagramEditor.java:872)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewer(DiagramEditor.java:865)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.initializeGraphicalViewer(DiagramEditorWithFlyOutPalette.java:116)
at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.initializeGraphicalViewer(DiagramDocumentEditor.java:174)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createGraphicalViewer(DiagramEditor.java:807)
at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:171)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createPartControl(DiagramEditor.java:1580)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.createPartControl(DiagramEditorWithFlyOutPalette.java:328)
at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.createPartControl(DiagramDocumentEditor.java:1510)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)


Ralph

[Updated on: Thu, 30 June 2011 07:25]

Report message to a moderator

Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #690765 is a reply to message #690758] Thu, 30 June 2011 07:40 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

you still have Bug 338522. Which I could solve for myself by replacing line 110 in ElementInitializer.xpt with the following line (which includes a type cast)

«EXPAND MetaModel::getFeatureValue(instanceVar, instanceClass, true) FOR feature».add((«EXPAND MetaModel::QualifiedClassName /*XXX sorta hack, better would be MM::setFeatureValue that supports lists*/FOR getTypeGenClassifier(feature)») next);

Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #690766 is a reply to message #690765] Thu, 30 June 2011 07:45 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

the generator model and generated code look like BUG 331875 is still in. I have fixed this with the following code in a custom qvto transformation.

--fix BUG 331875
gmfgenModel.objectsOfType(ExpressionLabelParser)->forEach(parser)
{
  parser.className := parser.className.concat(parser._uses->first().container().oclAsType(GenCommonBase).visualID.toString());
};
Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #690943 is a reply to message #690758] Thu, 30 June 2011 12:38 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 858
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi,

Do you have custom templates for generation?
Can you open a bug for that, and please attach your gmf conf files to it?

Regards,

On 30/06/2011 09:23, ralph. wrote:
> Hi Mickael,
>
> this generated code
>
>
> /** Creates a connection editpart. */
> final protected org.eclipse.gef.ConnectionEditPart
> createConnection(Object connectionView) {
> return (org.eclipse.gef.ConnectionEditPart) createChild(connectionView);
> }
>
>
> Causes the following Exception:
>
> Quote:
>> java.lang.ClassCastException:
>> de.uni_mannheim.informatik.swt.models.plm.PLM.diagram.edit.parts.WrappingLabel7EditPart
>> cannot be cast to org.eclipse.gef.ConnectionEditPart
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.createConnection(GraphicalEditPart.java:269)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.createOrFindConnection(AbstractGraphicalEditPart.java:339)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refreshTargetConnections(AbstractGraphicalEditPart.java:759)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:646)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
>>
>> at
>> org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(DiagramGraphicalViewer.java:352)
>>
>> at
>> org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewerContents(DiagramEditor.java:872)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewer(DiagramEditor.java:865)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.initializeGraphicalViewer(DiagramEditorWithFlyOutPalette.java:116)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.initializeGraphicalViewer(DiagramDocumentEditor.java:174)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createGraphicalViewer(DiagramEditor.java:807)
>>
>> at
>> org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:171)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createPartControl(DiagramEditor.java:1580)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.createPartControl(DiagramEditorWithFlyOutPalette.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.createPartControl(DiagramDocumentEditor.java:1510)
>>
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
>>
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
>>
>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
>> at
>> org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
>>
>> at
>> org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
>>
>> at
>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
>>
>> at
>> org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
>>
>> at
>> org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
>>
>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)
>> at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
>> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
>> at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
>> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
>> at
>> org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
>>
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
>>
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
>> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
>> at
>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355)
>>
>> at
>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)
>>
>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
>> at
>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
>>
>> at
>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
>>
>> at
>> org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
>>
>> at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
>> at
>> org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
>>
>> at
>> org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>> at
>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
>>
>> at
>> org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
>> at
>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
>>
>> at
>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
>> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
>> at
>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
>>
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>
>> 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:622)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
>
>
> Ralph
Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #690944 is a reply to message #690765] Thu, 30 June 2011 12:41 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 858
Registered: July 2009
Location: Grenoble, France
Senior Member

Indeed, please add a comment to the bug to track the fact that 2.4.0
does not solve it.
Since you have a workaround and that you seem to be the only one who
reported the issue, it will probably be delayed to 2.4.1. The priority
now is to provide a release that makes possible to use GMF in Indigo.

Regards,

On 30/06/2011 09:40, ralph. wrote:
> Hi,
>
> you still have https://bugs.eclipse.org/bugs/show_bug.cgi?id=338522.
> Which I could solve for myself by replacing line 110 in
> ElementInitializer.xpt with the following line (which includes a type cast)
>
>
> «EXPAND MetaModel::getFeatureValue(instanceVar, instanceClass, true) FOR
> feature».add((«EXPAND MetaModel::QualifiedClassName /*XXX sorta hack,
> better would be MM::setFeatureValue that supports lists*/FOR
> getTypeGenClassifier(feature)») next);
>
>
Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #690945 is a reply to message #690766] Thu, 30 June 2011 12:47 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 858
Registered: July 2009
Location: Grenoble, France
Senior Member

Status of bug 331875 is still open.
Please provide a patch to the bug, and we'll try to integrate it ASAP
(but probably for a 2.4.1).

On 30/06/2011 09:45, ralph. wrote:
> Hi,
>
> the generator model and generated code look like BUG 331875 is still in.
> I have fixed this with the following code in a custom qvto transformation.
>
>
> --fix BUG 331875
> gmfgenModel.objectsOfType(ExpressionLabelParser)->forEach(parser)
> {
> parser.className :=
> parser.className.concat(parser._uses->first().container().oclAsType(GenCommonBase).visualID.toString());
>
> };
>
Re: Call for testers: GMF Tooling 2.4.0 release candidate [message #691275 is a reply to message #690943] Fri, 01 July 2011 06:45 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi Mickael,

I now tried to use a the with helios generated code with indigo and it did work fine. It must be related to the code generation of indigo. I use custom templates but I do not think that they should effect this. I will investigate further and open a bug as soon as I can specify the behaviour in more detail.

ralph.

Quote:

Hi,

Do you have custom templates for generation?
Can you open a bug for that, and please attach your gmf conf files to it?

Regards,

On 30/06/2011 09:23, ralph. wrote:
> Hi Mickael,
>
> this generated code
>
>
> /** Creates a connection editpart. */
> final protected org.eclipse.gef.ConnectionEditPart
> createConnection(Object connectionView) {
> return (org.eclipse.gef.ConnectionEditPart) createChild(connectionView);
> }
>
>
> Causes the following Exception:
>
> Quote:
>> java.lang.ClassCastException:
>> xxx.diagram.edit.parts.WrappingLabel7EditPart
>> cannot be cast to org.eclipse.gef.ConnectionEditPart
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.createConnection(GraphicalEditPart.java:269)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.createOrFindConnection(AbstractGraphicalEditPart.java:339)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refreshTargetConnections(AbstractGraphicalEditPart.java:759)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:646)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
>>
>> at
>> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
>>
>> at
>> org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
>>
>> at
>> org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
>>
>> at
>> org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
>>
>> at
>> org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(DiagramGraphicalViewer.java:352)
>>
>> at
>> org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewerContents(DiagramEditor.java:872)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewer(DiagramEditor.java:865)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.initializeGraphicalViewer(DiagramEditorWithFlyOutPalette.java:116)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.initializeGraphicalViewer(DiagramDocumentEditor.java:174)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createGraphicalViewer(DiagramEditor.java:807)
>>
>> at
>> org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:171)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createPartControl(DiagramEditor.java:1580)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.createPartControl(DiagramEditorWithFlyOutPalette.java:328)
>>
>> at
>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.createPartControl(DiagramDocumentEditor.java:1510)
>>
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
>>
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
>>
>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
>> at
>> org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
>>
>> at
>> org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
>>
>> at
>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
>>
>> at
>> org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
>>
>> at
>> org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
>>
>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)
>> at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
>> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
>> at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
>> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
>> at
>> org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
>>
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
>>
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
>>
>> at
>> org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
>> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
>> at
>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355)
>>
>> at
>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)
>>
>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
>> at
>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
>>
>> at
>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
>>
>> at
>> org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
>>
>> at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
>> at
>> org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
>>
>> at
>> org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>> at
>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
>>
>> at
>> org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
>> at
>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
>>
>> at
>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
>> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
>> at
>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
>>
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>
>> 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:622)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
>
>

Previous Topic:Parent-Children representation
Next Topic:Error with myFeaturesToSynchronize
Goto Forum:
  


Current Time: Mon Mar 08 07:21:48 GMT 2021

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

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

Back to the top