Home >> Media Group >> Research >> ViPER
Downloads -- Documentation -- Developers -- Discussion
LAMP     The Language and Media Processing Laboratory

LAMP AppLoader Menuing Schema

RDF
(Resource Description Framework) PoweredIt should be noted that, thanks to HTTP/1.1 Content Negotiation, this page can be requested as application/rdf+xml, and as such is valid rdf. If you wish to download the rdf from your browser, you may download it in RDF/XML and RDF/N3

Schema Encoded in RDF/N3

@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd:  <http://www.w3.org/2000/10/XMLSchema#> .

@prefix lal:  <http://viper-toolkit.sourceforge.net/owl/apploader#> .

@prefix : <#> .


:Item
	a rdfs:Class ;
	rdfs:label "Menu Item"@en ;
	rdfs:comment """A node in a menu tree. The rdfs:label is used
for the item label."""@en .

:Menu
	a rdfs:Class ;
	rdfs:subClassOf :Item ;
	rdfs:comment "An internal node in a menu tree."@en ;
	rdfs:label "Menu"@en .

:mnemonic
	a rdfs:Property ;
	rdfs:domain :Item ;
	rdfs:range xsd:string ;
	rdfs:comment "The character to underline in the item name"@en .

:attachment
	a rdfs:Property ;
	rdfs:domain :Item ;
	rdfs:range :Item ;
	rdfs:comment """Where to attach the item - either a lal:Bean or
a menu:Menu."""@en .

:accelerator
	a rdfs:Property ;
	rdfs:domain :Item ;
	rdfs:range xsd:string ;
	rdfs:comment """Hotkey combination to activate item's
 listener. For more infomation, see
http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/KeyStroke.html#getKeyStroke(java.lang.String) 
."""@en .

:priority
	a rdfs:Property ;
	rdfs:domain :Item ;
	rdfs:range xsd:Integer ;
	rdfs:comment "0 is placed first, -1 is placed last"@en .

:actionListener
	a rdfs:Property ;
	rdfs:domain :Item ;
	rdfs:range :ActionListener .
:ActionListener
	a rdfs:Class .
:actionCommand 
	a rdfs:Property ;
	rdfs:domain :Item ;
	rdfs:range xsd:string .
	# XXX actionCommand should attach to listener
:listenerBean
	a rdfs:Property ;
	rdfs:domain :ActionListener ;
	rdfs:range lal:Bean .