final CreateFileOp operation = CreateFileOp.TYPE.instantiate();
try
{
final SapphireDialog selectRootDialog = new SapphireDialog
(
window.getShell(), operation,
DefinitionLoader.context( getClass() ).sdef( "CreateFileWizard" ).dialog( "CustomizeDialog" )
);
if( selectRootDialog.open() == Dialog.OK )
{
final CreateWorkspaceFileWizard<CreateFileOp> createFileWizard = new CreateWorkspaceFileWizard<CreateFileOp>
(
operation,
DefinitionLoader.context( getClass() ).sdef( "CreateFileWizard" ).wizard( "CreateFileWizard" )