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)); } }