PlotConfigurationTreeTransferHandler.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:rapidminer 作者:
/**
 * Is called if a {@link ValueSourceTreeNode} is dropped on the {@link PlotConfigurationTree}.
 */
private void valueSourceDrop(final ValueSourceTreeNode valueSourceTreeNode, TreePath path, final int childIndex,
        boolean importDataTableColumn) throws UnsupportedFlavorException, IOException, ChartConfigurationException {

    // fetch dropped value source and parent
    final ValueSource valueSource = valueSourceTreeNode.getUserObject();

    Object lastPathComponent = path.getLastPathComponent();
    if (lastPathComponent instanceof RangeAxisConfigTreeNode) {
        valueSourceDropOnRangeAxisConfig(valueSourceTreeNode, childIndex, valueSource, lastPathComponent);
    } else {
        valueSourceDropOnPlotConfiguration(valueSourceTreeNode, childIndex, valueSource, lastPathComponent,
                importDataTableColumn);
    }

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号