Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » reordering children in compartment with DnD
reordering children in compartment with DnD [message #211466] Tue, 18 November 2008 16:48 Go to next message
John Yotka is currently offline John YotkaFriend
Messages: 144
Registered: July 2009
Senior Member
I followed the GMF recipe (http://wiki.eclipse.org/GMF/Recipes) for
"HowTo reorder children in a GMF compartment with Drag & Drop" in Europa
it worked very well. When I upgraded my editor to Ganymede (GMF 2.1.1),
there is a problem. On opening the editor, it goes into an infinite
loop, rendering the diagram. Does anybody know what needs to be changed
to get this to work correctly in GMF 2.1.1?
Re: reordering children in compartment with DnD [message #211502 is a reply to message #211466] Wed, 19 November 2008 10:36 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello John,

> (GMF 2.1.1), there is a problem. On opening the editor, it goes into
> an infinite loop, rendering the diagram. Does anybody know what needs
Can you post a stack trace here?

-----------------
Alex Shatalin
Re: reordering children in compartment with DnD [message #211573 is a reply to message #211502] Thu, 20 November 2008 01:19 Go to previous messageGo to next message
John Yotka is currently offline John YotkaFriend
Messages: 144
Registered: July 2009
Senior Member
Alex Shatalin wrote:
> Hello John,
>
>> (GMF 2.1.1), there is a problem. On opening the editor, it goes into
>> an infinite loop, rendering the diagram. Does anybody know what needs
> Can you post a stack trace here?
>
> -----------------
> Alex Shatalin
>
>
I suspect that you will need 2 or more, to see the pattern of what is
happening, it appears to be continually redoing the layout.

When I changed from a FlowLayout to a GridLayout, it works correctly.

------------ pause 1 2 minutes into diagram open --------------------
Thread [main] (Suspended)
ArrayList<E>.indexOf(Object) line: not available
ArrayList<E>.contains(Object) line: not available
DiagramGraphicalViewer$ToggleUpdateManager(DeferredUpdateMan ager).addInvalidFigure(IFigure)
line: 124
LightweightSystem$RootFigure(Figure).revalidate() line: 1349
FreeformViewport(Figure).revalidate() line: 1351
FreeformLayeredPane(Figure).revalidate() line: 1351
RenderedDiagramRootEditPart$DiagramRenderedScalableFreeformL ayeredPane(Figure).revalidate()
line: 1351
FreeformLayeredPane(Figure).revalidate() line: 1351
ConnectionLayerEx(Figure).revalidate() line: 1351
ContainerProxy2EditPart$ContainerConnectionFigure(Figure).re validate()
line: 1351
ContainerProxy2EditPart$ContainerConnectionFigure(PolylineCo nnection).revalidate()
line: 215
ContainerProxy2EditPart$ContainerConnectionFigure(PolylineCo nnection).anchorMoved(ConnectionAnchor)
line: 80
SlidableAnchor(ConnectionAnchorBase).fireAnchorMoved() line: 53
SlidableAnchor(AbstractConnectionAnchor).ancestorMoved(IFigu re) line: 66
AncestorHelper.fireAncestorMoved(IFigure) line: 98
AncestorHelper.figureMoved(IFigure) line: 87
RenderedDiagramRootEditPart$DiagramRenderedScalableFreeformL ayeredPane(Figure).fireFigureMoved()
line: 461
RenderedDiagramRootEditPart$DiagramRenderedScalableFreeformL ayeredPane(Figure).setBounds(Rectangle)
line: 1402
FreeformHelper.setFreeformBounds(Rectangle) line: 86
RenderedDiagramRootEditPart$DiagramRenderedScalableFreeformL ayeredPane(FreeformLayeredPane).setFreeformBounds(Rectangle)
line: 106
FreeformHelper.setFreeformBounds(Rectangle) line: 93
FreeformLayeredPane.setFreeformBounds(Rectangle) line: 106
FreeformViewport.readjustScrollBars() line: 78
FreeformViewport(Viewport).validate() line: 364
LightweightSystem$RootFigure(Figure).validate() line: 1741
DiagramGraphicalViewer$ToggleUpdateManager(DeferredUpdateMan ager).performValidation()
line: 207
DiagramGraphicalViewer$ToggleUpdateManager.performValidation () line: 124
DiagramGraphicalViewer$ToggleUpdateManager(DeferredUpdateMan ager).performUpdate()
line: 179
DiagramGraphicalViewer$ToggleUpdateManager.performUpdate() line: 114
DiagramGraphicalViewer$LightweightSystemWithUpdateToggle(Lig htweightSystem).controlResized()
line: 122
LightweightSystem$1.controlResized(ControlEvent) line: 102
TypedListener.handleEvent(Event) line: 222
EventTable.sendEvent(Event) line: 84
FigureCanvas(Widget).sendEvent(Event) line: 1003
FigureCanvas(Widget).sendEvent(int, Event, boolean) line: 1027
FigureCanvas(Widget).sendEvent(int) line: 1008
FigureCanvas(Control).WM_SIZE(int, int) line: 4435
FigureCanvas(Scrollable).WM_SIZE(int, int) line: 359
FigureCanvas(Composite).WM_SIZE(int, int) line: 1522
FigureCanvas(Canvas).WM_SIZE(int, int) line: 449
FigureCanvas(Control).windowProc(int, int, int, int) line: 3860
FigureCanvas(Canvas).windowProc(int, int, int, int) line: 337
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
FigureCanvas(Scrollable).callWindowProc(int, int, int, int) line: 79
FigureCanvas(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
FigureCanvas(Canvas).WM_WINDOWPOSCHANGED(int, int) line: 455
FigureCanvas(Control).windowProc(int, int, int, int) line: 3870
FigureCanvas(Canvas).windowProc(int, int, int, int) line: 337
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
FigureCanvas(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
FigureCanvas(Control).setBounds(int, int, int, int, int, boolean)
line: 2627
FigureCanvas(Composite).setBounds(int, int, int, int, int, boolean)
line: 892
FigureCanvas(Control).setBounds(int, int, int, int, int) line: 2588
FigureCanvas(Control).setBounds(int, int, int, int) line: 2584
FigureCanvas(Control).setBounds(Rectangle) line: 2651
RulerComposite.doLayout() line: 209
RulerComposite.layout(boolean) line: 272
RulerComposite$4.handleEvent(Event) line: 308
EventTable.sendEvent(Event) line: 84
RulerComposite(Widget).sendEvent(Event) line: 1003
RulerComposite(Widget).sendEvent(int, Event, boolean) line: 1027
RulerComposite(Widget).sendEvent(int) line: 1008
RulerComposite(Control).WM_SIZE(int, int) line: 4435
RulerComposite(Scrollable).WM_SIZE(int, int) line: 359
RulerComposite(Composite).WM_SIZE(int, int) line: 1522
RulerComposite(Control).windowProc(int, int, int, int) line: 3860
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
RulerComposite(Scrollable).callWindowProc(int, int, int, int) line: 79
RulerComposite(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
RulerComposite(Control).windowProc(int, int, int, int) line: 3870
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
RulerComposite(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
RulerComposite(Control).setBounds(int, int, int, int, int, boolean)
line: 2627
RulerComposite(Composite).setBounds(int, int, int, int, int, boolean)
line: 892
RulerComposite(Control).setBounds(int, int, int, int, int) line: 2588
RulerComposite(Control).setBounds(int, int, int, int) line: 2584
FillLayout.layout(Composite, boolean) line: 201
Composite.updateLayout(boolean, boolean) line: 1144
Composite.WM_SIZE(int, int) line: 1533
Composite(Control).windowProc(int, int, int, int) line: 3860
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
Composite(Scrollable).callWindowProc(int, int, int, int) line: 79
Composite(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
Composite(Control).windowProc(int, int, int, int) line: 3870
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
Composite(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
Composite(Control).setBounds(int, int, int, int, int, boolean) line: 2627
Composite.setBounds(int, int, int, int, int, boolean) line: 892
Composite(Control).setBounds(int, int, int, int, int) line: 2588
Composite(Control).setBounds(int, int, int, int) line: 2584
FillLayout.layout(Composite, boolean) line: 201
Composite.updateLayout(boolean, boolean) line: 1144
Composite.WM_SIZE(int, int) line: 1533
Composite(Control).windowProc(int, int, int, int) line: 3860
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
Composite(Scrollable).callWindowProc(int, int, int, int) line: 79
Composite(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
Composite(Control).windowProc(int, int, int, int) line: 3870
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
Composite(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
Composite(Control).setBounds(int, int, int, int, int, boolean) line: 2627
Composite.setBounds(int, int, int, int, int, boolean) line: 892
Composite(Control).setBounds(int, int, int, int, int) line: 2588
Composite(Control).setBounds(int, int, int, int) line: 2584
Composite(Control).setBounds(Rectangle) line: 2651
EditorPane(LayoutPart).setBounds(Rectangle) line: 300
PresentablePart.setBounds(Rectangle) line: 170
PresentablePartFolder.layoutContent() line: 131
PresentablePartFolder.layout(boolean) line: 412
PresentablePartFolder.select(IPresentablePart) line: 292
LeftToRightTabOrder.select(IPresentablePart) line: 65
TabbedStackPresentation.selectPart(IPresentablePart) line: 473
EditorStack(PartStack).refreshPresentationSelection() line: 1256
EditorStack(PartStack).setSelection(LayoutPart) line: 1209
WorkbenchPage.internalBringToTop(IWorkbenchPartReference) line: 785
WorkbenchPage.activate(IWorkbenchPart) line: 609
WorkbenchPage.busyOpenEditorBatched(IEditorInput, String, boolean, int,
IMemento) line: 2832
WorkbenchPage.busyOpenEditor(IEditorInput, String, boolean, int,
IMemento) line: 2729
WorkbenchPage.access$11(WorkbenchPage, IEditorInput, String, boolean,
int, IMemento) line: 2721
WorkbenchPage$10.run() line: 2673
BusyIndicator.showWhile(Display, Runnable) line: 70
WorkbenchPage.openEditor(IEditorInput, String, boolean, int, IMemento)
line: 2668
WorkbenchPage.openEditor(IEditorInput, String, boolean, int) line: 2652
WorkbenchPage.openEditor(IEditorInput, String, boolean) line: 2643
IDE.openEditor(IWorkbenchPage, URI, String, boolean) line: 483
DpjOpenDiagramActionDelegate.run(IAction) line: 107
DpjOpenDiagramActionDelegate(ActionDelegate).runWithEvent(IA ction,
Event) line: 70
ObjectPluginAction(PluginAction).runWithEvent(Event) line: 241
PluginActionContributionItem(ActionContributionItem).handleW idgetSelection(Event,
boolean) line: 583
ActionContributionItem.access$2(ActionContributionItem, Event, boolean)
line: 500
ActionContributionItem$5.handleEvent(Event) line: 411
EventTable.sendEvent(Event) line: 84
MenuItem(Widget).sendEvent(Event) line: 1003
Display.runDeferredEvents() line: 3823
Display.readAndDispatch() line: 3422
Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2382
Workbench.runUI() line: 2346
Workbench.access$4(Workbench) line: 2198
Workbench$5.run() line: 493
Realm.runWithDefault(Realm, Runnable) line: 288
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 488
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149
IDEApplication.start(IApplicationContext) line: 113
EclipseAppHandle.run(Object) line: 193
EclipseAppLauncher.runApplication(Object) line: 110
EclipseAppLauncher.start(Object) line: 79
EclipseStarter.run(Object) line: 382
EclipseStarter.run(String[], Runnable) line: 179
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
Method.invoke(Object, Object...) line: not available
Main.invokeFramework(String[], URL[]) line: 549
Main.basicRun(String[]) line: 504
Main.run(String[]) line: 1236
Main.main(String[]) line: 1212

-------------------- pause 2 (30 seconds later) ----------------------

Thread [main] (Suspended)
OS.DrawTextW(int, char[], int, RECT, int) line: not available [native
method]
OS.DrawText(int, TCHAR, int, RECT, int) line: 2391
GC.textExtent(String, int) line: 4809
GC.textExtent(String) line: 4737
FigureUtilities.getTextDimension(String, Font) line: 88
FigureUtilities.getTextExtents(String, Font) line: 125
TextUtilitiesEx(TextUtilities).getTextExtents(String, Font) line: 57
TextUtilitiesEx.getTextExtents(String, Font) line: 68
WrappingLabel.getMinimumSize(int, int) line: 915
WrappingLabel.calculateSizes(Rectangle, Rectangle) line: 744
WrappingLabel.layout() line: 721
WrappingLabel(Figure).validate() line: 1739
BorderItemsAwareFreeFormLayer(Figure).validate() line: 1741
BorderItemsAwareFreeFormLayer.validate() line: 169
FreeformViewport$FreeformViewportLayout.calculatePreferredSi ze(IFigure,
int, int) line: 28
FreeformViewport$FreeformViewportLayout(AbstractLayout).getP referredSize(IFigure,
int, int) line: 93
FreeformViewport$FreeformViewportLayout(AbstractHintLayout). getPreferredSize(IFigure,
int, int) line: 85
FreeformViewport(Figure).getPreferredSize(int, int) line: 735
OverlayScrollPaneLayout.calculatePreferredSize(IFigure, int, int) line: 48
OverlayScrollPaneLayout(AbstractLayout).getPreferredSize(IFi gure, int,
int) line: 93
OverlayScrollPaneLayout(AbstractHintLayout).getPreferredSize (IFigure,
int, int) line: 85
AnimatableScrollPane(Figure).getPreferredSize(int, int) line: 735
AnimatableScrollPane.getPreferredSize(int, int) line: 106
ConstrainedToolbarLayout.calculateChildrenSize(List, int, int, boolean)
line: 388
ConstrainedToolbarLayout.calculatePreferredSize(IFigure, int, int)
line: 96
ConstrainedToolbarLayout(AbstractLayout).getPreferredSize(IF igure, int,
int) line: 93
ConstrainedToolbarLayout(AbstractHintLayout).getPreferredSiz e(IFigure,
int, int) line: 85
ShapeCompartmentFigure(Figure).getPreferredSize(int, int) line: 735
ShapeCompartmentFigure(ResizableCompartmentFigure).getPrefer redSize(int,
int) line: 354
ConstrainedToolbarLayout.calculateChildrenSize(List, int, int, boolean)
line: 388
ConstrainedToolbarLayout.calculatePreferredSize(IFigure, int, int)
line: 96
ConstrainedToolbarLayout(AbstractLayout).getPreferredSize(IF igure, int,
int) line: 93
ConstrainedToolbarLayout(AbstractHintLayout).getPreferredSiz e(IFigure,
int, int) line: 85
ContainerProxyEditPart$ContainerCompartmentFigure(Figure).ge tPreferredSize(int,
int) line: 735
StackLayout.calculatePreferredSize(IFigure, int, int) line: 71
StackLayout(AbstractLayout).getPreferredSize(IFigure, int, int) line: 93
StackLayout(AbstractHintLayout).getPreferredSize(IFigure, int, int)
line: 85
DefaultSizeNodeFigure(Figure).getPreferredSize(int, int) line: 735
DefaultSizeNodeFigure.getPreferredSize(int, int) line: 76
FreeFormLayoutEx.layout(IFigure) line: 44
Figure$LayoutNotifier.layout(IFigure) line: 1812
DiagramEditPart$1(Figure).layout() line: 1029
DiagramEditPart$1(Figure).validate() line: 1739
DiagramEditPart$1(BorderItemsAwareFreeFormLayer).validate() line: 169
DiagramEditPart$1.validate() line: 157
BorderItemsAwareFreeFormLayer(Figure).validate() line: 1741
BorderItemsAwareFreeFormLayer.validate() line: 169
FreeformLayeredPane(Figure).validate() line: 1741
RenderedDiagramRootEditPart$DiagramRenderedScalableFreeformL ayeredPane(Figure).validate()
line: 1741
FreeformLayeredPane(Figure).validate() line: 1741
FreeformViewport(Figure).validate() line: 1741
FreeformViewport(Viewport).validate() line: 363
LightweightSystem$RootFigure(Figure).validate() line: 1741
DiagramGraphicalViewer$ToggleUpdateManager(DeferredUpdateMan ager).performValidation()
line: 207
DiagramGraphicalViewer$ToggleUpdateManager.performValidation () line: 124
DiagramGraphicalViewer$ToggleUpdateManager(DeferredUpdateMan ager).performUpdate()
line: 179
DiagramGraphicalViewer$ToggleUpdateManager.performUpdate() line: 114
DiagramGraphicalViewer$LightweightSystemWithUpdateToggle(Lig htweightSystem).controlResized()
line: 122
LightweightSystem$1.controlResized(ControlEvent) line: 102
TypedListener.handleEvent(Event) line: 222
EventTable.sendEvent(Event) line: 84
FigureCanvas(Widget).sendEvent(Event) line: 1003
FigureCanvas(Widget).sendEvent(int, Event, boolean) line: 1027
FigureCanvas(Widget).sendEvent(int) line: 1008
FigureCanvas(Control).WM_SIZE(int, int) line: 4435
FigureCanvas(Scrollable).WM_SIZE(int, int) line: 359
FigureCanvas(Composite).WM_SIZE(int, int) line: 1522
FigureCanvas(Canvas).WM_SIZE(int, int) line: 449
FigureCanvas(Control).windowProc(int, int, int, int) line: 3860
FigureCanvas(Canvas).windowProc(int, int, int, int) line: 337
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
FigureCanvas(Scrollable).callWindowProc(int, int, int, int) line: 79
FigureCanvas(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
FigureCanvas(Canvas).WM_WINDOWPOSCHANGED(int, int) line: 455
FigureCanvas(Control).windowProc(int, int, int, int) line: 3870
FigureCanvas(Canvas).windowProc(int, int, int, int) line: 337
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
FigureCanvas(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
FigureCanvas(Control).setBounds(int, int, int, int, int, boolean)
line: 2627
FigureCanvas(Composite).setBounds(int, int, int, int, int, boolean)
line: 892
FigureCanvas(Control).setBounds(int, int, int, int, int) line: 2588
FigureCanvas(Control).setBounds(int, int, int, int) line: 2584
FigureCanvas(Control).setBounds(Rectangle) line: 2651
RulerComposite.doLayout() line: 209
RulerComposite.layout(boolean) line: 272
RulerComposite$4.handleEvent(Event) line: 308
EventTable.sendEvent(Event) line: 84
RulerComposite(Widget).sendEvent(Event) line: 1003
RulerComposite(Widget).sendEvent(int, Event, boolean) line: 1027
RulerComposite(Widget).sendEvent(int) line: 1008
RulerComposite(Control).WM_SIZE(int, int) line: 4435
RulerComposite(Scrollable).WM_SIZE(int, int) line: 359
RulerComposite(Composite).WM_SIZE(int, int) line: 1522
RulerComposite(Control).windowProc(int, int, int, int) line: 3860
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
RulerComposite(Scrollable).callWindowProc(int, int, int, int) line: 79
RulerComposite(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
RulerComposite(Control).windowProc(int, int, int, int) line: 3870
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
RulerComposite(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
RulerComposite(Control).setBounds(int, int, int, int, int, boolean)
line: 2627
RulerComposite(Composite).setBounds(int, int, int, int, int, boolean)
line: 892
RulerComposite(Control).setBounds(int, int, int, int, int) line: 2588
RulerComposite(Control).setBounds(int, int, int, int) line: 2584
FillLayout.layout(Composite, boolean) line: 201
Composite.updateLayout(boolean, boolean) line: 1144
Composite.WM_SIZE(int, int) line: 1533
Composite(Control).windowProc(int, int, int, int) line: 3860
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
Composite(Scrollable).callWindowProc(int, int, int, int) line: 79
Composite(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
Composite(Control).windowProc(int, int, int, int) line: 3870
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
Composite(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
Composite(Control).setBounds(int, int, int, int, int, boolean) line: 2627
Composite.setBounds(int, int, int, int, int, boolean) line: 892
Composite(Control).setBounds(int, int, int, int, int) line: 2588
Composite(Control).setBounds(int, int, int, int) line: 2584
FillLayout.layout(Composite, boolean) line: 201
Composite.updateLayout(boolean, boolean) line: 1144
Composite.WM_SIZE(int, int) line: 1533
Composite(Control).windowProc(int, int, int, int) line: 3860
Display.windowProc(int, int, int, int) line: 4528
OS.DefWindowProcW(int, int, int, int) line: not available [native method]
OS.DefWindowProc(int, int, int, int) line: 2365
Composite(Scrollable).callWindowProc(int, int, int, int) line: 79
Composite(Control).WM_WINDOWPOSCHANGED(int, int) line: 4592
Composite(Control).windowProc(int, int, int, int) line: 3870
Display.windowProc(int, int, int, int) line: 4528
OS.SetWindowPos(int, int, int, int, int, int, int) line: not available
[native method]
Composite(Widget).SetWindowPos(int, int, int, int, int, int, int)
line: 1302
Composite(Control).setBounds(int, int, int, int, int, boolean) line: 2627
Composite.setBounds(int, int, int, int, int, boolean) line: 892
Composite(Control).setBounds(int, int, int, int, int) line: 2588
Composite(Control).setBounds(int, int, int, int) line: 2584
Composite(Control).setBounds(Rectangle) line: 2651
EditorPane(LayoutPart).setBounds(Rectangle) line: 300
PresentablePart.setBounds(Rectangle) line: 170
PresentablePartFolder.layoutContent() line: 131
PresentablePartFolder.layout(boolean) line: 412
PresentablePartFolder.select(IPresentablePart) line: 292
LeftToRightTabOrder.select(IPresentablePart) line: 65
TabbedStackPresentation.selectPart(IPresentablePart) line: 473
EditorStack(PartStack).refreshPresentationSelection() line: 1256
EditorStack(PartStack).setSelection(LayoutPart) line: 1209
WorkbenchPage.internalBringToTop(IWorkbenchPartReference) line: 785
WorkbenchPage.activate(IWorkbenchPart) line: 609
WorkbenchPage.busyOpenEditorBatched(IEditorInput, String, boolean, int,
IMemento) line: 2832
WorkbenchPage.busyOpenEditor(IEditorInput, String, boolean, int,
IMemento) line: 2729
WorkbenchPage.access$11(WorkbenchPage, IEditorInput, String, boolean,
int, IMemento) line: 2721
WorkbenchPage$10.run() line: 2673
BusyIndicator.showWhile(Display, Runnable) line: 70
WorkbenchPage.openEditor(IEditorInput, String, boolean, int, IMemento)
line: 2668
WorkbenchPage.openEditor(IEditorInput, String, boolean, int) line: 2652
WorkbenchPage.openEditor(IEditorInput, String, boolean) line: 2643
IDE.openEditor(IWorkbenchPage, URI, String, boolean) line: 483
DpjOpenDiagramActionDelegate.run(IAction) line: 107
DpjOpenDiagramActionDelegate(ActionDelegate).runWithEvent(IA ction,
Event) line: 70
ObjectPluginAction(PluginAction).runWithEvent(Event) line: 241
PluginActionContributionItem(ActionContributionItem).handleW idgetSelection(Event,
boolean) line: 583
ActionContributionItem.access$2(ActionContributionItem, Event, boolean)
line: 500
ActionContributionItem$5.handleEvent(Event) line: 411
EventTable.sendEvent(Event) line: 84
MenuItem(Widget).sendEvent(Event) line: 1003
Display.runDeferredEvents() line: 3823
Display.readAndDispatch() line: 3422
Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2382
Workbench.runUI() line: 2346
Workbench.access$4(Workbench) line: 2198
Workbench$5.run() line: 493
Realm.runWithDefault(Realm, Runnable) line: 288
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 488
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149
IDEApplication.start(IApplicationContext) line: 113
EclipseAppHandle.run(Object) line: 193
EclipseAppLauncher.runApplication(Object) line: 110
EclipseAppLauncher.start(Object) line: 79
EclipseStarter.run(Object) line: 382
EclipseStarter.run(String[], Runnable) line: 179
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
Method.invoke(Object, Object...) line: not available
Main.invokeFramework(String[], URL[]) line: 549
Main.basicRun(String[]) line: 504
Main.run(String[]) line: 1236
Main.main(String[]) line: 1212
----------------------------------------

hope this helps!
Re: reordering children in compartment with DnD [message #211599 is a reply to message #211573] Thu, 20 November 2008 10:23 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello John,

Sorry, I can not realize the reason of the loop from these traces. I suggest
you debugging this code to see the reason (e.g. by lacing a break point into
ContainerProxy2EditPart$ContainerConnectionFigure(Figure).re validate()).

In addition you can try guessing about the reason of this looping by comparing
the code with Flow and Grid layouts.


-----------------
Alex Shatalin
Previous Topic:disabling a diagram element in GMF
Next Topic:Break between connection and ellipse
Goto Forum:
  


Current Time: Thu Apr 25 21:31:19 GMT 2024

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

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

Back to the top