Package org.apache.uima.caseditor.core.model

Examples of org.apache.uima.caseditor.core.model.CasProcessorFolder


    /**
     * Retrieves the children of the current <code>UIMASourceFolder</code>.
     */
    public Object[] getChildren(Object o)
    {
        CasProcessorFolder sourceFolder = (CasProcessorFolder) o;
       
        Collection<Object> childs = new LinkedList<Object>();
       
        childs.addAll(sourceFolder.getAnnotators());
       
        childs.addAll(sourceFolder.getConsumers());
       
        try
        {
            childs.addAll(sourceFolder.getNonNlpResources());
        }
        catch (CoreException e)
        {
          // sorry this fails if the resource was already removed
        }
View Full Code Here


    /**
     * Retrieves the children of the current <code>UIMASourceFolder</code>.
     */
    public Object[] getChildren(Object o)
    {
        CasProcessorFolder sourceFolder = (CasProcessorFolder) o;

        Collection<Object> childs = new LinkedList<Object>();

        childs.addAll(sourceFolder.getAnnotators());

        childs.addAll(sourceFolder.getConsumers());

        try
        {
            childs.addAll(sourceFolder.getNonNlpResources());
        }
        catch (CoreException e)
        {
          // sorry this fails if the resource was already removed
        }
View Full Code Here

TOP

Related Classes of org.apache.uima.caseditor.core.model.CasProcessorFolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.