@Override
    public void updateDeployments(Iterable<Deployment> deployments) {
        Deployment oldDeployment = deploymentColumn.getSelectedItem();
        Deployment newDeployment = null;

        if (oldDeployment != null) {
            for (Deployment d : deployments) {
                if (d.getName().equals(oldDeployment.getName())) {
                    newDeployment = d;
                }
            }
        }
        deploymentColumn.updateFrom(Lists.newArrayList(deployments), newDeployment);
    }
@ Override public void updateDeployments ( Iterable < Deployment > deployments ) { Deployment oldDeployment = deploymentColumn . getSelectedItem ( ) ; Deployment newDeployment = null ; if ( oldDeployment != null ) { for ( Deployment d : deployments ) { if ( d . getName ( ) . equals ( oldDeployment . getName ( ) ) ) { newDeployment = d ; } } } deploymentColumn . updateFrom ( Lists . newArrayList ( deployments ) , newDeployment ) ; }
------------------------------------------------------ update columns