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);
}
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);
}
}
Aggregations