carbidect/com.nokia.tools.vct.navigator.layer/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.vct.navigator.layer component.
       
    16 -->
       
    17 <?eclipse version="3.2"?>
       
    18 <plugin>
       
    19    <extension
       
    20          point="org.eclipse.ui.navigator.viewer">
       
    21       <viewerContentBinding
       
    22             viewerId="org.eclipse.ui.navigator.ProjectExplorer">
       
    23          <includes>
       
    24             <contentExtension
       
    25                   pattern="com.nokia.tools.vct.navigator.layer">
       
    26             </contentExtension>
       
    27          </includes>
       
    28       </viewerContentBinding>
       
    29       <viewerActionBinding
       
    30             viewerId="org.eclipse.ui.navigator.ProjectExplorer">
       
    31          <includes>
       
    32             <actionExtension
       
    33                   pattern="com.nokia.tools.vct.navigator.layer.actionProvider">
       
    34             </actionExtension>
       
    35          </includes>
       
    36       </viewerActionBinding>
       
    37    </extension>
       
    38    <extension
       
    39          point="org.eclipse.ui.navigator.navigatorContent">
       
    40       <navigatorContent
       
    41             activeByDefault="true"
       
    42             contentProvider="com.nokia.tools.vct.navigator.layer.VariantContentProvider"
       
    43             id="com.nokia.tools.vct.navigator.layer"
       
    44             labelProvider="com.nokia.tools.vct.navigator.layer.VariantLabelProvider"
       
    45             name="Variant Layer Content"
       
    46             priority="normal">
       
    47          <triggerPoints>
       
    48             <or>
       
    49                <instanceof
       
    50                      value="org.eclipse.core.resources.IProject">
       
    51                </instanceof>
       
    52                <instanceof
       
    53                      value="org.eclipse.core.resources.IFolder">
       
    54                </instanceof>
       
    55             </or>
       
    56          </triggerPoints>
       
    57       </navigatorContent>
       
    58       <actionProvider
       
    59             class="com.nokia.tools.vct.navigator.layer.VariantActionProvider"
       
    60             id="com.nokia.tools.vct.navigator.layer.actionProvider">
       
    61          <enablement>
       
    62             <or>
       
    63                <adapt
       
    64                      type="com.nokia.tools.vct.common.appmodel.EAppFeature">
       
    65                </adapt>
       
    66                <adapt
       
    67                      type="com.nokia.tools.vct.common.appmodel.EAppView">
       
    68                </adapt>
       
    69                <adapt
       
    70                      type="com.nokia.tools.vct.common.appmodel.EAppGroup">
       
    71                </adapt>
       
    72             </or>
       
    73          </enablement>
       
    74       </actionProvider>
       
    75    </extension>
       
    76    <extension
       
    77          point="org.eclipse.ui.decorators">
       
    78       <decorator
       
    79             adaptable="false"
       
    80             class="com.nokia.tools.vct.navigator.layer.RootFileDecorator"
       
    81             id="com.nokia.tools.vct.navigator.layer.decorator2"
       
    82             label="Root Configuration File Decorator"
       
    83             lightweight="true"
       
    84             location="BOTTOM_LEFT"
       
    85             state="true">
       
    86          <enablement>
       
    87             <objectClass
       
    88                   name="org.eclipse.core.resources.IFile">
       
    89             </objectClass>
       
    90          </enablement>
       
    91       </decorator>
       
    92    </extension>
       
    93 
       
    94 </plugin>