org.openl.rules.lang.xls.XlsSheetSourceCodeModule.getWorkbookSource()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(6.9k)|赞(0)|评价(0)|浏览(83)

本文整理了Java中org.openl.rules.lang.xls.XlsSheetSourceCodeModule.getWorkbookSource()方法的一些代码示例,展示了XlsSheetSourceCodeModule.getWorkbookSource()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XlsSheetSourceCodeModule.getWorkbookSource()方法的具体详情如下:
包路径:org.openl.rules.lang.xls.XlsSheetSourceCodeModule
类名称:XlsSheetSourceCodeModule
方法名:getWorkbookSource

XlsSheetSourceCodeModule.getWorkbookSource介绍

暂无

代码示例

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

/**
 * {@inheritDoc}
 */
@Override
public Object makeObject(TableSyntaxNode tsn) {
  return tsn.getXlsSheetSourceCodeModule().getWorkbookSource();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

/**
 * {@inheritDoc}
 */
@Override
public Object makeObject(TableSyntaxNode tsn) {
  return tsn.getXlsSheetSourceCodeModule().getWorkbookSource();
}

代码示例来源:origin: openl-tablets/openl-tablets

protected void stopEditing() {
  if (isEditing()) {
    sheetSource.getWorkbookSource().getWorkbookLoader().setCanUnload(true);
    writableGrid = null;
  }
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableUri(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableUri(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableUri(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableUri(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableUri(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: openl-tablets/openl-tablets

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: openl-tablets/openl-tablets

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: openl-tablets/openl-tablets

@Override
protected void onFinish() throws Exception {
  XlsSheetSourceCodeModule sheetSourceModule = getDestinationSheet();
  String newTableUri = buildTable(sheetSourceModule);
  setNewTableId(newTableUri);
  getModifiedWorkbooks().add(sheetSourceModule.getWorkbookSource());
  super.onFinish();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.tableeditor

/**
 * @return New table id on the sheet where it was saved. It is needed for tables that were moved
 * to new place during adding new rows and columns on editing. We need to know new destination of the table.
 * @throws IOException
 */
public synchronized String save() throws IOException {
  XlsSheetGridModel xlsgrid = (XlsSheetGridModel) gridTable.getGrid();
  xlsgrid.getSheetSource().getWorkbookSource().save();
  actions = new UndoableActions();
  String uri = getOriginalGridTable().getUri();
  return TableUtils.makeTableId(uri);
}

代码示例来源:origin: openl-tablets/openl-tablets

/**
 * @return New table id on the sheet where it was saved. It is needed for tables that were moved
 * to new place during adding new rows and columns on editing. We need to know new destination of the table.
 */
public synchronized String save() throws IOException {
  XlsSheetGridModel xlsgrid = (XlsSheetGridModel) gridTable.getGrid();
  xlsgrid.getSheetSource().getWorkbookSource().save();
  actions = new UndoableActions();
  String uri = getOriginalGridTable().getUri();
  return TableUtils.makeTableId(uri);
}

相关文章