Package com.opengamma.web.server.conversion

Examples of com.opengamma.web.server.conversion.ConversionMode


  //-------------------------------------------------------------------------

  protected Map<String, Object> processCellValue(WebGridCell cell, ValueSpecification specification, Object value, Long resultTimestamp, ResultConverter<Object> converter) {
    boolean rowInViewport = getViewport().containsKey(cell.getRowId());
    Long lastHistoryTimestamp = getViewport().get(cell.getRowId());
    ConversionMode mode = getConversionMode(cell);   
    boolean isHistoryOutput = isHistoryOutput(cell);

    if (isHistoryOutput) {
      Object historyValue;
      if (value != null) {
View Full Code Here


    }
    Map<String, Object> dataMap = (Map<String, Object>) message.getData();
    String gridName = (String) dataMap.get("gridName");
    long jsRowId = (Long) dataMap.get("rowId");
    long jsColId = (Long) dataMap.get("colId");
    ConversionMode mode = ConversionMode.valueOf((String) dataMap.get("mode"));
    WebViewGrid grid = webView.getGridByName(gridName);
    if (grid == null) {
      s_logger.warn("Request to change update mode for cell in unknown grid '{}'", gridName);
    }
    grid.setConversionMode(WebGridCell.of((int) jsRowId, (int) jsColId), mode);
View Full Code Here

TOP

Related Classes of com.opengamma.web.server.conversion.ConversionMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.