Community
Participate
Working Groups
Memo Product Build#: Eclipse I20070306 + GMF-sdk-2.0M5uh Platform/Version : ALL Language: KO, TR, SC, TC Releated Test Case #: 10 GMF - 4 DIAGRAM TEST CASES - ENTERING OF MEASUREMENT DATA Same problem in English: YES JVM: IBM JRE 5.0 SR4 ===== DEFECT DESCRIPTION ===== 1. Setting made on Diagram Property View for Ruler & Grid -> Grid Spacing does not reflect to the same settings at Window -> Preference -> Logic Diagrams -> Rulers and Grid. 2. It seems that the setting for Logic Diagrams in Preference doesn't work. 3. We can reproduce same issue in English platform ===== STEPS TO RECREATE ===== 1. Create a simple project in the workspace 2. Go to File à New à Examples à GMF (Graphical Modeling Framework) à Geoshape Diagram and hit “Next.” 3. Go ahead and create an empty model file (to be used for the next test case). 4. Create a note in the geoshapes editor by dragging the note icon from the palette on the right hand side to the drawing surface (under the zoom tool and above Geometric Shapes drawer). 5. Enter some strings in it. 6. Select the diagram surface and right click to display context menu and choose “Show Properties View”. 7. Navigate to the “Rulers and Grid” tab and enter numeric data for measurement field in “Grid Spacing”. The measurement unit for that field is based on the “Ruler Units” field. 8. Go to preferences page for “Rulers and Grid” by choosing Window à Preferences. Verify values for Grid spacing under Logic Diagrams à Rulers and Grid. ===== EXPECTED RESULT ===== Setting made on Property View for Ruler & Grid -> Grid Spacing should the same as the settings at Window -> Preference -> Logic Diagrams -> Rulers and Grid.
Created attachment 62363 [details] Logic diagram setting in Preference doesn't work Please check attached image file for reference
Geoffrey, the "Preferences" settings are like the default settings for all plugins in Eclipse. Changing the property value of the currect selected object should not change the settings in the "Preferences". Therefore, the reported problem is invalid. However, I tried changing the "Logic Diagrams>Rulers and Grid>Grid Spacing" setting to 0.5 like Geoffrey did, and then created a new Geoshape Diagram, and expected to see the new setting to show up in the properties view. But, it was still using the old Grid Spacing setting of 0.125 before my change. The GMF team should take a look at this problem.
Kit Lo is correct. The initial bug reported is not a problem because the preference page is to act like a standard for newly created diagrams. It is not to be synchronized after the value in the properties view has been modified. Therefore, the logic here is correct and the program is working to be expected. (In reply to comment #2) > However, I tried changing the "Logic Diagrams>Rulers and Grid>Grid Spacing" > setting to 0.5 like Geoffrey did, and then created a new Geoshape Diagram, and > expected to see the new setting to show up in the properties view. But, it was > still using the old Grid Spacing setting of 0.125 before my change. The GMF > team should take a look at this problem. > I was unable to produce the problem after changing the grid spacing in the preferences page and creating three new logic diagrams. Tried variations of pressing "apply", "ok", and saving the current diagram.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug