use of com.intellij.openapi.wm.StatusBar in project azure-tools-for-java by Microsoft.
the class UpdateDeploymentAction method doActionPerformed.
private void doActionPerformed(NodeActionEvent e, boolean isLoggedIn, Project project) {
StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
try {
if (isLoggedIn) {
UpdateDeploymentForm updateDeploymentForm = new UpdateDeploymentForm(project, deploymentNode);
updateDeploymentForm.show();
}
} catch (Exception ex) {
AzurePlugin.log("Error Update Deployment", ex);
UIUtils.showNotification(statusBar, NOTIFY_UPDATE_DEPLOYMENT_FAIL + ", " + ex.getMessage(), MessageType.ERROR);
}
}
Aggregations