Search in sources :

Example 6 with LinkResource

use of org.apache.stanbol.commons.web.base.LinkResource in project stanbol by apache.

the class ReasonersFragment method getLinkResources.

@Override
public List<LinkResource> getLinkResources() {
    List<LinkResource> resources = new ArrayList<LinkResource>();
    resources.add(new LinkResource("stylesheet", "css/reasoners.css", this, 10));
    return resources;
}
Also used : LinkResource(org.apache.stanbol.commons.web.base.LinkResource) ArrayList(java.util.ArrayList)

Example 7 with LinkResource

use of org.apache.stanbol.commons.web.base.LinkResource in project stanbol by apache.

the class HomeWebFragment method getLinkResources.

@Override
public List<LinkResource> getLinkResources() {
    List<LinkResource> resources = new ArrayList<LinkResource>();
    resources.add(new LinkResource("stylesheet", "style/stanbol.css", this, 0));
    return resources;
}
Also used : LinkResource(org.apache.stanbol.commons.web.base.LinkResource) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)7 LinkResource (org.apache.stanbol.commons.web.base.LinkResource)7 ScriptResource (org.apache.stanbol.commons.web.base.ScriptResource)1 WebFragment (org.apache.stanbol.commons.web.base.WebFragment)1 ServletContainer (org.glassfish.jersey.servlet.ServletContainer)1 Bundle (org.osgi.framework.Bundle)1 BundleContext (org.osgi.framework.BundleContext)1