Package org.cloudfoundry.ide.eclipse.server.ui.internal

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.CloudServerSpacesDelegate


  private ValidationEventHandler validationNotifier;

  protected CloudFoundryCredentialsWizardPage(CloudFoundryServer server) {
    super(server.getServer().getName() + Messages.CloudFoundryCredentialsWizardPage_TEXT_CRENDENTIAL);
    cloudServerSpaceDelegate = new CloudServerSpacesDelegate(server);
    WizardStatusHandler wizardUpdateHandler = new WizardPageStatusHandler(this);

     validationNotifier = new ValidationEventHandler(new CredentialsWizardValidator(server,
        cloudServerSpaceDelegate));
     validationNotifier.addStatusHandler(wizardUpdateHandler);
View Full Code Here


  @Override
  public IWizardPage getNextPage(IWizardPage page) {
    if (page == credentialsPage) {
      // Only create the page if there is a cloud space descriptor set
      // that has a list of orgs and spaces to choose from
      CloudServerSpacesDelegate cloudServerSpaceDelegate = credentialsPage.getServerSpaceDelegate();
      if (cloudServerSpaceDelegate != null && cloudServerSpaceDelegate.getCurrentSpacesDescriptor() != null) {
        cloudSpacePage = new CloudFoundryCloudSpaceWizardpage(server, cloudServerSpaceDelegate);
        cloudSpacePage.setWizard(this);
        return cloudSpacePage;
      }
View Full Code Here

  public void enter() {
    initServer();

    // New validator should be created as the cloud server may have changed.

    ServerWizardValidator validator = new CredentialsWizardValidator(cloudServer, new CloudServerSpacesDelegate(
        cloudServer));
    if (validationHandler != null) {
      validationHandler.updateValidator(validator);
    }
View Full Code Here

TOP

Related Classes of org.cloudfoundry.ide.eclipse.server.ui.internal.CloudServerSpacesDelegate

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.