carbidect/com.nokia.tools.s60ct.resources/plugin.xml
changeset 0 30eb2d538f02
equal deleted inserted replaced
-1:000000000000 0:30eb2d538f02
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!--
       
     3   Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     4   All rights reserved.
       
     5   This component and the accompanying materials are made available
       
     6   under the terms of "Eclipse Public License v1.0"
       
     7   which accompanies this distribution, and is available
       
     8   at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9   
       
    10   Initial Contributors:
       
    11   Nokia Corporation - Initial contribution
       
    12   
       
    13   Contributors:
       
    14   
       
    15   Description: This file is part of com.nokia.tools.s60ct.resources component.
       
    16 -->
       
    17 <?eclipse version="3.3"?>
       
    18 <plugin>
       
    19    <extension-point id="resourceCategory" name="resourceCategory" schema="schema/resourceCategory.exsd"/>
       
    20    <extension
       
    21          point="com.nokia.tools.s60ct.resources.resourceCategory">
       
    22       <category
       
    23             fileSuffixes="sis"
       
    24             icon="icons/applications_16_lib.png"
       
    25             resourceCategory="Application">
       
    26       </category>
       
    27       <category
       
    28             fileSuffixes="bmp png gif jpg jpeg tif tiff svg"
       
    29             icon="icons/graphics_16_lib.png"
       
    30             resourceCategory="Image">
       
    31       </category>
       
    32       <category
       
    33             fileSuffixes="avi mpg mpeg"
       
    34             icon="icons/media_16_lib.png"
       
    35             resourceCategory="Media File">
       
    36       </category>
       
    37       <category
       
    38             fileSuffixes="aif aac mp3 wav"
       
    39             icon="icons/sounds_16_lib.png"
       
    40             resourceCategory="Sound">
       
    41       </category>
       
    42       <category
       
    43             fileSuffixes="tpf"
       
    44             icon="icons/themes_16_lib.png"
       
    45             resourceCategory="Theme">
       
    46       </category>
       
    47       <category
       
    48             icon="icons/other_16_nav.png"
       
    49             resourceCategory="Other">
       
    50       </category>      
       
    51    </extension>
       
    52 
       
    53    <extension point="org.eclipse.core.expressions.definitions">
       
    54 		<definition id="com.nokia.tools.s60ct.resources.allSelectedRemovable">
       
    55 		    <iterate operator="and">
       
    56 		       <adapt type="org.eclipse.core.resources.IStorage">
       
    57             <not>
       
    58                <test
       
    59                      property="com.nokia.tools.s60ct.resources.resource.isReadOnly">
       
    60                </test>
       
    61             </not>		          
       
    62 		       </adapt>
       
    63 		    </iterate>
       
    64 		</definition>
       
    65 		<definition id="com.nokia.tools.s60ct.resources.hasRoots">
       
    66           <count value="+"/>		          
       
    67 		</definition>
       
    68 	</extension>
       
    69 
       
    70    <extension
       
    71          point="org.eclipse.core.expressions.propertyTesters">
       
    72       <propertyTester
       
    73             class="com.nokia.tools.s60ct.resources.handlers.ResourceTester"
       
    74             id="com.nokia.tools.s60ct.resources.resource"
       
    75             namespace="com.nokia.tools.s60ct.resources.resource"
       
    76             properties="isRoot, isReadOnly, isFolder"
       
    77             type="org.eclipse.core.resources.IStorage">
       
    78       </propertyTester>
       
    79    </extension>
       
    80    <extension
       
    81          point="org.eclipse.core.runtime.adapters">
       
    82       <factory
       
    83             adaptableType="java.net.URI"
       
    84             class="com.nokia.tools.s60ct.resources.adapters.URI2IResourceAdapter">
       
    85          <adapter
       
    86                type="org.eclipse.core.resources.IResource">
       
    87          </adapter>
       
    88       </factory>
       
    89       <factory
       
    90             adaptableType="org.eclipse.core.resources.IResource"
       
    91             class="com.nokia.tools.s60ct.resources.adapters.IResource2URIAdapter">
       
    92          <adapter
       
    93                type="java.net.URI">
       
    94          </adapter>
       
    95       </factory>
       
    96    </extension>
       
    97 
       
    98    
       
    99 </plugin>