use of org.cytoscape.task.DynamicTaskFactoryProvisioner 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.DynamicTaskFactoryProvisioner in project cytoscape-impl by cytoscape.
the class NetworkMediator method addNetworkTaskFactory.
public void addNetworkTaskFactory(NetworkTaskFactory 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 addNetworkViewTaskFactory.
public void addNetworkViewTaskFactory(final NetworkViewTaskFactory 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 CommandExecutorImpl method addNetworkTaskFactory.
public void addNetworkTaskFactory(NetworkTaskFactory tf, Map<?, ?> props) {
DynamicTaskFactoryProvisioner provisioner = serviceRegistrar.getService(DynamicTaskFactoryProvisioner.class);
addTF(new TFExecutor(provisioner.createFor(tf), interceptor), props);
}
Aggregations