Search Mailing List Archives
[protege-discussion] Having a new facet appear in the 'Other Facets' Column in the Protege Frames Class Editor
Tania Tudorache
tudorache at stanford.edu
Wed Aug 4 14:12:20 PDT 2010
I am afraid, there isn't a way to show the additional facets in the
TemplateSlotWidget. You could try to extend this widget in your code and
make the facets visible.
The rendering of the additional facets is made in the
OtherFacetsRenderer class, so probably overriding the class and using it
in your TemplateSlotWidget should be enough. If you find a generic
solution and you are fine with sharing it, we can merge it in the
protege code base.
This is the class:
http://smi-protege.stanford.edu/svn/protege-web-browser/trunk/src/webprotege/util/OtherFacetsRenderer.java?view=markup
Cheers,
Tania
On 08/04/2010 10:19 AM, Ron Schultz wrote:
> I have added some new facets to a specialization of :STANDARD-SLOT and
> then created some slots as instances of this specialized SLOT class.
> Can I configure Protege to show these facets in the Other Facets
> Column when I add these slots to my class definitions? Or is this a
> programmatic change?
>
> --
> Ron
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20100804/985cad90/attachment.html>
More information about the protege-discussion
mailing list