Search in sources :

Example 1 with CyColumnIdentifierFactoryImpl

use of org.cytoscape.view.presentation.internal.property.values.CyColumnIdentifierFactoryImpl in project cytoscape-impl by cytoscape.

the class CyActivator method start.

@Override
public void start(BundleContext bc) {
    final CyServiceRegistrar serviceRegistrar = getService(bc, CyServiceRegistrar.class);
    RenderingEngineManagerImpl renderingEngineManager = new RenderingEngineManagerImpl(serviceRegistrar);
    Properties renderingEngineManagerProps = new Properties();
    renderingEngineManagerProps.setProperty("service.type", "manager");
    registerAllServices(bc, renderingEngineManager, renderingEngineManagerProps);
    registerServiceListener(bc, renderingEngineManager::addRenderingEngineFactory, renderingEngineManager::removeRenderingEngineFactory, RenderingEngineFactory.class);
    CyColumnIdentifierFactory cyColumnIdentifierFactory = new CyColumnIdentifierFactoryImpl();
    registerAllServices(bc, cyColumnIdentifierFactory, new Properties());
}
Also used : CyColumnIdentifierFactoryImpl(org.cytoscape.view.presentation.internal.property.values.CyColumnIdentifierFactoryImpl) CyColumnIdentifierFactory(org.cytoscape.view.presentation.property.values.CyColumnIdentifierFactory) Properties(java.util.Properties) CyServiceRegistrar(org.cytoscape.service.util.CyServiceRegistrar)

Aggregations

Properties (java.util.Properties)1 CyServiceRegistrar (org.cytoscape.service.util.CyServiceRegistrar)1 CyColumnIdentifierFactoryImpl (org.cytoscape.view.presentation.internal.property.values.CyColumnIdentifierFactoryImpl)1 CyColumnIdentifierFactory (org.cytoscape.view.presentation.property.values.CyColumnIdentifierFactory)1