use of org.cytoscape.task.DynamicTaskFactoryProvisioner in project cytoscape-impl by cytoscape.
the class CommandExecutorImpl method addTableTaskFactory.
public void addTableTaskFactory(TableTaskFactory tf, Map<?, ?> props) {
DynamicTaskFactoryProvisioner provisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
addTF(new TFExecutor(provisioner.createFor(tf), interceptor), props);
}
use of org.cytoscape.task.DynamicTaskFactoryProvisioner in project cytoscape-impl by cytoscape.
the class CommandExecutorImpl method addNetworkViewCollectionTaskFactory.
public void addNetworkViewCollectionTaskFactory(NetworkViewCollectionTaskFactory tf, Map<?, ?> props) {
DynamicTaskFactoryProvisioner provisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
addTF(new TFExecutor(provisioner.createFor(tf), interceptor), props);
}
use of org.cytoscape.task.DynamicTaskFactoryProvisioner in project cytoscape-impl by cytoscape.
the class CommandExecutorImpl method addNetworkViewTaskFactory.
public void addNetworkViewTaskFactory(NetworkViewTaskFactory tf, Map<?, ?> props) {
DynamicTaskFactoryProvisioner provisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
addTF(new TFExecutor(provisioner.createFor(tf), interceptor), props);
}
use of org.cytoscape.task.DynamicTaskFactoryProvisioner in project cytoscape-impl by cytoscape.
the class NetworkMediator method addNetworkCollectionTaskFactory.
public void addNetworkCollectionTaskFactory(NetworkCollectionTaskFactory factory, Map<?, ?> props) {
invokeOnEDT(() -> {
final DynamicTaskFactoryProvisioner factoryProvisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
TaskFactory provisioner = factoryProvisioner.createFor(factory);
provisionerMap.put(factory, provisioner);
addFactory(provisioner, props);
});
}
use of org.cytoscape.task.DynamicTaskFactoryProvisioner in project cytoscape-impl by cytoscape.
the class NetworkMediator method addNetworkViewCollectionTaskFactory.
public void addNetworkViewCollectionTaskFactory(NetworkViewCollectionTaskFactory factory, Map<?, ?> props) {
invokeOnEDT(() -> {
final DynamicTaskFactoryProvisioner factoryProvisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
TaskFactory provisioner = factoryProvisioner.createFor(factory);
provisionerMap.put(factory, provisioner);
addFactory(provisioner, props);
});
}
Aggregations