GMF中,创建向导页

          创建向导页很简单,直接new一个GMF生成的XXXCreateWizard就行了

          TestCreationWizard creationwizard = new TestCreationWizard();

          creationwizard .init(PlatformUI.getWorkbench(), StructuredSelection.EMPTY);

          WizardDialog wizardDialog = new WizardDialog(

                 PlatformUI

                      .getWorkbench().getModalDialogShellProvider()

                              .getShell(), creationwizard );

            wizardDialog.open();

posted @ 2012-02-26 21:59  supermmao  阅读(135)  评论(0编辑  收藏  举报