Interface CyColumnPresentation


  • public interface CyColumnPresentation
    Service that allows UI presentation to be given for a column namespace. Register as an OSGi service.
     Properties props = new Properties();
     props.put(CyColumnPresentation.NAMESPACE, "myNamespace");
     registerService(bc, new MyColumnPresentation(), CyColumnPresentation.class, props);
     
    See Also:
    CyColumn

    Module: swing-application-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>swing-application-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
    • Field Detail

      • NAMESPACE

        static final String NAMESPACE
        OSGi property, use to provide the namespace to associate this presentation with.
        See Also:
        Constant Field Values
    • Method Detail

      • getNamespaceIcon

        Icon getNamespaceIcon()
        Returns an icon associated with the namespace.
        Returns:
        May return null, but is not recommended.
      • getNamespaceDescription

        String getNamespaceDescription()
        Returns a String description of the namespace.
        Returns:
        May return null, but is not recommended.