Summary: | GMF Layout service getLayoutNode() does not dispose of off-screen shells | ||
---|---|---|---|
Product: | [Modeling] GMF-Runtime | Reporter: | Kevin Cornell <kcornell> |
Component: | General | Assignee: | Cherie Revells <crevells> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | api |
Version: | 1.0.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Kevin Cornell
2007-01-15 11:31:03 EST
I believe this same issue occurs in LayoutService.layoutNodes(List, boolean, String). - Deprecated the method createDiagramEditPart(Diagram diagram) in OffscreenEditPartFactory. Users should call the method that takes a Shell as this method was not disposing the Shell that it created. - LayoutService and DiagramRenderUtil methods now temporary create a Shell where needed and then dispose it. - PrinterHelper, PrintPreviewHelper, and DiagramPrinter were also creating a diagram editpart without disposing the shell, so I modified the code to dispose the shell. [GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug |