blob: 34896cea950cfdf354a12a42042647931c1363ef (
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
|
/*******************************************************************************
* Copyright (c) 2001, 2004 IBM Corporation 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:
* IBM Corporation - initial API and implementation
* Jens Lukowski/Innoopract - initial renaming/restructuring
*
*******************************************************************************/
package org.eclipse.wst.xml.ui.internal.contentassist;
import org.eclipse.wst.sse.ui.internal.contentassist.IRelevanceConstants;
/**
* some relevance constants for content assist higher relevance means it shows
* up higher on the list
*/
public interface XMLRelevanceConstants extends IRelevanceConstants {
int R_CDATA = 400;
int R_CLOSE_TAG = 1500;
int R_COMMENT = 100;
// moved this above macros
int R_DOCTYPE = 600;
int R_END_TAG = 1400;
int R_END_TAG_NAME = 1100;
int R_ENTITY = 1000;
int R_JSP = 500;
int R_JSP_ATTRIBUTE_VALUE = 700;
// (pa) make these the same relevance so proposals are same order for V501
int R_MACRO = 500;
// add this onto "required" attrs, elements, etc to bubble them up on
// sorting...
// CMVC 246618
int R_REQUIRED = 10;
int R_TAG_INSERTION = 500;
int R_TAG_NAME = 1200;
int R_XML_ATTRIBUTE_NAME = 900;
int R_XML_ATTRIBUTE_VALUE = 800;
int R_XML_DECLARATION = 1300;
}
|