Search in sources :

Example 1 with TableTaskFactory

use of org.cytoscape.task.TableTaskFactory in project cytoscape-impl by cytoscape.

the class CytoscapeMenuPopulator method addTableTaskFactory.

public void addTableTaskFactory(TableTaskFactory factory, Map<String, String> props) {
    final DynamicTaskFactoryProvisioner factoryProvisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
    final TaskFactory provisioner = factoryProvisioner.createFor(factory);
    provisionerMap.put(factory, provisioner);
    addFactory(provisioner, props);
}
Also used : NetworkViewCollectionTaskFactory(org.cytoscape.task.NetworkViewCollectionTaskFactory) TaskFactory(org.cytoscape.work.TaskFactory) NetworkViewTaskFactory(org.cytoscape.task.NetworkViewTaskFactory) NetworkTaskFactory(org.cytoscape.task.NetworkTaskFactory) TableTaskFactory(org.cytoscape.task.TableTaskFactory) NetworkCollectionTaskFactory(org.cytoscape.task.NetworkCollectionTaskFactory) DynamicTaskFactoryProvisioner(org.cytoscape.task.DynamicTaskFactoryProvisioner)

Example 2 with TableTaskFactory

use of org.cytoscape.task.TableTaskFactory in project cytoscape-impl by cytoscape.

the class AvailableCommandsImpl method addTableTaskFactory.

public void addTableTaskFactory(TableTaskFactory tf, Map<?, ?> props) {
    TaskFactory provisioner = factoryProvisioner.createFor(tf);
    synchronized (lock) {
        provisioners.put(tf, provisioner);
        addCommand(provisioner, props);
    }
}
Also used : NetworkViewCollectionTaskFactory(org.cytoscape.task.NetworkViewCollectionTaskFactory) TaskFactory(org.cytoscape.work.TaskFactory) NetworkTaskFactory(org.cytoscape.task.NetworkTaskFactory) TableTaskFactory(org.cytoscape.task.TableTaskFactory) NetworkViewTaskFactory(org.cytoscape.task.NetworkViewTaskFactory) AbstractTaskFactory(org.cytoscape.work.AbstractTaskFactory)

Aggregations

NetworkTaskFactory (org.cytoscape.task.NetworkTaskFactory)2 NetworkViewCollectionTaskFactory (org.cytoscape.task.NetworkViewCollectionTaskFactory)2 NetworkViewTaskFactory (org.cytoscape.task.NetworkViewTaskFactory)2 TableTaskFactory (org.cytoscape.task.TableTaskFactory)2 TaskFactory (org.cytoscape.work.TaskFactory)2 DynamicTaskFactoryProvisioner (org.cytoscape.task.DynamicTaskFactoryProvisioner)1 NetworkCollectionTaskFactory (org.cytoscape.task.NetworkCollectionTaskFactory)1 AbstractTaskFactory (org.cytoscape.work.AbstractTaskFactory)1