1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.actions;
14
15 import com.eviware.soapui.impl.wsdl.panels.teststeps.support.PropertyHolderTable;
16 import com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils;
17 import com.eviware.soapui.model.settings.Settings;
18 import com.eviware.soapui.support.components.SimpleForm;
19 import com.eviware.soapui.support.types.StringToStringMap;
20
21 public class GlobalPropertiesPrefs implements Prefs
22 {
23 public final static String ENABLE_OVERRIDE = "Enable Override";
24
25 public SimpleForm getForm()
26 {
27 SimpleForm form = new SimpleForm();
28
29 form.addComponent( new PropertyHolderTable( PropertyExpansionUtils.getGlobalProperties() ));
30 form.addSpace();
31 form.appendCheckBox( ENABLE_OVERRIDE, "Enables overriding of any property-reference with global properties", false );
32
33 return form;
34 }
35
36 public void getFormValues( Settings settings )
37 {
38 }
39
40 public String getTitle()
41 {
42 return "Global Properties";
43 }
44
45 public StringToStringMap getValues( Settings settings )
46 {
47 return null;
48 }
49
50 public void setFormValues( Settings settings )
51 {
52 }
53
54 public void storeValues( StringToStringMap values, Settings settings )
55 {
56 }
57 }