blob: f04172b6b03832de4f520e19667640f721005381 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/*****************************************************************************
* Copyright (c) 2016 CEA LIST, ALL4TEC and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and implementation
*****************************************************************************/
package org.eclipse.papyrus.views.modelexplorer.preferences;
/**
* Interface to define preference constants for the filter field.
*/
public interface IFilterPreferenceConstants {
/** The preference if the filter is in live validation. */
public static final String PREF_FILTER_LIVE_VALIDATION = "liveValidation"; //$NON-NLS-1$
/** The preference of the delay of live validation. */
public static final String PREF_FILTER_VALIDATION_DELAY = "validateDelay"; //$NON-NLS-1$
/** The preference if the filter is in live validation. */
public static final String PREF_FILTER_STEREOTYPE_REPLACED = "replaceStrereotypeDelimiter"; //$NON-NLS-1$
/** the default value for validation delay. */
public static final int DEFAULT_VALIDATION_DELAY_VALUE = 600;
/** the default value for the use of live validation in filter. */
public static final boolean DEFAULT_FILTER_LIVE_VALIDATION_VALUE = true;
/** the default value for the replacement of stereotype delimiters. */
public static final boolean DEFAULT_FILTER_STEREOTYPE_REPLACED_VALUE = true;
/**
* The left stereotype delimiter
*/
public static final String ST_LEFT = "\u00AB";//$NON-NLS-1$
/**
* The right stereotype delimiter
*/
public static final String ST_RIGHT = "\u00BB";//$NON-NLS-1$
/**
* The right stereotype delimiter to be replaced in Text
*/
public static final String ST_RIGHT_BEFORE = ">>";//$NON-NLS-1$
/**
* The left stereotype delimiter to be replaced in fields
*/
public static final String ST_LEFT_BEFORE = "<<";//$NON-NLS-1$
}
|