Example #1
0
 public ProjectOptionsPanel(ClientFactory clientFactory) {
   initWidget(uiBinder.createAndBindUi(this));
   this.eventBus = clientFactory.getEventBus();
   setTooltipInitialState();
   registerHandlers();
   passwordError.setText("");
   emailError.setText("");
 }
Example #2
0
  private void handleProjects() {
    iconMap.clear();
    projectIconsFlowPanel.clear();

    HashMap<String, Project> projects = clientFactory.getProjects();

    for (Project project : projects.values()) {
      addProjectIcon(project);
    }
  }
Example #3
0
 public IconPanel(ClientFactory clientFactory) {
   initWidget(uiBinder.createAndBindUi(this));
   this.eventBus = clientFactory.getEventBus();
   this.clientFactory = clientFactory;
   iconMap = new HashMap<String, Integer>();
   desc = DescriptionPanel.getInstance();
   registerHandlers();
   // setupBreadCrumbs();
   setAppDescPanelInitialState();
   handleProjects();
 }
 public ProjectDeployerController(ClientFactory clientFactory) {
   initWidget(uiBinder.createAndBindUi(this));
   this.createdProjectName = "";
   this.currentPanelIndex = 0;
   this.eventBus = clientFactory.getEventBus();
   this.clientFactory = clientFactory;
   this.jsVarHandler = clientFactory.getJSVariableHandler();
   this.loadingPopup = new PopupPanel(false, true);
   this.appBrowserPanel = new AppBrowserPanel(clientFactory);
   this.projectOptionsPanel = new ProjectOptionsPanel(clientFactory);
   this.databaseOptionsPanel = new DatabaseOptionsPanel(clientFactory);
   this.deploymentOptionsPanel = new DeploymentOptionsPanel(clientFactory);
   setupLoadingPopup();
   setupDeployerDeckPanel();
   registerHandlers();
   setupBreadCrumbs();
   String token = jsVarHandler.getProjectToken();
   if (token != null) {
     eventBus.fireEvent(new AsyncRequestEvent("handleImportAppList", token));
   }
 }