1 <?xml version="1.0" encoding="UTF-8"?>
2 <list>
3 <definition>
4 <departmentBrowser>false</departmentBrowser>
5 <departmentRootVisible>false</departmentRootVisible>
6 <baseMode>false</baseMode>
7 <multiSelect>true</multiSelect>
8 <template>serverService-list.tpl</template>
9 <label>List of services</label>
10 <defaultSortColumn>1</defaultSortColumn>
12 <objectType>
13 <label>Service</label>
14 <objectClass>FAKE_OC_ServerService</objectClass>
15 <category>server</category>
16 <class>ServerService</class>
17 <image>images/lits/lists/element.png[new]</image>
18 </objectType>
20 </definition>
22 <table>
23 <layout>|18px;c||170px;r|</layout>
25 <column>
26 <label>!</label>
27 <sortAttribute>Status</sortAttribute>
28 <sortType>string</sortType>
29 <value>%{filter:filterServiceStatus(row,dn,"%s",Status)}</value>
30 <export>true</export>
31 </column>
33 <column>
34 <label>Description</label>
35 <sortAttribute>Message</sortAttribute>
36 <sortType>string</sortType>
37 <value>%{filter:link(row,dn,"%s",Message)}</value>
38 <export>true</export>
39 </column>
41 <column>
42 <label>Actions</label>
43 <value>%{filter:actions(dn,row,objectClass)}</value>
44 </column>
46 </table>
48 <actionmenu>
50 %SERVICES%
52 <action>
53 <name>remove</name>
54 <type>entry</type>
55 <image>images/lists/trash.png</image>
56 <label>Remove</label>
57 </action>
59 <action>
60 <type>separator</type>
61 </action>
63 <action>
64 <name>start</name>
65 <type>entry</type>
66 <image>images/status_start.png</image>
67 <label>Start</label>
68 </action>
70 <action>
71 <name>stop</name>
72 <type>entry</type>
73 <image>images/status_stop.png</image>
74 <label>Stop</label>
75 </action>
77 <action>
78 <name>restart</name>
79 <type>entry</type>
80 <image>images/lists/reload.png</image>
81 <label>Restart</label>
82 </action>
84 <action>
85 <type>separator</type>
86 </action>
88 <action>
89 <type>exporter</type>
90 </action>
92 </actionmenu>
94 <actiontriggers snapshot="false" copypaste="false">
96 <action>
97 <name>start</name>
98 <type>entry</type>
99 <image>images/status_start.png</image>
100 <objectclass>AllowStart</objectclass>
101 <label>Start</label>
102 </action>
104 <action>
105 <name>stop</name>
106 <type>entry</type>
107 <image>images/status_stop.png</image>
108 <objectclass>AllowStop</objectclass>
109 <label>Stop</label>
110 </action>
112 <action>
113 <name>restart</name>
114 <type>entry</type>
115 <image>images/lists/reload.png</image>
116 <objectclass>AllowRestart</objectclass>
117 <label>Restart</label>
118 </action>
120 <action>
121 <name>edit</name>
122 <type>entry</type>
123 <image>images/lists/edit.png</image>
124 <objectclass>AllowEdit</objectclass>
125 <label>Edit service</label>
126 </action>
128 <action>
129 <name>remove</name>
130 <type>entry</type>
131 <image>images/lists/trash.png</image>
132 <objectclass>AllowRemove</objectclass>
133 <label>Remove service</label>
134 </action>
136 </actiontriggers>
138 </list>