1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4 <definition>
5 <departmentBrowser>false</departmentBrowser>
6 <departmentRootVisible>false</departmentRootVisible>
7 <baseMode>false</baseMode>
8 <multiSelect>true</multiSelect>
9 <template>serverService-list.tpl</template>
10 <label>List of services</label>
11 <defaultSortColumn>1</defaultSortColumn>
13 <objectType>
14 <label>Service</label>
15 <objectClass>FAKE_OC_ServerService</objectClass>
16 <category>server</category>
17 <class>ServerService</class>
18 <image>images/lits/new.png</image>
19 </objectType>
21 </definition>
23 <table>
24 <layout>|18px;c||170px;r|</layout>
26 <column>
27 <label>!</label>
28 <sortAttribute>Status</sortAttribute>
29 <sortType>string</sortType>
30 <value>%{filter:filterServiceStatus(row,dn,"%s",Status)}</value>
31 <export>true</export>
32 </column>
34 <column>
35 <label>Description</label>
36 <sortAttribute>Message</sortAttribute>
37 <sortType>string</sortType>
38 <value>%{filter:link(row,dn,"%s",Message)}</value>
39 <export>true</export>
40 </column>
42 <column>
43 <label>Actions</label>
44 <value>%{filter:actions(dn,row,objectClass)}</value>
45 </column>
47 </table>
49 <actionmenu>
51 <action>
52 <type>sub</type>
53 <image>images/lists/new.png</image>
54 <label>Create</label>
56 <action>
57 <name>new</name>
58 <type>entry</type>
59 <image>images/lists/new.png</image>
60 <label>Service</label>
61 </action>
62 </action>
64 <action>
65 <type>separator</type>
66 </action>
68 <action>
69 <name>remove</name>
70 <type>entry</type>
71 <image>images/lists/trash.png</image>
72 <label>Remove</label>
73 </action>
75 <action>
76 <type>separator</type>
77 </action>
79 <action>
80 <name>start</name>
81 <type>entry</type>
82 <image>images/status_start.png</image>
83 <label>Start</label>
84 </action>
86 <action>
87 <name>stop</name>
88 <type>entry</type>
89 <image>images/status_stop.png</image>
90 <label>Stop</label>
91 </action>
93 <action>
94 <name>restart</name>
95 <type>entry</type>
96 <image>images/lists/reload.png</image>
97 <label>Restart</label>
98 </action>
100 <action>
101 <type>separator</type>
102 </action>
104 <action>
105 <type>exporter</type>
106 </action>
108 </actionmenu>
110 <actiontriggers snapshot="false" copypaste="false">
112 <action>
113 <name>start</name>
114 <type>entry</type>
115 <image>images/status_start.png</image>
116 <objectclass>AllowStart</objectclass>
117 <label>Start</label>
118 </action>
120 <action>
121 <name>stop</name>
122 <type>entry</type>
123 <image>images/status_stop.png</image>
124 <objectclass>AllowStop</objectclass>
125 <label>Stop</label>
126 </action>
128 <action>
129 <name>restart</name>
130 <type>entry</type>
131 <image>images/lists/reload.png</image>
132 <objectclass>AllowRestart</objectclass>
133 <label>Restart</label>
134 </action>
136 <action>
137 <name>edit</name>
138 <type>entry</type>
139 <image>images/lists/edit.png</image>
140 <objectclass>AllowEdit</objectclass>
141 <label>Edit service</label>
142 </action>
144 <action>
145 <name>remove</name>
146 <type>entry</type>
147 <image>images/lists/trash.png</image>
148 <objectclass>AllowRemove</objectclass>
149 <label>Remove service</label>
150 </action>
152 </actiontriggers>
154 </list>