Search Mailing List Archives
[protege-discussion] instances of inlucded projects
swt at stanford.edu
Thu Jul 26 10:26:17 PDT 2007
use the isIncluded() method in edu.stanford.smi.protege.model.Frame
to check that a frame is included or not.
Michael Atighetchi wrote:
> I have a project A that includes another project B.
> I'm writing a plugin that wants to get a collection of all instances that
> are only defined directly in A (and not any instances from B). In other words,
> I'd like to get the same instances that show with solid colors in the Instances
> tab via the Java API.
> I'm using the Protege-Frames version 3.2.1.
> Any help appreciated - I perused the mailing list and Java API for a couple of hours
> to no aval.
Samson Tu email: swt at stanford.edu
Senior Research Scientist web: www.stanford.edu/~swt/
Stanford Medical Informatics phone: 1-650-725-3391
Stanford University fax: 1-650-725-7944
More information about the protege-discussion