Called when the param TOC has been fully updated
773032
def _param_toc_updated_cb(self):
        """"""
        logger.info('Param TOC finished updating')
        self.connected_ts = datetime.datetime.now()
        self.connected.call(self.link_uri)
        # Trigger the update for all the parameters
        self.param.request_update_of_all_params()
703355
private void updateCache(int index, QueryParameters params) {
        if (generatedCacheMap.containsKey(index) == true) {
            this.generatedCacheMap.put(index, params);
        } else {
            this.resultSetCacheMap.put(index, params);
        }
    }
911250
public void onVerbatim(String str, WikiParameters params)
    {
        checkBlockContainer();

        fVerbatimContent = str;
        fVerbatimParameters = params;
    }
25489
private function updateRepr(): void
    {
        $this->message = $this->rawMessage;

        $dot = false;
        if (mb_substr($this->message, -1) === '.') {
            $this->message = mb_substr($this->message, 0, -1);
            $dot = true;
        }

        if ($this->parsedLine >= 0) {
            $this->message .= sprintf(' at line %d', $this->parsedLine);
        }

        if ($this->snippet) {
            $this->message .= sprintf(' (near "%s")', $this->snippet);
        }

        if ($dot) {
            $this->message .= '.';
        }
    }
938855
private String writeUpdateString(Map<String, String> param) {
        StringBuffer fieldStringBuffer = new StringBuffer();
        for(Entry<String, String> entry : param.entrySet()){
        	fieldStringBuffer.append("<field name=\"").append(entry.getKey()).append("\">")
        			.append(StringEscapeUtils.escapeXml(entry.getValue())).append("</field>");
        }
        fieldStringBuffer.insert(0,"<add><doc>").append("</doc></add>");
        
        return fieldStringBuffer.toString();
    }
280988
private void updateDecoration() {
        if (lastResult != null) {
            if (lastResult) {
                setIcon(validIcon);
                setToolTipText(validText);
            } else {
                setIcon(invalidIcon);
                setToolTipText(invalidText);
            }
        }
    }
353707
def refresh_toc(self, refresh_done_callback, toc_cache):
        
        self._useV2 = self.cf.platform.get_protocol_version() >= 4
        toc_fetcher = TocFetcher(self.cf, ParamTocElement,
                                 CRTPPort.PARAM, self.toc,
                                 refresh_done_callback, toc_cache)
        toc_fetcher.start()
990765
def __updateDataItem(self):
        """"""
        uri = self.getUri()        
        self.__dataItem = self.__parseResponseServer(uri)
572340
private void onPerspectiveChanged(@Observes PluginSaved event) {
        Plugin plugin = event.getPlugin();
        String pluginName = plugin.getName();
        if (perspectiveIds.contains(pluginName)) {
            super.refresh();
        }
    }
1371451
function concludeEdits() {
                    editsQueued = false;

                    if (listDataAdapter.endEdits && beginEditsCalled && !editsInProgress) {
                        beginEditsCalled = false;
                        listDataAdapter.endEdits();
                    }

                    // See if there's a refresh that needs to begin
                    if (refreshRequested) {
                        refreshRequested = false;
                        beginRefresh();
                    } else {
                        // Otherwise, see if anything needs to be fetched
                        postFetch();
                    }
                }
598558
function updateTOC() {
  if (ov && svc.hasLoaded()) {
    var toc = '';
    var scale = 591657527.591555 / (Math.pow(2, map.getZoom()));//591657527.591555 is the scale at level 0
    var layers = svc.layers;
    for (var i = 0; i < layers.length; i++) {
      var layer = layers[i];
      var inScale = layer.isInScale(scale);
      toc += '<div style="color:' + (inScale ? 'black' : 'gray') + '">';
      if (layer.subLayerIds) {
        toc += layer.name + '(group)<br/>';
      } else {
        if (layer.parentLayer) {
          toc += '&nbsp;&nbsp;&nbsp;&nbsp;';
        }
        toc += '<input type="checkbox" id="layer' + layer.id + '"';
        if (layer.visible) {
          toc += ' checked="checked"';
        }
        if (!inScale || svc.singleFusedMapCache) {
          toc += ' disabled="disabled"';
        }
        toc += ' onclick="setLayerVisibility()">' + layer.name + '<br/>';
      }
      toc += '</div>';
    }
    document.getElementById('toc').innerHTML = toc;
  }
  
}
537827
def OnContentChanged(self, event):
        """"""

        self.main_window.grid.update_attribute_toolbar()

        title = self.main_window.GetTitle()

        if undo.stack().haschanged():
            # Put * in front of title
            if title[:2] != "* ":
                new_title = "* " + title
                post_command_event(self.main_window, self.main_window.TitleMsg,
                                   text=new_title)

        elif title[:2] == "* ":
            # Remove * in front of title
            new_title = title[2:]
            post_command_event(self.main_window, self.main_window.TitleMsg,
                               text=new_title)
556594
private void updatePinProgressContentDescription(ProgressButton button) {
    int progress = button.getProgress();
    if (progress <= 0) {
      button.setContentDescription(getString(
          button.isChecked() ? R.string.content_desc_pinned_not_downloaded
              : R.string.content_desc_unpinned_not_downloaded));
    } else if (progress >= button.getMax()) {
      button.setContentDescription(getString(
          button.isChecked() ? R.string.content_desc_pinned_downloaded
              : R.string.content_desc_unpinned_downloaded));
    } else {
      button.setContentDescription(getString(
          button.isChecked() ? R.string.content_desc_pinned_downloading
              : R.string.content_desc_unpinned_downloading));
    }
  }
1340648
protected void updateParameterTable() {
    parameterTable.setEnabled(false);
    ListParameterization config = new ListParameterization();
    parameterTable.appendParameters(config);
    setParameters(config);
    if(config.getErrors().size() > 0) {
      reportErrors(config);
    }
    config.clearErrors();
    parameterTable.setEnabled(true);
  }
292526
def _is_toc_changed(self, toc_file):
        '''
        
        '''
        fname = '%s.toc' % self.project_name
        if os.path.isfile(fname):
            with open(fname) as fobj:
                if fobj.read() != toc_file:
                    return True
813139
private void updateParams() {
        for (int m = 0; m < documents.length; m++) {
            for (int k = 0; k < K; k++) {
                thetasum[m][k] += (nd[m][k] + alpha) / (ndsum[m] + K * alpha);
            }
        }
        for (int k = 0; k < K; k++) {
            for (int w = 0; w < V; w++) {
                phisum[k][w] += (word_topic_matrix[w][k] + beta) / (nwsum[k] + V * beta);
            }
        }
        numstats++;
    }
16623
void update() {
        Application.update(filter, list, main, footer, toggleAll, count, clearCompleted);
    }