All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eviware.soapui.settings.UISettings Maven / Gradle / Ivy

The newest version!
/*
 *  soapUI, copyright (C) 2004-2011 smartbear.com 
 *
 *  soapUI is free software; you can redistribute it and/or modify it under the 
 *  terms of version 2.1 of the GNU Lesser General Public License as published by 
 *  the Free Software Foundation.
 *
 *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
 *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 *  See the GNU Lesser General Public License for more details at gnu.org.
 */

package com.eviware.soapui.settings;

import com.eviware.soapui.settings.Setting.SettingType;

/**
 * UI-related settings constants
 * 
 * @author Ole.Matzura
 */

public interface UISettings
{
	public final static String EDITOR_FONT = UISettings.class.getSimpleName() + "@" + "editor-font";

	@Setting( name = "Close Projects", description = "(close all projects on startup)", type = SettingType.BOOLEAN )
	public final static String CLOSE_PROJECTS = UISettings.class.getSimpleName() + "@close-projects";

	@Setting( name = "Order Projects", description = "(orders projects alphabetically in tree)", type = SettingType.BOOLEAN )
	public final static String ORDER_PROJECTS = UISettings.class.getSimpleName() + "@order-projects";

	@Setting( name = "Order Services", description = "(orders services alphabetically in tree)", type = SettingType.BOOLEAN )
	public final static String ORDER_SERVICES = UISettings.class.getSimpleName() + "@order-services";

	@Setting( name = "Order Requests", description = "(orders Requests alphabetically in tree)", type = SettingType.BOOLEAN )
	public final static String ORDER_REQUESTS = UISettings.class.getSimpleName() + "@order-requests";

	// public final static String ORDER_LOADTESTS =
	// UISettings.class.getSimpleName() + "@order-loadtests";
	//
	// @Setting( name = "Order TestSuites", description =
	// "(orders TestSuites alphabetically in tree)", type = SettingType.BOOLEAN )
	// public final static String ORDER_TESTSUITES =
	// UISettings.class.getSimpleName() + "@order-testsuites";

	@Setting( name = "Show Descriptions", description = "(show description content when available)", type = SettingType.BOOLEAN )
	public static final String SHOW_DESCRIPTIONS = UISettings.class.getSimpleName() + "@show_descriptions";

	@Setting( name = "Save projects on exit", description = "(automatically save all projects on exit)", type = SettingType.BOOLEAN )
	public static final String AUTO_SAVE_PROJECTS_ON_EXIT = UISettings.class.getSimpleName()
			+ "@auto_save_projects_on_exit";

	@Setting( name = "Create Backup", description = "(backup project files before they are saved)", type = SettingType.BOOLEAN )
	public final static String CREATE_BACKUP = UISettings.class.getSimpleName() + "@create_backup";

	@Setting( name = "Backup Folder", description = "(folder to backup to, can be both relative or absolute)", type = SettingType.FOLDER )
	public final static String BACKUP_FOLDER = UISettings.class.getSimpleName() + "@backup_folder";

	@Setting( name = "AutoSave Interval", description = "Sets the autosave interval in minutes, 0 = off", type = SettingType.INT )
	public static final String AUTO_SAVE_INTERVAL = UISettings.class.getSimpleName() + "@auto_save_interval";

	public static final String DESKTOP_TYPE = UISettings.class.getSimpleName() + "@desktop-type";

	@Setting( name = "Native LF", description = "(use native Look & Feel - requires restart)", type = SettingType.BOOLEAN )
	public static final String NATIVE_LAF = UISettings.class.getSimpleName() + "@native-laf";

	@Setting( name = "Disable Browser", description = "(disables integrated browser component)", type = SettingType.BOOLEAN )
	public static final String DISABLE_BROWSER = UISettings.class.getSimpleName() + "@disable-browser";
	public static final String DISABLE_BROWSER_PLUGINS = UISettings.class.getSimpleName() + "@disable-browser-plugins";

	public final static String NO_RESIZE_REQUEST_EDITOR = UISettings.class.getSimpleName() + "@no_resize_request_editor";
	public final static String START_WITH_REQUEST_TABS = UISettings.class.getSimpleName() + "@start_with_request_tabs";
	public final static String AUTO_VALIDATE_REQUEST = UISettings.class.getSimpleName() + "@auto_validate_request";
	public final static String ABORT_ON_INVALID_REQUEST = UISettings.class.getSimpleName() + "@abort_on_invalid_request";
	public final static String AUTO_VALIDATE_RESPONSE = UISettings.class.getSimpleName() + "@auto_validate_response";

	public static final String SHOW_XML_LINE_NUMBERS = UISettings.class.getSimpleName() + "@show_xml_line_numbers";
	public static final String SHOW_GROOVY_LINE_NUMBERS = UISettings.class.getSimpleName() + "@show_groovy_line_numbers";

	public static final String ORDER_MOCKOPERATION = UISettings.class.getSimpleName() + "@order-mockoperations";
	public static final String ORDER_MOCKCASES = UISettings.class.getSimpleName() + "@order-mockcases";

	public static final String DONT_DISABLE_GROOVY_LOG = UISettings.class.getSimpleName() + "@dont-disable-groovy-log";
	public static final String SHOW_LOGS_AT_STARTUP = UISettings.class.getSimpleName() + "@show_logs_at_startup";

	public static final String SHOW_PROPERTIES_IN_TREE = UISettings.class.getSimpleName() + "@show_properties_in_tree";

	public static final String SHOW_STARTUP_PAGE = UISettings.class.getSimpleName() + "@show_startup_page";
	public static final String DISABLE_TOOLTIPS = UISettings.class.getSimpleName() + "@disable_tooltips";

	@Setting( name = "Normalize Line-Breaks", description = "Normalize line-breaks when saving project", type = SettingType.BOOLEAN )
	public static final String LINEBREAK = UISettings.class.getSimpleName() + "@" + "normalize_line-breaks";

	@Setting( name = "GC Interval", description = "Sets the Garbage Collection interval in seconds, 0 = off", type = SettingType.INT )
	public static final String GC_INTERVAL = UISettings.class.getSimpleName() + "@gc_interval";

	@Setting( name = "Raw Request Message Size", description = "Sets size of raw request that will be shown", type = SettingType.INT )
	public static final String RAW_REQUEST_MESSAGE_SIZE = UISettings.class.getSimpleName()
			+ "@raw_request_message_size_show";

	@Setting( name = "Raw Response Message Size", description = "Sets size of raw response that will be shown", type = SettingType.INT )
	public static final String RAW_RESPONSE_MESSAGE_SIZE = UISettings.class.getSimpleName()
			+ "@raw_response_message_size_show";

	@Setting( name = "Wrap Raw Messages", description = "Wraps content in Raw message viewers", type = SettingType.BOOLEAN )
	public static final String WRAP_RAW_MESSAGES = UISettings.class.getSimpleName() + "@wrap_raw_messages";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy