Package org.fusesource.ide.fabric8.ui.actions.jclouds

Examples of org.fusesource.ide.fabric8.ui.actions.jclouds.CreateJCloudsContainerAction


    if (getContainer().isRoot()) {
      menu.add(new CreateChildContainerAction(this));
    }

    menu.add(new CreateJCloudsContainerAction(getVersionNode(), this, null));
    menu.add(new CreateSshContainerAction(getVersionNode(), this, null));

  }
View Full Code Here


   * (org.eclipse.jface.action.IMenuManager)
   */
  @Override
  public void provideContextMenu(IMenuManager menu) {
    CreateChildContainerAction.addIfSingleRootContainer(menu, getFabric());
    menu.add(new CreateJCloudsContainerAction(getFabric()));
    menu.add(new CreateSshContainerAction(getFabric()));
  }
View Full Code Here

    protected List<?> getPropertySourcesForNode(Object node) {
        return node == null ? Collections.emptyList() : ((ContainersNode) node).getPropertySourceList();
    }

    protected CreateJCloudsContainerAction createCloudContainerAction(Object current) {
        return new CreateJCloudsContainerAction(getFabric());
    }
View Full Code Here

    protected void setCreateSshContainerAction(CreateSshContainerAction createSshContainerAction) {
        this.createSshContainerAction = createSshContainerAction;
    }

    protected CreateJCloudsContainerAction createCloudContainerAction(Fabric fabric) {
        return new CreateJCloudsContainerAction(fabric);
    }
View Full Code Here

  protected void setCreateSshContainerAction(CreateSshContainerAction createSshContainerAction) {
    this.createSshContainerAction = createSshContainerAction;
  }

  protected CreateJCloudsContainerAction createCloudContainerAction(Fabric fabric) {
    return new CreateJCloudsContainerAction(fabric);
  }
View Full Code Here

    super(node.getFabric());
    this.node = node;

    setCreateChildContainerAction(new CreateChildContainerAction(node));
    setCreateSshContainerAction(new CreateSshContainerAction(node.getVersionNode(), null, node));
    setCreateCloudContainerAction(new CreateJCloudsContainerAction(node.getVersionNode(), null, node));

    updateData();
  }
View Full Code Here

        return node == null ? Collections.emptyList() : ((ProfileNode) node).getPropertySourceList();
    }

    @Override
    protected CreateJCloudsContainerAction createCloudContainerAction(Object current) {
        final ProfileNode node = (ProfileNode) current;
        return new CreateJCloudsContainerAction(node.getVersionNode(), null, node);
    }
View Full Code Here

        return new CreateJCloudsContainerAction(node.getVersionNode(), null, node);
    }

    @Override
    protected CreateSshContainerAction createSshContainerAction(Object current) {
        final ProfileNode node = (ProfileNode) current;
        return new CreateSshContainerAction(node.getVersionNode(), null, node);
    }
View Full Code Here

        return new CreateSshContainerAction(node.getVersionNode(), null, node);
    }

    @Override
    protected CreateChildContainerAction createChildContainerAction(Object current) {
        final ProfileNode node = (ProfileNode) current;
        return new CreateChildContainerAction(node);
    }
View Full Code Here

    createProfileForm(profile, inner);

    createLabel(inner, Messages.profileParentsLabel);
    parentsForm.createColumnsViewer(inner);
    parentsForm.setProfilesViewerInput(node.getVersionNode());
    parentsForm.getProfilesViewer().setContentProvider(new ProfileParentsContentProvider(node));

    GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
    gridData.horizontalSpan = 2;
    parentsForm.getProfilesViewer().getTree().setLayoutData(gridData);
    List<ProfileDTO> parents = profile.getParents();
View Full Code Here

TOP

Related Classes of org.fusesource.ide.fabric8.ui.actions.jclouds.CreateJCloudsContainerAction

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.