Package org.eclipse.jst.jsf.common.ui.internal.dialogs

Examples of org.eclipse.jst.jsf.common.ui.internal.dialogs.CommonWizardDialog


          wizard = handler.getWizard(_localObject, _widget, _viewer);
        } else {
          wizard = handler
              .getWizard(_localObject, _position, _viewer);
        }
        CommonWizardDialog wizardDialog = new CommonWizardDialog(
            getShell(), wizard);
        wizardDialog.setTitle(Messages
            .getString("LocalDropCommand.DropHandler")); //$NON-NLS-1$
        wizardDialog.create();
        wizardDialog.open();
      } else {
        if (_widget != null) {
          handler.doUpdateWidget(_localObject, _widget, _viewer);
        } else {
          handler.doInsertElements(_localObject, _position, _viewer);
        }
      }
    } else {
      CommonWizardDialog wizardDialog = new CommonWizardDialog(
          getShell(), getWizard());
      wizardDialog.setTitle(Messages
          .getString("LocalDropCommand.DropHandler")); //$NON-NLS-1$
      wizardDialog.setBlockOnOpen(false);
      wizardDialog.create();
      wizardDialog.open();
    }
  }
View Full Code Here


    };
    wizard.setWindowTitle(AttributeGroupMessages.getString(
        "DialogUtil.createTitle", group.getTagName())); //$NON-NLS-1$
    wizard.setDefaultPageImageDescriptor(PDPlugin.getDefault()
        .getImageDescriptor("newsuade_wiz.gif")); //$NON-NLS-1$
    CommonWizardDialog dialog = new CommonWizardDialog(shell, wizard);

    return dialog.open() == Window.OK;
  }
View Full Code Here

    Map<String, ILinkCreator> map = calAvailableLinkCreator();
    if (map.size() > 1) {
      CreateLinkWizard wizard = new CreateLinkWizard(_editPart, _range,
          map);
      wizard.setPageTitle(WIZARD_PAGE_TITLE);
      CommonWizardDialog wizardDialog = new CommonWizardDialog(
          getShell(), wizard);
      wizardDialog.create();
      if (wizardDialog.open() == Window.OK) {
        _linkType = wizard.getChosenLinkType();
      }
    }
    // else must be html link
    else if (map.size() == 1) {
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.common.ui.internal.dialogs.CommonWizardDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.