当前位置: 首页>>代码示例>>Java>>正文


Java NodeSettingsWO.addString方法代码示例

本文整理汇总了Java中org.knime.core.node.NodeSettingsWO.addString方法的典型用法代码示例。如果您正苦于以下问题:Java NodeSettingsWO.addString方法的具体用法?Java NodeSettingsWO.addString怎么用?Java NodeSettingsWO.addString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.knime.core.node.NodeSettingsWO的用法示例。


在下文中一共展示了NodeSettingsWO.addString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
/** Saves current parameters to settings object.
 * @param settings To save to.
 */
public void saveSettings(final NodeSettingsWO settings) {
    settings.addString(SCRIPT_IMPORTS, m_scriptImports);
    settings.addString(SCRIPT_FIELDS, m_scriptFields);
    settings.addString(SCRIPT_BODY, m_scriptBody);
    settings.addStringArray(JAR_FILES, m_jarFiles);
    m_outCols.saveSettings(settings.addConfig(OUT_COLS));
    m_outVars.saveSettings(settings.addConfig(OUT_VARS));
    m_inCols.saveSettings(settings.addConfig(IN_COLS));
    m_inVars.saveSettings(settings.addConfig(IN_VARS));
    settings.addString(VERSION, m_version);
    settings.addString(TEMPLATE_UUID, m_templateUUID);
    settings.addBoolean(RUN_ON_EXECUTE, m_runOnExecute);
}
 
开发者ID:pavloff-de,项目名称:spark4knime,代码行数:17,代码来源:JavaSnippetSettings.java

示例2: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
/** Saves current parameters to settings object.
 * @param settings To save to.
 */
public void saveSettings(final NodeSettingsWO settings) {
    settings.addString(META_CATEGORY, m_metaCategory.getName());
    settings.addString(CATEGORY, m_category);
    settings.addString(NAME, m_name);
    settings.addString(DESCRIPTION, m_description);
    settings.addString(VERSION, m_version);
    NodeSettingsWO snippet = settings.addNodeSettings(SNIPPET);
    m_snippetSettings.saveSettings(snippet);
}
 
开发者ID:pavloff-de,项目名称:spark4knime,代码行数:13,代码来源:JSnippetTemplate.java

示例3: save

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void save(NodeSettingsWO settings) throws InvalidSettingsException {
	super.save(settings);
	settings.addString(CFG_SELECTED_ID, selectedID);
	settings.addString(CFG_SELECTED_VALUES_X, XmlUtils.toXml(selectedValuesX));
	settings.addString(CFG_COLOR_LISTS, XmlUtils.toXml(colorLists));
	settings.addString(CFG_SHAPE_LISTS, XmlUtils.toXml(shapeLists));
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:9,代码来源:MultiDimensionViewSettings.java

示例4: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addStringArray(CFG_DEPENDENT_VARIABLES, dependentVariables.toArray(new String[0]));
	settings.addStringArray(CFG_TERMS, terms.toArray(new String[0]));
	settings.addDoubleArray(CFG_INIT_VALUES, initValues.stream().mapToDouble(NodeSettings::nullToNan).toArray());
	settings.addStringArray(CFG_INDEPENDENT_VARIABLES, independentVariables.toArray(new String[0]));
	settings.addString(CFG_DIFF_VARIABLE, diffVariable);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:9,代码来源:DiffFunctionCreatorSettings.java

示例5: save

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void save(NodeSettingsWO settings) throws InvalidSettingsException {
	if (displayHighlighted) {
		throw new InvalidSettingsException("Dialog cannot be saved with \"Display Highlighted Row\" enabled");
	}

	settings.addBoolean(CFG_FIRST_START, firstStart);
	settings.addString(CFG_VAR_X, varX);
	settings.addString(CFG_VAR_Y, varY);
	settings.addBoolean(CFG_MANUAL_RANGE, manualRange);
	settings.addDouble(CFG_MIN_X, minX);
	settings.addDouble(CFG_MAX_X, maxX);
	settings.addDouble(CFG_MIN_Y, minY);
	settings.addDouble(CFG_MAX_Y, maxY);
	settings.addBoolean(CFG_DRAW_LINES, drawLines);
	settings.addBoolean(CFG_SHOW_LEGEND, showLegend);
	settings.addBoolean(CFG_DISPLAY_HIGHLIGHTED, displayHighlighted);
	settings.addBoolean(CFG_EXPORT_AS_SVG, exportAsSvg);
	settings.addBoolean(CFG_SHOW_CONFIDENCE, showConfidence);
	settings.addBoolean(CFG_SHOW_PREDICTION, showPrediction);
	settings.addInt(CFG_EXPORT_WIDTH, exportWidth);
	settings.addInt(CFG_EXPORT_HEIGHT, exportHeight);
	settings.addInt(CFG_RESOLUTION, resolution);
	settings.addString(CFG_UNIT_X, new PmmUnit.ConversionDelegate().convertToString(unitX));
	settings.addString(CFG_UNIT_Y, new PmmUnit.ConversionDelegate().convertToString(unitY));
	settings.addString(CFG_TRANSFORM_X, transformX.name());
	settings.addString(CFG_TRANSFORM_Y, transformY.name());
	settings.addString(CFG_VISIBLE_COLUMNS, XmlUtils.toXml(visibleColumns));
	settings.addString(CFG_COLUMN_WIDTHS, XmlUtils.toXml(columnWidths));
	settings.addString(CFG_FILTERS, XmlUtils.toXml(filters));
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:31,代码来源:ViewSettings.java

示例6: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void saveSettings(NodeSettingsWO settings) {
	if (!expertSettings) {
		setExpertParametersToDefault();
	}

	settings.addString(CFG_FITTING_TYPE, fittingType != null ? fittingType.name() : null);
	settings.addBoolean(CFG_ENFORCE_LIMITS, enforceLimits);
	settings.addBoolean(CFG_EXPERT_SETTINGS, expertSettings);
	settings.addInt(CFG_N_PARAMETER_SPACE, nParameterSpace);
	settings.addInt(CFG_N_LEVENBERG, nLevenberg);
	settings.addBoolean(CFG_STOP_WHEN_SUCCESSFUL, stopWhenSuccessful);
	settings.addString(CFG_MIN_START_VALUES, XmlUtils.toXml(minStartValues));
	settings.addString(CFG_MAX_START_VALUES, XmlUtils.toXml(maxStartValues));
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:15,代码来源:ModelFittingSettings.java

示例7: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addString(CFG_SERVICE_PROVIDER, serviceProvider.name());
	settings.addString(CFG_ADDRESS_COLUMN, addressColumn);
	settings.addString(CFG_STREET_COLUMN, streetColumn);
	settings.addString(CFG_CITY_COLUMN, cityColumn);
	settings.addString(CFG_ZIP_COLUMN, zipColumn);
	settings.addString(CFG_COUNTRY_CODE_COLUMN, countryCodeColumn);
	settings.addString(CFG_GISGRAPHY_SERVER, gisgraphyServer);
	settings.addString(CFG_PHOTON_SERVER, photonServer);
	settings.addInt(CFG_REQUEST_DELAY, requestDelay);
	settings.addString(CFG_MULTIPLE_RESULTS, multipleResults.name());
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:14,代码来源:GeocodingSettings.java

示例8: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addString(CFG_NODE_WEIGHTS, SERIALIZER.toXml(nodeWeights));
	settings.addString(CFG_EDGE_WEIGHTS, SERIALIZER.toXml(edgeWeights));
	settings.addString(CFG_NODE_CROSS_CONTAMINATIONS, SERIALIZER.toXml(nodeCrossContaminations));
	settings.addString(CFG_EDGE_CROSS_CONTAMINATIONS, SERIALIZER.toXml(edgeCrossContaminations));
	settings.addString(CFG_NODE_KILL_CONTAMINATIONS, SERIALIZER.toXml(nodeKillContaminations));
	settings.addString(CFG_EDGE_KILL_CONTAMINATIONS, SERIALIZER.toXml(edgeKillContaminations));
	settings.addString(CFG_OBSERVED_NODES, SERIALIZER.toXml(observedNodes));
	settings.addString(CFG_OBSERVED_EDGES, SERIALIZER.toXml(observedEdges));
	settings.addString(CFG_NODE_WEIGHT_CONDITION, SERIALIZER.toXml(nodeWeightCondition));
	settings.addString(CFG_EDGE_WEIGHT_CONDITION, SERIALIZER.toXml(edgeWeightCondition));
	settings.addString(CFG_NODE_CONTAMINATION_CONDITION, SERIALIZER.toXml(nodeContaminationCondition));
	settings.addString(CFG_EDGE_CONTAMINATION_CONDITION, SERIALIZER.toXml(edgeContaminationCondition));
	settings.addString(CFG_NODE_KILL_CONDITION, SERIALIZER.toXml(nodeKillCondition));
	settings.addString(CFG_EDGE_KILL_CONDITION, SERIALIZER.toXml(edgeKillCondition));
	settings.addString(CFG_OBSERVED_NODES_CONDITION, SERIALIZER.toXml(observedNodesCondition));
	settings.addString(CFG_OBSERVED_EDGES_CONDITION, SERIALIZER.toXml(observedEdgesCondition));
	settings.addDouble(CFG_NODE_WEIGHT_CONDITION_VALUE, nullToNan(nodeWeightConditionValue));
	settings.addDouble(CFG_EDGE_WEIGHT_CONDITION_VALUE, nullToNan(edgeWeightConditionValue));
	settings.addBoolean(CFG_NODE_CONTAMINATION_CONDITION_VALUE, nullToFalse(nodeContaminationConditionValue));
	settings.addBoolean(CFG_EDGE_CONTAMINATION_CONDITION_VALUE, nullToFalse(edgeContaminationConditionValue));
	settings.addBoolean(CFG_NODE_KILL_CONDITION_VALUE, nullToFalse(nodeKillConditionValue));
	settings.addBoolean(CFG_EDGE_KILL_CONDITION_VALUE, nullToFalse(edgeKillConditionValue));
	settings.addBoolean(CFG_OBSERVED_NODES_CONDITION_VALUE, nullToFalse(observedNodesConditionValue));
	settings.addBoolean(CFG_OBSERVED_EDGES_CONDITION_VALUE, nullToFalse(observedEdgesConditionValue));
	settings.addBoolean(CFG_ENFORCE_TEMPORAL_ORDER, enforeTemporalOrder);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:29,代码来源:TracingParametersSettings.java

示例9: save

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void save(NodeSettingsWO settings) {
	settings.addString(CFG_FILE_NAME, fileName);
	settings.addString(CFG_SHEET_NAME, sheetName);
	settings.addString(CFG_ID_COLUMN, idColumn);
	settings.addString(CFG_ORGANISM_COLUMN, organismColumn);
	settings.addString(CFG_MATRIX_COLUMN, matrixColumn);
	settings.addString(CFG_CONDITION_COLUMNS, XmlUtils.toXml(conditionColumns));
	settings.addString(CFG_UNITS, EmfUtils.listToXml(units));
	settings.addString(CFG_PARAM_COLUMNS, XmlUtils.toXml(paramColumns));
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:11,代码来源:XlsModelReaderSettings.java

示例10: save

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void save(NodeSettingsWO settings) throws InvalidSettingsException {
	super.save(settings);
	settings.addString(CFG_VARIABLE_VALUES, XmlUtils.toXml(variableValues));
	settings.addString(CFG_COLORS, XmlUtils.toXml(colors));
	settings.addString(CFG_SHAPES, XmlUtils.toXml(shapes));
	settings.addString(CFG_SAMPLE_VALUES, XmlUtils.toXml(sampleValues));
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:9,代码来源:SingleDimensionViewSettings.java

示例11: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addString(CFG_MODEL, model);
	settings.addString(CFG_FILTER, SERIALIZER.toXml(filter));
	settings.addInt(CFG_MIN_POINTS, minPoints);
	settings.addDouble(CFG_MAX_DISTANCE, maxDistance);
	settings.addInt(CFG_NUM_CLUSTERS, numClusters);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:9,代码来源:DBSCANNSettings.java

示例12: save

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void save(NodeSettingsWO settings) {
	settings.addString(CFG_ID, id);
	settings.addString(CFG_ORGANISM, organism);
	settings.addString(CFG_MATRIX, matrix);
	settings.addString(CFG_CONDITIONS, XmlUtils.toXml(conditions));
	settings.addString(CFG_UNITS, EmfUtils.listToXml(units));
	settings.addString(CFG_PARAMETERS, XmlUtils.toXml(parameters));
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:9,代码来源:ModelCreatorSettings.java

示例13: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addBoolean(CFG_LOT_BASED, lotBased);
	settings.addBoolean(CFG_ENSURE_BACKWARD_COMPATIBILITY, ensureBackwardCompatibility);
	settings.addBoolean(CFG_ANONYMIZE, anonymize);
	settings.addBoolean(CFG_USE_EXTERNAL_DB, useExternalDb);
	settings.addString(CFG_DB_PATH, dbPath);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:9,代码来源:MyKrisenInterfacesSettings.java

示例14: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addBoolean(CFG_BUSSTOP, busstop);
	settings.addBoolean(CFG_ANONYMIZE, anonymize);
	settings.addString(CFG_XML_PATH, xmlPath);
	settings.addString(CFG_SERVER, server);
	settings.addString(CFG_USER, user);
	settings.addString(CFG_PASS, pass);
	settings.addString(CFG_ENVIRONMENT, environment);
	settings.addString(CFG_CASE, caseNumber);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:12,代码来源:MyKrisenInterfacesXmlSettings.java

示例15: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addString(CFG_NODE_ID_COLUMN, nodeIdColumn);
	settings.addString(CFG_EDGE_FROM_COLUMN, edgeFromColumn);
	settings.addString(CFG_EDGE_TO_COLUMN, edgeToColumn);
	settings.addBoolean(CFG_SKIP_EDGELESS_NODES, skipEdgelessNodes);
	settings.addBoolean(CFG_SHOW_EDGES_IN_META_NODE, showEdgesInMetaNode);
	settings.addBoolean(CFG_JOIN_EDGES, joinEdges);
	settings.addBoolean(CFG_HIDE_ARROW_HEAD, hideArrowHead);
	settings.addBoolean(CFG_ARROW_HEAD_IN_MIDDLE, arrowHeadInMiddle);
	settings.addString(CFG_NODE_LABEL_POSITION, nodeLabelPosition.name());
	settings.addBoolean(CFG_SHOW_LEGEND, showLegend);
	settings.addDouble(CFG_SCALE_X, transform.getScaleX());
	settings.addDouble(CFG_SCALE_Y, transform.getScaleY());
	settings.addDouble(CFG_TRANSLATION_X, transform.getTranslationX());
	settings.addDouble(CFG_TRANSLATION_Y, transform.getTranslationY());
	settings.addString(CFG_NODE_POSITIONS, SERIALIZER.toXml(nodePositions));
	settings.addInt(CFG_NODE_SIZE, nodeSize);
	settings.addInt(CFG_NODE_MAX_SIZE, nullToMinusOne(nodeMaxSize));
	settings.addInt(CFG_EDGE_THICKNESS, edgeThickness);
	settings.addInt(CFG_EDGE_MAX_THICKNESS, nullToMinusOne(edgeMaxThickness));
	settings.addInt(CFG_FONT_SIZE, fontSize);
	settings.addBoolean(CFG_FONT_BOLD, fontBold);
	settings.addString(CFG_CANVAS_SIZE, SERIALIZER.toXml(canvasSize));
	settings.addString(CFG_SELECTED_NODES, SERIALIZER.toXml(selectedNodes));
	settings.addString(CFG_SELECTED_EDGES, SERIALIZER.toXml(selectedEdges));
	settings.addString(CFG_NODE_HIGHLIGHT_CONDITIONS, SERIALIZER.toXml(nodeHighlightConditions));
	settings.addString(CFG_EDGE_HIGHLIGHT_CONDITIONS, SERIALIZER.toXml(edgeHighlightConditions));
	settings.addString(CFG_COLLAPSED_NODES, SERIALIZER.toXml(collapsedNodes));
	settings.addString(CFG_LABEL, label);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:32,代码来源:GraphSettings.java


注:本文中的org.knime.core.node.NodeSettingsWO.addString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。