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


Java NodeSettingsWO.addBoolean方法代码示例

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


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

示例1: saveSettings

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

	settings.addDouble(CFG_LEVEL_OF_DETECTION, nullToNan(levelOfDetection));
	settings.addBoolean(CFG_FIT_ALL_AT_ONCE, fitAllAtOnce);
	settings.addString(CFG_INIT_VALUES_WITH_DIFFERENT_START, SERIALIZER.toXml(initValuesWithDifferentStart));
	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.addInt(CFG_MAX_LEVENBERG_ITERATIONS, maxLevenbergIterations);
	settings.addBoolean(CFG_ENFORCE_LIMITS, enforceLimits);
	settings.addString(CFG_MIN_START_VALUES, SERIALIZER.toXml(minStartValues));
	settings.addString(CFG_MAX_START_VALUES, SERIALIZER.toXml(maxStartValues));
	settings.addString(CFG_START_VALUES, SERIALIZER.toXml(startValues));
	settings.addDouble(CFG_STEP_SIZE, stepSize);
	settings.addString(CFG_INTERPOLATOR, interpolator.name());
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:22,代码来源:FittingSettings.java

示例2: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addBoolean(CFG_MIN_TO_ZERO, minToZero);
	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_EXPORT_AS_SVG, exportAsSvg);
	settings.addBoolean(CFG_SHOW_CONFIDENCE, showConfidence);
	settings.addInt(CFG_RESOLUTION, resolution);
	settings.addString(CFG_INTERPOLATOR, interpolator.name());
	settings.addString(CFG_VAR_X, varX);
	settings.addString(CFG_TRANSFORM_X, transformX.name());
	settings.addString(CFG_TRANSFORM_Y, transformY.name());
	settings.addBoolean(CFG_SELECT_ALL, selectAll);
	settings.addString(CFG_SELECTED_IDS, SERIALIZER.toXml(selectedIDs));
	settings.addString(CFG_COLORS, SERIALIZER.toXml(colors));
	settings.addString(CFG_SHAPES, SERIALIZER.toXml(shapes));
	settings.addString(CFG_VARIABLE_VALUES, SERIALIZER.toXml(variableValues));
	settings.addString(CFG_MIN_VARIABLE_VALUES, SERIALIZER.toXml(minVariableValues));
	settings.addString(CFG_MAX_VARIABLE_VALUES, SERIALIZER.toXml(maxVariableValues));

}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:27,代码来源:ViewSettings.java

示例3: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addString(CFG_GIS_TYPE, gisType.name());
	settings.addString(CFG_SHAPE_COLUMN, shapeColumn);
	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.addInt(CFG_FONT_SIZE, fontSize);
	settings.addBoolean(CFG_FONT_BOLD, fontBold);
	settings.addInt(CFG_BORDER_ALPHA, borderAlpha);
	settings.addString(CFG_SELECTED_NODES, SERIALIZER.toXml(selectedNodes));
	settings.addString(CFG_NODE_HIGHLIGHT_CONDITIONS, SERIALIZER.toXml(nodeHighlightConditions));
	settings.addString(CFG_CANVAS_SIZE, SERIALIZER.toXml(canvasSize));
	settings.addString(CFG_LABEL, label);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:18,代码来源:GisSettings.java

示例4: 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

示例5: 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

示例6: 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

示例7: 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

示例8: 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

示例9: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	super.saveSettings(settings);
	settings.addString(CFG_NODE_LATITUDE_COLUMN, nodeLatitudeColumn);
	settings.addString(CFG_NODE_LONGITUDE_COLUMN, nodeLongitudeColumn);
	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.addBoolean(CFG_AVOID_OVERLAY, avoidOverlay);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:12,代码来源:LocationSettings.java

示例10: 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

示例11: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void saveSettings(NodeSettingsWO settings, String prefix) {
	settings.addDouble(prefix + CFG_SCALE_X, transform.getScaleX());
	settings.addDouble(prefix + CFG_SCALE_Y, transform.getScaleY());
	settings.addDouble(prefix + CFG_TRANSLATION_X, transform.getTranslationX());
	settings.addDouble(prefix + CFG_TRANSLATION_Y, transform.getTranslationY());
	settings.addString(prefix + CFG_NODE_POSITIONS, SERIALIZER.toXml(nodePositions));
	settings.addInt(prefix + CFG_NODE_SIZE, nodeSize);
	settings.addInt(prefix + CFG_NODE_MAX_SIZE, nullToMinusOne(nodeMaxSize));
	settings.addInt(prefix + CFG_EDGE_THICKNESS, edgeThickness);
	settings.addInt(prefix + CFG_EDGE_MAX_THICKNESS, nullToMinusOne(edgeMaxThickness));
	settings.addInt(prefix + CFG_FONT_SIZE, fontSize);
	settings.addBoolean(prefix + CFG_FONT_BOLD, fontBold);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:14,代码来源:GraphSettings.java

示例12: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void saveSettings(NodeSettingsWO settings, String prefix) {
	// TODO Auto-generated method stub
	settings.addDouble(prefix + CFG_SCALE_X, transform.getScaleX());
	settings.addDouble(prefix + CFG_SCALE_Y, transform.getScaleY());
	settings.addDouble(prefix + CFG_TRANSLATION_X, transform.getTranslationX());
	settings.addDouble(prefix + CFG_TRANSLATION_Y, transform.getTranslationY());
	settings.addInt(prefix + CFG_NODE_SIZE, nodeSize);
	settings.addInt(prefix + CFG_NODE_MAX_SIZE, nullToMinusOne(nodeMaxSize));
	settings.addInt(prefix + CFG_EDGE_THICKNESS, edgeThickness);
	settings.addInt(prefix + CFG_EDGE_MAX_THICKNESS, nullToMinusOne(edgeMaxThickness));
	settings.addInt(prefix + CFG_FONT_SIZE, fontSize);
	settings.addBoolean(prefix + CFG_FONT_BOLD, fontBold);
	settings.addInt(prefix + CFG_BORDER_ALPHA, borderAlpha);
	settings.addBoolean(prefix + CFG_AVOID_OVERLAY, avoidOverlay);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:16,代码来源:GisSettings.java

示例13: saveSettings

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
@Override
public void saveSettings(NodeSettingsWO settings) {
	settings.addBoolean(CFG_SHOW_GIS, showGis);
	settings.addString(CFG_GIS_TYPE, gisType.name());
	settings.addBoolean(CFG_EXPORT_AS_SVG, exportAsSvg);
	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.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);

	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.addBoolean(CFG_ENFORCE_TEMPORAL_ORDER, enforeTemporalOrder);
	settings.addBoolean(CFG_SHOW_FORWARD, showForward);
	settings.addBoolean(CFG_SHOW_DELIVERIES_WITHOUT_DATE, showDeliveriesWithoutDate);
	settings.addString(CFG_SHOW_TO_DATE, SERIALIZER.toXml(showToDate));

	graphSettings.saveSettings(settings);
	gisSettings.saveSettings(settings);
	this.gobjExplosionSettingsList.saveSettings(settings);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:38,代码来源:TracingViewSettings.java

示例14: 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

示例15: save

import org.knime.core.node.NodeSettingsWO; //导入方法依赖的package包/类
public void save(NodeSettingsWO settings) {
	settings.addString(CFG_FILE_NAME, fileName);
	settings.addBoolean(CFG_TREAT_NOT_DETECTED_AS_ZERO, treatNotDetectedAsZero);
}
 
开发者ID:SiLeBAT,项目名称:BfROpenLab,代码行数:5,代码来源:CombaseReaderSettings.java


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