|
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.confml 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.confml"> |
|
26 </contentExtension> |
|
27 </includes> |
|
28 </viewerContentBinding> |
|
29 </extension> |
|
30 <extension |
|
31 point="org.eclipse.ui.navigator.navigatorContent"> |
|
32 <navigatorContent |
|
33 activeByDefault="true" |
|
34 contentProvider="com.nokia.tools.vct.navigator.confml.ConfmlContentProvider" |
|
35 id="com.nokia.tools.vct.navigator.confml" |
|
36 labelProvider="com.nokia.tools.vct.navigator.confml.ConfmlLabelProvider" |
|
37 name="ConfML Content" |
|
38 priority="normal"> |
|
39 <triggerPoints> |
|
40 <and> |
|
41 <instanceof value="org.eclipse.core.resources.IFile"/> |
|
42 <test property="org.eclipse.core.resources.extension" value="confml"/> |
|
43 </and> |
|
44 </triggerPoints> |
|
45 <possibleChildren> |
|
46 <instanceof |
|
47 value="com.nokia.tools.vct.confml.model.confml1.EConfMLDocument"> |
|
48 </instanceof> |
|
49 </possibleChildren> |
|
50 </navigatorContent> |
|
51 </extension> |
|
52 <extension |
|
53 point="org.eclipse.ui.decorators"> |
|
54 <decorator |
|
55 adaptable="false" |
|
56 class="com.nokia.tools.vct.navigator.confml.ConfMLMarkerDecorator" |
|
57 id="com.nokia.tools.vct.navigator.confml.decorator" |
|
58 label="ConfML Resource Decorator" |
|
59 lightweight="true" |
|
60 location="BOTTOM_RIGHT" |
|
61 state="true"> |
|
62 <enablement> |
|
63 <or> |
|
64 <objectClass |
|
65 name="org.eclipse.emf.ecore.EObject"> |
|
66 </objectClass> |
|
67 <objectClass |
|
68 name="org.eclipse.core.resources.IResource"> |
|
69 </objectClass> |
|
70 </or> |
|
71 </enablement> |
|
72 </decorator> |
|
73 </extension> |
|
74 |
|
75 </plugin> |