1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.settings;
14
15 import com.eviware.soapui.settings.Setting.SettingType;
16
17 /***
18 * UI-related settings constants
19 *
20 * @author Ole.Matzura
21 */
22
23 public interface UISettings
24 {
25 public final static String EDITOR_FONT = UISettings.class.getSimpleName() + "@" + "editor-font";
26
27 @Setting( name = "Close Projects", description = "(close all projects on startup)", type = SettingType.BOOLEAN )
28 public final static String CLOSE_PROJECTS = UISettings.class.getSimpleName() + "@close-projects";
29
30 @Setting( name = "Order Projects", description = "(orders projects alphabetically in tree)", type = SettingType.BOOLEAN )
31 public final static String ORDER_PROJECTS = UISettings.class.getSimpleName() + "@order-projects";
32
33 @Setting( name = "Order Requests", description = "(orders Requests alphabetically in tree)", type = SettingType.BOOLEAN )
34 public final static String ORDER_REQUESTS = UISettings.class.getSimpleName() + "@order-requests";
35
36
37
38
39
40
41
42
43
44 @Setting( name = "Show Descriptions", description = "(show description content when available)", type = SettingType.BOOLEAN )
45 public static final String SHOW_DESCRIPTIONS = UISettings.class.getSimpleName() + "@show_descriptions";
46
47 @Setting( name = "Save projects on exit", description = "(automatically save all projects on exit)", type = SettingType.BOOLEAN )
48 public static final String AUTO_SAVE_PROJECTS_ON_EXIT = UISettings.class.getSimpleName()
49 + "@auto_save_projects_on_exit";
50
51 @Setting( name = "Create Backup", description = "(backup project files before they are saved)", type = SettingType.BOOLEAN )
52 public final static String CREATE_BACKUP = UISettings.class.getSimpleName() + "@create_backup";
53
54 @Setting( name = "Backup Folder", description = "(folder to backup to, can be both relative or absolute)", type = SettingType.FOLDER )
55 public final static String BACKUP_FOLDER = UISettings.class.getSimpleName() + "@backup_folder";
56
57 @Setting( name = "AutoSave Interval", description = "Sets the autosave interval in minutes, 0 = off", type = SettingType.INT )
58 public static final String AUTO_SAVE_INTERVAL = UISettings.class.getSimpleName() + "@auto_save_interval";
59
60 public static final String DESKTOP_TYPE = UISettings.class.getSimpleName() + "@desktop-type";
61
62 @Setting( name = "Native LF", description = "(use native Look & Feel - requires restart)", type = SettingType.BOOLEAN )
63 public static final String NATIVE_LAF = UISettings.class.getSimpleName() + "@native-laf";
64
65 public final static String ORDER_INTERFACES = UISettings.class.getSimpleName() + "@order-interfaces";
66 public final static String NO_RESIZE_REQUEST_EDITOR = UISettings.class.getSimpleName() + "@no_resize_request_editor";
67 public final static String START_WITH_REQUEST_TABS = UISettings.class.getSimpleName() + "@start_with_request_tabs";
68 public final static String AUTO_VALIDATE_REQUEST = UISettings.class.getSimpleName() + "@auto_validate_request";
69 public final static String ABORT_ON_INVALID_REQUEST = UISettings.class.getSimpleName() + "@abort_on_invalid_request";
70 public final static String AUTO_VALIDATE_RESPONSE = UISettings.class.getSimpleName() + "@auto_validate_response";
71
72 public static final String SHOW_XML_LINE_NUMBERS = UISettings.class.getSimpleName() + "@show_xml_line_numbers";
73 public static final String SHOW_GROOVY_LINE_NUMBERS = UISettings.class.getSimpleName() + "@show_groovy_line_numbers";
74
75 public static final String ORDER_MOCKOPERATION = UISettings.class.getSimpleName() + "@order-mockoperations";
76 public static final String ORDER_MOCKCASES = UISettings.class.getSimpleName() + "@order-mockcases";
77
78 public static final String DONT_DISABLE_GROOVY_LOG = UISettings.class.getSimpleName() + "@dont-disable-groovy-log";
79 public static final String SHOW_LOGS_AT_STARTUP = UISettings.class.getSimpleName() + "@show_logs_at_startup";
80
81 public static final String SHOW_PROPERTIES_IN_TREE = UISettings.class.getSimpleName() + "@show_properties_in_tree";
82
83 public static final String SHOW_STARTUP_PAGE = UISettings.class.getSimpleName() + "@show_startup_page";
84
85 @Setting( name = "Normalize Line-Breaks", description = "Normalize line-breaks when saving project", type = SettingType.BOOLEAN )
86 public static final String LINEBREAK = UISettings.class.getSimpleName() + "@" + "normalize_line-breaks";
87
88 @Setting( name = "GC Interval", description = "Sets the Garbage Collection interval in seconds, 0 = off", type = SettingType.INT )
89 public static final String GC_INTERVAL = UISettings.class.getSimpleName() + "@gc_interval";
90
91 @Setting( name = "Raw Request Message Size", description = "Sets size of raw request that will be shown", type = SettingType.INT )
92 public static final String RAW_REQUEST_MESSAGE_SIZE = UISettings.class.getSimpleName() + "@raw_request_message_size_show";
93
94 @Setting( name = "Raw Response Message Size", description = "Sets size of raw response that will be shown", type = SettingType.INT )
95 public static final String RAW_RESPONSE_MESSAGE_SIZE = UISettings.class.getSimpleName() + "@raw_response_message_size_show";
96
97 }