All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.protege.editor.owl.ui.view.EntityBannerFormatter Maven / Gradle / Ivy

Go to download

OWL ontology editing infrastructure used by the Protege desktop application.

There is a newer version: 5.6.4-beta3
Show newest version
package org.protege.editor.owl.ui.view;

import org.protege.editor.owl.OWLEditorKit;
import org.semanticweb.owlapi.model.OWLEntity;

import javax.annotation.Nonnull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 7 Sep 16
 */
public interface EntityBannerFormatter {

    /**
     * Formats a banner for the specified entity under the context of the specified editor kit.
     * @param entity The entity.
     * @param editorKit The editor kit.
     * @return A string representing the banner.  May be empty.
     */
    @Nonnull
    String formatBanner(@Nonnull OWLEntity entity, @Nonnull OWLEditorKit editorKit);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy