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>exporter</type>
77 </action>
79 </actionmenu>
81 <actiontriggers snapshot="false" copypaste="false">
83 <action>
84 <name>start</name>
85 <type>entry</type>
86 <image>images/status_start.png</image>
87 <objectclass>AllowStart</objectclass>
88 <label>Start</label>
89 </action>
91 <action>
92 <name>stop</name>
93 <type>entry</type>
94 <image>images/status_stop.png</image>
95 <objectclass>AllowStop</objectclass>
96 <label>Stop</label>
97 </action>
99 <action>
100 <name>restart</name>
101 <type>entry</type>
102 <image>images/lists/reload.png</image>
103 <objectclass>AllowRestart</objectclass>
104 <label>Restart</label>
105 </action>
107 <action>
108 <name>edit</name>
109 <type>entry</type>
110 <image>images/lists/edit.png</image>
111 <objectclass>AllowEdit</objectclass>
112 <label>Edit role</label>
113 </action>
115 <action>
116 <name>remove</name>
117 <type>entry</type>
118 <image>images/lists/trash.png</image>
119 <objectclass>AllowRemove</objectclass>
120 <label>Remove system</label>
121 </action>
123 </actiontriggers>
125 </list>