~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/mono-addins/Test/SystemInfoExtension/SystemInfoExtension.addin.xml

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<Addin id          = "SystemInfoExtension"
 
2
       namespace   = "SimpleApp"
 
3
       name        = "SystemInfoExtension"
 
4
       author      = "Lluis Sanchez"
 
5
       copyright   = "GPL"
 
6
       description = "SystemInfoExtension"
 
7
           category    = "SimpleApp/Extensions"
 
8
       version     = "$(Version)">
 
9
 
 
10
        <Variables>
 
11
                <Version>0.1.0</Version>
 
12
        </Variables>
 
13
        
 
14
        <Runtime>
 
15
                <Import assembly="SystemInfoExtension.dll"/>
 
16
        </Runtime>
 
17
        
 
18
        <Dependencies>
 
19
                <Addin id="Core" version="$(Version)" />
 
20
                <Addin id="CommandExtension" version="$(Version)" />
 
21
        </Dependencies>
 
22
        
 
23
        <Localizer type="StringResource" />
 
24
        
 
25
        <ExtensionPoint path = "/SystemInformation/Modules" name = "Modules">
 
26
                <Description>Module information providers.</Description>
 
27
                <ExtensionNode name="Module" type="SystemInfoExtension.ModuleExtensionNode"/>
 
28
        </ExtensionPoint>
 
29
 
 
30
        <!-- Extensions -->
 
31
        
 
32
        <Extension path = "/SimpleApp/Writers">
 
33
                <Type id="SystemInfoExtension.SystemInfoWriter" />
 
34
                <Command title="System Name" command="uname -a" />
 
35
        </Extension>
 
36
        
 
37
        <Extension path = "/SimpleApp/ExtraWriters">
 
38
                <Command title="Command" command="ca1" />
 
39
                <Command id="first" title="Command" command="ca2" />
 
40
                
 
41
                <Condition id="GlobalInfo" value="no">
 
42
                        <Command title="Command" command="cn1" />
 
43
                        <Command title="Command" command="cn2" />
 
44
                        <Command title="Command" command="cn3" />
 
45
                </Condition>
 
46
        
 
47
                <Condition id="InputParameter" value="simple">
 
48
                        <Command title="Command" command="sim1" />
 
49
                        <Command title="Command" command="sim2" />
 
50
                </Condition>
 
51
                
 
52
                <ComplexCondition>
 
53
                        <Or>
 
54
                                <Condition id="InputParameter" value="x" />
 
55
                                <Condition id="InputParameter" value="y" />
 
56
                                <Condition id="GlobalInfo" value="yes" />
 
57
                        </Or>
 
58
                        <Command title="Command1" command="c1 x or y or yes" />
 
59
                        <Command title="Command2" command="c2 x or y or yes" />
 
60
                </ComplexCondition>
 
61
                
 
62
                <ComplexCondition>
 
63
                        <And>
 
64
                                <Condition id="InputParameter" value="x1" />
 
65
                                <Condition id="GlobalInfo" value="yes1" />
 
66
                        </And>
 
67
                        <Command title="Command3" command="c3 x1 and yes1" />
 
68
                        <Command title="Command4" command="c4 x1 and yes1" />
 
69
                </ComplexCondition>
 
70
                
 
71
                <ComplexCondition>
 
72
                        <Or>
 
73
                                <And>
 
74
                                        <Condition id="InputParameter" value="nx" />
 
75
                                        <Or>
 
76
                                                <Condition id="GlobalInfo" value="nx1" />
 
77
                                                <Condition id="GlobalInfo" value="nx2" />
 
78
                                        </Or>
 
79
                                </And>
 
80
                                <And>
 
81
                                        <Condition id="InputParameter" value="ny" />
 
82
                                        <Or>
 
83
                                                <Condition id="GlobalInfo" value="ny1" />
 
84
                                                <Condition id="GlobalInfo" value="ny2" />
 
85
                                        </Or>
 
86
                                </And>
 
87
                        </Or>
 
88
                        <Command title="Command5" command="cc5" />
 
89
                        <Command title="Command6" command="cc6" />
 
90
                </ComplexCondition>
 
91
                
 
92
                <Condition id="GlobalInfo" value="cnes">
 
93
                        <Command title="Command" command="cnes1" />
 
94
                        <Command title="Command" command="cnes2" />
 
95
                        <Condition id="InputParameter" value="ines1">
 
96
                                <Command title="Command" command="ines1" />
 
97
                                <Command title="Command" command="ines2" />
 
98
                        </Condition>
 
99
                </Condition>
 
100
                
 
101
                <Condition id="GlobalInfo" value="cnesOr">
 
102
                        <Command title="Command" command="cnesOr1" />
 
103
                        <Command title="Command" command="cnesOr2" />
 
104
                        <ComplexCondition>
 
105
                                <Or>
 
106
                                        <Condition id="InputParameter" value="inesOr" />
 
107
                                        <Condition id="InputParameter" value="inesOr" />
 
108
                                </Or>
 
109
                                <Command title="Command" command="inesOr1" />
 
110
                                <Command title="Command" command="inesOr2" />
 
111
                        </ComplexCondition>
 
112
                </Condition>
 
113
                
 
114
                <Condition id="GlobalInfo" value="cnesAnd">
 
115
                        <Command title="Command" command="cnesAnd1" />
 
116
                        <Command title="Command" command="cnesAnd2" />
 
117
                        <ComplexCondition>
 
118
                                <Or>
 
119
                                        <Condition id="InputParameter" value="inesAnd" />
 
120
                                        <Condition id="InputParameter" value="inesAnd" />
 
121
                                </Or>
 
122
                                <Command title="Command" command="inesAnd1" />
 
123
                                <Command title="Command" command="inesAnd2" />
 
124
                        </ComplexCondition>
 
125
                </Condition>
 
126
        </Extension>
 
127
        
 
128
        <Extension path = "/SystemInformation/Modules">
 
129
                <Module name="System information" id="System"/>
 
130
        </Extension>
 
131
 
 
132
        <Extension path = "/SimpleApp/Writers2">
 
133
                <Command id="c1" title="Command" command="w1" />
 
134
                <Command id="c2" title="Command" command="w2" />
 
135
                <Condition id="GlobalInfo" value="yes2">
 
136
                        <Command id="c3" title="Command" command="cw1" />
 
137
                        <Command id="c4" title="Command" command="cw2" />
 
138
                </Condition>
 
139
        </Extension>
 
140
 
 
141
        <Extension path="/SimpleApp/NodeWithChildren/node1">
 
142
                <Child id="child1.1" type="test" insertafter="child1"/>
 
143
        </Extension>
 
144
        
 
145
</Addin>