[Attempto] Generate ACE sinppets for an OWL class

Kaarel Kaljurand kaljurand at gmail.com
Fri Dec 19 20:42:38 CET 2008


Hi,

On Fri, Dec 19, 2008 at 4:12 AM, Jiang, Guoqian, Ph.D.
<Jiang.Guoqian at mayo.edu> wrote:
>
>>There is a method in ACETextManger:
>>
>>    public static ACEText getActiveACEText()
>>
>>It gives you the ACEText object which is an extension of
> List<ACESnippet>,
>>so you can iterate over all the snippets in the text.
>>(This is the case in the current version.
>>In the next version of ACE View, you have to write
> acetext.getSnippets()
>>to get a list of snippets.)
>
> I tried this one and but it did not work for some reason. Do I need save
> ontology once to use this method or I am missing something for
> initializing ACETextManager.

Difficult to say what could be the problem. If the ACE View Tab is loaded,
and the ontology has finished loading, then you should be able to
"see" the ACEText object that corresponds to the active ontology.

--
kaarel



More information about the attempto mailing list