Community
Participate
Working Groups
- From the .gmfmap file popup menu invoke "Create generator model..." action -> Dialog asking for target file name appear. - Choose target model file name and press OK -> Generator Model Options dialog appear if org.eclipse.gmf.codegen.lite plugin present in this installation. One wizard should be created instead of these two dialogs. First page of the wizard should be standard WizardNewFileCreationPage. Second page should be optional (present only if org.eclipse.gmf.codegen.lite plugin installed) and should contains only one checkbox: "Utilize enhanced features of GMF runtime". Another checkbox currently present in Generator Model Options dialog ("Use IMapMode") should be removed because the value of this checkbox could be predicted automatically - we should always use IMapMode if runtime library will be used in generated code and should not use it in the opposite situation.
Version/Milestone updated
Updated component and summary.
Created attachment 56787 [details] wizard implementation "Create generator model" wizard implementation
Created attachment 57018 [details] Revised implementation UI simplification, i18n clean up
Created attachment 57091 [details] Revised implementation 2 Do not extend genarated GMFGen wizard
For design-only mappings (i.e. no domain model at all): java.lang.NullPointerException at org.eclipse.gmf.internal.bridge.transform.GenModelConfigurationPage.findGenmodel(GenModelConfigurationPage.java:123) at org.eclipse.gmf.internal.bridge.transform.GenModelConfigurationPage.initControls(GenModelConfigurationPage.java:114) at org.eclipse.gmf.internal.common.ui.ModelSelectionPage.setVisible(ModelSelectionPage.java:372) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1096)
Created attachment 57529 [details] NPE for design-only mapping fixed "Select GenModel" page will not be shown for Mapping without domain model
Created attachment 57530 [details] NPE for design-only mapping fixed "Select GenModel" page will not be shown for Mapping without domain model
Comment on attachment 57530 [details] NPE for design-only mapping fixed Duplicated patch
reviewed and committed
[GMF Restructure] Bug 319140 : product GMF and component UI - Wizards was the original product and component for this bug