Bug 174305 - MIF Graphical View is not in sync with model graphical changes
Summary: MIF Graphical View is not in sync with model graphical changes
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: OHF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Zsolt Török CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 09:16 EST by Ravi Natarajan CLA
Modified: 2012-01-05 13:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Natarajan CLA 2007-02-15 09:16:13 EST
Build ID: Build id: M20060629-1905

Steps To Reproduce:
1.Conver a 1.0 to 2.0 mif
2.Open the MIF and Graphical MIF View
3.The view shows information
4.Go to MIF 2.0 model delete all graphics and save
5.The graphical view still shows graphics, so say there is no information available to render the graphics


More information:
Comment 1 Brandon Ulrich CLA 2007-02-15 10:37:04 EST
The Graphical MIF View uses a very heavyweight and memory-intensive process to generate the graphic view. I wouldn't recommend using it.

Any graphical artifacts should be created by right-clicking a MIF and choosing HL7 MIF Operations > Generate {JPG,SVG,PNG} Graphical model.

Support for graphical rendering of a MIF will improve when we incorporate your SVG rendering plug-in. We hope that this will be fast enough to render concurrent with editing, but aren't that far yet.
Comment 2 Brandon Ulrich CLA 2007-06-05 03:17:55 EDT
Zsolt, please revisit this item. Since we changed the method of generating the image, it may/should be fast enough to display the changes live (like the XSLT View).
Comment 3 Zsolt Török CLA 2007-06-05 11:27:07 EDT
The image rendering speed is not fast enough for real-time use in case of bigger models.
I implemented a temporary fix for this, so that the Graphical MIF view is refreshed each time there is a change to the actual MIF file, that's being edited in the active MIF editor. In short, you have to save the file to see the modifications made to it.
The performance of the rendering for real-time operation will be investigated at a later time.
Comment 4 Brandon Ulrich CLA 2007-06-05 11:38:47 EDT
Thanks for the improvement. I'm lowering the severity to enhancement.