@Override protected Object run(final Presentation context) { final Element element = context.part().getLocalModelElement(); final SapphireDialog dialog = new SapphireDialog( ((FormComponentPresentation) context).shell(), element, DefinitionLoader.context(IGallery.class) .sdef("GalleryEditor") .dialog("SplitFormDialog")); dialog.open(); return null; }
public NewModuleFragmentFilesWizard() { super(createDefaultOp(), DefinitionLoader.sdef(NewModuleFragmentFilesWizard.class).wizard()); }