components/visual-panels/core/src/apis/panels.xml
branchs11-update
changeset 2805 4888f6212f94
parent 2804 7546c836fd87
child 2806 8ac3cbf66125
equal deleted inserted replaced
2804:7546c836fd87 2805:4888f6212f94
     1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
       
     2 <!--
       
     3  Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
       
     4 
       
     5  CDDL HEADER START
       
     6 
       
     7   The contents of this file are subject to the terms of the
       
     8   Common Development and Distribution License (the "License").
       
     9   You may not use this file except in compliance with the License.
       
    10  
       
    11   You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
    12   or http://www.opensolaris.org/os/licensing.
       
    13   See the License for the specific language governing permissions
       
    14   and limitations under the License.
       
    15  
       
    16   When distributing Covered Code, include this CDDL HEADER in each
       
    17   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    18   If applicable, add the following below this CDDL HEADER, with the
       
    19   fields enclosed by brackets "[]" replaced with your own identifying
       
    20   information: Portions Copyright [yyyy] [name of copyright owner]
       
    21 
       
    22  CDDL HEADER END
       
    23 -->
       
    24 
       
    25 <api xmlns="http://xmlns.oracle.com/radadr"
       
    26   name="com.oracle.solaris.vp.panel.common.api.panel">
       
    27 
       
    28     <struct name="ResourceDescriptor">
       
    29 	<field type="string" name="file" />
       
    30 	<field type="string" name="hashAlgorithm" />
       
    31 	<field type="opaque" name="hash" />
       
    32 	<field type="opaque" name="token" />
       
    33     </struct>
       
    34 
       
    35     <struct name="CustomPanel">
       
    36 	<field type="string" name="name" />
       
    37 	<field type="string" name="locale" />
       
    38 	<field type="string" name="panelDescriptorClassName" />
       
    39 	<field name="resourceDescriptors">
       
    40 	    <list typeref="ResourceDescriptor" />
       
    41 	</field>
       
    42     </struct>
       
    43 
       
    44     <interface name="Panel">
       
    45 	<version major="1" minor="0" stability="private" />
       
    46 
       
    47 	<property name="panelNames" access="ro">
       
    48 	    <list type="string" />
       
    49 	    <error />
       
    50 	</property>
       
    51 
       
    52 	<method name="getPanel">
       
    53 	    <result typeref="CustomPanel" />
       
    54 	    <error />
       
    55 	    <argument type="string" name="name" />
       
    56 	    <argument type="string" name="locale" nullable="true"/>
       
    57 	</method>
       
    58 
       
    59 	<method name="getResource">
       
    60 	    <result type="opaque" />
       
    61 	    <error />
       
    62 	    <argument type="opaque" name="token" />
       
    63 	</method>
       
    64     </interface>
       
    65 </api>