Interface RenameColumnTaskFactory

  • All Superinterfaces:
    TableColumnTaskFactory

    public interface RenameColumnTaskFactory
    extends TableColumnTaskFactory
    This interface provides a task iterator for renaming a column.

    Module: core-task-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>core-task-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
    • Method Detail

      • createTaskIterator

        TaskIterator createTaskIterator​(CyColumn column,
                                        String newColumnName)
        Create a task iterator for renaming a selected column. The created task will run synchronously in the current thread and will not create a task monitor.
        Parameters:
        column - The selected column for renaming.
        newColumnName - The new name for the selected column.
        Returns:
        a task iterator of type TaskIterator.