public ProjectOptionsPanel(ClientFactory clientFactory) { initWidget(uiBinder.createAndBindUi(this)); this.eventBus = clientFactory.getEventBus(); setTooltipInitialState(); registerHandlers(); passwordError.setText(""); emailError.setText(""); }
private void handleProjects() { iconMap.clear(); projectIconsFlowPanel.clear(); HashMap<String, Project> projects = clientFactory.getProjects(); for (Project project : projects.values()) { addProjectIcon(project); } }
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)); } }