trace/traceviewer/com.nokia.traceviewer/src/com/nokia/traceviewer/engine/preferences/PreferenceConstants.java
changeset 11 5b9d4d8641ce
equal deleted inserted replaced
10:ed1c9f64298a 11:5b9d4d8641ce
       
     1 /*
       
     2  * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  * Constant definitions for plug-in preferences
       
    17  *
       
    18  */
       
    19 package com.nokia.traceviewer.engine.preferences;
       
    20 
       
    21 /**
       
    22  * Constant definitions for plug-in preferences
       
    23  */
       
    24 public final class PreferenceConstants {
       
    25 
       
    26 	/**
       
    27 	 * Connection type preference name
       
    28 	 */
       
    29 	public static final String CONNECTION_TYPE = "connectionTypePreference"; //$NON-NLS-1$
       
    30 
       
    31 	/**
       
    32 	 * Selected connection ID
       
    33 	 */
       
    34 	public static final String SELECTED_CONNECTION_ID = "selectedConnectionId"; //$NON-NLS-1$
       
    35 
       
    36 	/**
       
    37 	 * Selected connection name
       
    38 	 */
       
    39 	public static final String SELECTED_CONNECTION_NAME = "selectedConnectionName"; //$NON-NLS-1$
       
    40 
       
    41 	/**
       
    42 	 * Timestamp accuracy preference name
       
    43 	 */
       
    44 	public static final String TIMESTAMP_ACCURACY = "timestampAccuracyPreference"; //$NON-NLS-1$
       
    45 
       
    46 	/**
       
    47 	 * Data format preference name
       
    48 	 */
       
    49 	public static final String DATA_FORMAT = "dataFormatPreference"; //$NON-NLS-1$
       
    50 
       
    51 	/**
       
    52 	 * IP address preference name
       
    53 	 */
       
    54 	public static final String IP_ADDRESS = "ipAddressPreference"; //$NON-NLS-1$
       
    55 
       
    56 	/**
       
    57 	 * TCP/IP port preference name
       
    58 	 */
       
    59 	public static final String TCPIP_PORT = "tcpIpPortPreference"; //$NON-NLS-1$
       
    60 
       
    61 	/**
       
    62 	 * TCP/IP channel preference name
       
    63 	 */
       
    64 	public static final String TCPIP_CHANNEL = "tcpIpChannelPreference"; //$NON-NLS-1$
       
    65 
       
    66 	/**
       
    67 	 * TCP/IP default channel
       
    68 	 */
       
    69 	public static final int TCPIP_DEFAULT_CHANNEL = 2;
       
    70 
       
    71 	/**
       
    72 	 * TCP connection type
       
    73 	 */
       
    74 	public static final String CONNECTION_TYPE_TCPIP = "tcpip"; //$NON-NLS-1$
       
    75 
       
    76 	/**
       
    77 	 * USB connection type
       
    78 	 */
       
    79 	public static final String CONNECTION_TYPE_USB = "usb"; //$NON-NLS-1$
       
    80 
       
    81 	/**
       
    82 	 * USB Serial connection type
       
    83 	 */
       
    84 	public static final String CONNECTION_TYPE_USB_SERIAL = "usbserial"; //$NON-NLS-1$
       
    85 
       
    86 	/**
       
    87 	 * Connection is not supported
       
    88 	 */
       
    89 	public static final String CONNECTION_TYPE_NOT_SUPPORTED = "notsupported"; //$NON-NLS-1$
       
    90 
       
    91 	/**
       
    92 	 * COM port number in USB serial connection
       
    93 	 */
       
    94 	public static final String USB_SERIAL_COM_PORT = "serialcomport"; //$NON-NLS-1$
       
    95 
       
    96 	/**
       
    97 	 * Default USB serial COM port
       
    98 	 */
       
    99 	public static final String DEFAULT_USB_SERIAL_COM_PORT = "COM1"; //$NON-NLS-1$
       
   100 
       
   101 	/**
       
   102 	 * Millisecond timestamp accuracy
       
   103 	 */
       
   104 	public static final String MILLISECOND_ACCURACY = "millisecond"; //$NON-NLS-1$
       
   105 
       
   106 	/**
       
   107 	 * Microsecond timestamp accuracy
       
   108 	 */
       
   109 	public static final String MICROSECOND_ACCURACY = "microsecond"; //$NON-NLS-1$
       
   110 
       
   111 	/**
       
   112 	 * Show undecoded traces as info text
       
   113 	 */
       
   114 	public static final String UNDECODED_INFO_TEXT = "undecodedInfoText"; //$NON-NLS-1$
       
   115 
       
   116 	/**
       
   117 	 * Show undecoded traces as hex
       
   118 	 */
       
   119 	public static final String UNDECODED_HEX = "undecodedHex"; //$NON-NLS-1$
       
   120 
       
   121 	/**
       
   122 	 * Show undecoded traces as ID's and data
       
   123 	 */
       
   124 	public static final String UNDECODED_ID_AND_DATA = "undecodedIdAndData"; //$NON-NLS-1$
       
   125 
       
   126 	/**
       
   127 	 * Configuration file
       
   128 	 */
       
   129 	public static final String CONFIGURATION_FILE = "configurationFile"; //$NON-NLS-1$
       
   130 
       
   131 	/**
       
   132 	 * Default configuration file
       
   133 	 */
       
   134 	public static final String DEFAULT_CONFIGURATION_FILE = Messages
       
   135 			.getString("PreferenceConstants.DefaultConfigurationFile"); //$NON-NLS-1$
       
   136 
       
   137 	/**
       
   138 	 * Use external filter command checkbox
       
   139 	 */
       
   140 	public static final String EXTERNAL_FILTER_CHECKBOX = "externalFilterCheckbox"; //$NON-NLS-1$
       
   141 
       
   142 	/**
       
   143 	 * Show time from previous trace checkbox
       
   144 	 */
       
   145 	public static final String TIME_FROM_PREVIOUS_TRACE_CHECKBOX = "timeFromPreviousTraceCheckbox"; //$NON-NLS-1$
       
   146 
       
   147 	/**
       
   148 	 * Show component and group name checkbox
       
   149 	 */
       
   150 	public static final String SHOW_COMPONENT_GROUP_NAME_CHECKBOX = "showComponentGroupNameCheckbox"; //$NON-NLS-1$
       
   151 
       
   152 	/**
       
   153 	 * Show class and function name checkbox
       
   154 	 */
       
   155 	public static final String SHOW_CLASS_FUNCTION_NAME_CHECKBOX = "showClassFunctionNameCheckbox"; //$NON-NLS-1$
       
   156 
       
   157 	/**
       
   158 	 * Automatically reload changed Dictionaries checkbox
       
   159 	 */
       
   160 	public static final String AUTO_RELOAD_DICTIONARIES_CHECKBOX = "autoReloadChangedDictionariesCheckbox"; //$NON-NLS-1$
       
   161 
       
   162 	/**
       
   163 	 * Show BTrace variables checkbox
       
   164 	 */
       
   165 	public static final String SHOW_BTRACE_VARIABLES_CHECKBOX = "showBTraceVariablesCheckbox"; //$NON-NLS-1$
       
   166 
       
   167 	/**
       
   168 	 * Show binary traces type radio group
       
   169 	 */
       
   170 	public static final String SHOW_UNDECODED_TRACES_TYPE = "showBinaryTracesType"; //$NON-NLS-1$
       
   171 
       
   172 	/**
       
   173 	 * External filter command
       
   174 	 */
       
   175 	public static final String EXTERNAL_FILTER_COMMAND = "externalFilterCommand"; //$NON-NLS-1$
       
   176 
       
   177 	/**
       
   178 	 * Auto-connect to dynamic connections checkbox
       
   179 	 */
       
   180 	public static final String AUTO_CONNECT_DYNAMIC_CONNECTIONS_CHECKBOX = "autoConnectDynamicConnections"; //$NON-NLS-1$
       
   181 }