carbideui/com.nokia.tools.screen.ui/schema/projectResourcesContribution.exsd
changeset 0 a44900f0f001
equal deleted inserted replaced
-1:000000000000 0:a44900f0f001
       
     1 <?xml version='1.0' encoding='UTF-8'?>
       
     2 <!-- Schema file written by PDE -->
       
     3 <schema targetNamespace="com.nokia.tools.screen.ui">
       
     4 <annotation>
       
     5       <appInfo>
       
     6          <meta.schema plugin="com.nokia.tools.screen.ui" id="projectResourcesContribution" name="Contributing resources to project"/>
       
     7       </appInfo>
       
     8       <documentation>
       
     9          Hooks to com.nokia.tools.screen.ui.contributors operation- newProjectOperation for creation.
       
    10 
       
    11 Plan: to be extended in licensee edition for all additional files that could affect UI in one project. Should enable optional adding / removing project resources as components.
       
    12       </documentation>
       
    13    </annotation>
       
    14 
       
    15    <element name="extension">
       
    16       <annotation>
       
    17          <documentation>
       
    18             Contributing resource compoents groups to newly created project.
       
    19          </documentation>
       
    20       </annotation>
       
    21       <complexType>
       
    22          <sequence>
       
    23             <element ref="component"/>
       
    24          </sequence>
       
    25          <attribute name="point" type="string" use="required">
       
    26             <annotation>
       
    27                <documentation>
       
    28                   
       
    29                </documentation>
       
    30             </annotation>
       
    31          </attribute>
       
    32          <attribute name="id" type="string">
       
    33             <annotation>
       
    34                <documentation>
       
    35                   
       
    36                </documentation>
       
    37             </annotation>
       
    38          </attribute>
       
    39          <attribute name="name" type="string">
       
    40             <annotation>
       
    41                <documentation>
       
    42                   
       
    43                </documentation>
       
    44                <appInfo>
       
    45                   <meta.attribute translatable="true"/>
       
    46                </appInfo>
       
    47             </annotation>
       
    48          </attribute>
       
    49       </complexType>
       
    50    </element>
       
    51 
       
    52    <element name="component">
       
    53       <annotation>
       
    54          <documentation>
       
    55             Define folder or resource path under contributing plugin. 
       
    56 if there is a plugin com.nokia.tools.bla that is to contribute folder to newly created project, and value for &quot;path&quot; is &quot;template&quot;, it means that all the contents from com.nokia.tools.bla/template/ will be copied to newly created project to destination_path.
       
    57          </documentation>
       
    58       </annotation>
       
    59       <complexType>
       
    60          <attribute name="name" type="string" use="required">
       
    61             <annotation>
       
    62                <documentation>
       
    63                   User readable name of resource component.
       
    64                </documentation>
       
    65                <appInfo>
       
    66                   <meta.attribute translatable="true"/>
       
    67                </appInfo>
       
    68             </annotation>
       
    69          </attribute>
       
    70          <attribute name="path" type="string" use="default" value="template">
       
    71             <annotation>
       
    72                <documentation>
       
    73                   See &quot;component&quot; (parent) description.
       
    74                </documentation>
       
    75             </annotation>
       
    76          </attribute>
       
    77          <attribute name="destinationPath" type="string">
       
    78             <annotation>
       
    79                <documentation>
       
    80                   Path in new project where resource will be placed.
       
    81 See parent description.
       
    82                </documentation>
       
    83             </annotation>
       
    84          </attribute>
       
    85          <attribute name="icon" type="string">
       
    86             <annotation>
       
    87                <documentation>
       
    88                   icon for this element for presentation purposes
       
    89                </documentation>
       
    90             </annotation>
       
    91          </attribute>
       
    92          <attribute name="folderOnly" type="boolean">
       
    93             <annotation>
       
    94                <documentation>
       
    95                   specifiing attibutes of contributed resources
       
    96                </documentation>
       
    97             </annotation>
       
    98          </attribute>
       
    99          <attribute name="numberOfFiles" type="string">
       
   100             <annotation>
       
   101                <documentation>
       
   102                   specifiing attibutes of contributed resources
       
   103                </documentation>
       
   104             </annotation>
       
   105          </attribute>
       
   106          <attribute name="fileExtSpec" type="string">
       
   107             <annotation>
       
   108                <documentation>
       
   109                   specifiing attibutes of contributed resources
       
   110                </documentation>
       
   111             </annotation>
       
   112          </attribute>
       
   113          <attribute name="dependsOn" type="string">
       
   114             <annotation>
       
   115                <documentation>
       
   116                   
       
   117                </documentation>
       
   118             </annotation>
       
   119          </attribute>
       
   120          <attribute name="compulsory" type="boolean">
       
   121             <annotation>
       
   122                <documentation>
       
   123                   
       
   124                </documentation>
       
   125             </annotation>
       
   126          </attribute>
       
   127          <attribute name="forPlatforms" type="string">
       
   128             <annotation>
       
   129                <documentation>
       
   130                   
       
   131                </documentation>
       
   132             </annotation>
       
   133          </attribute>
       
   134       </complexType>
       
   135    </element>
       
   136 
       
   137    <annotation>
       
   138       <appInfo>
       
   139          <meta.section type="since"/>
       
   140       </appInfo>
       
   141       <documentation>
       
   142          [Enter the first release in which this extension point appears.]
       
   143       </documentation>
       
   144    </annotation>
       
   145 
       
   146    <annotation>
       
   147       <appInfo>
       
   148          <meta.section type="examples"/>
       
   149       </appInfo>
       
   150       <documentation>
       
   151          
       
   152       </documentation>
       
   153    </annotation>
       
   154 
       
   155    <annotation>
       
   156       <appInfo>
       
   157          <meta.section type="apiInfo"/>
       
   158       </appInfo>
       
   159       <documentation>
       
   160          [Enter API information here.]
       
   161       </documentation>
       
   162    </annotation>
       
   163 
       
   164    <annotation>
       
   165       <appInfo>
       
   166          <meta.section type="implementation"/>
       
   167       </appInfo>
       
   168       <documentation>
       
   169          [Enter information about supplied implementation of this extension point.]
       
   170       </documentation>
       
   171    </annotation>
       
   172 
       
   173    <annotation>
       
   174       <appInfo>
       
   175          <meta.section type="copyright"/>
       
   176       </appInfo>
       
   177       <documentation>
       
   178          
       
   179       </documentation>
       
   180    </annotation>
       
   181 
       
   182 </schema>