1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.taxeditor.editor.name.container;
|
12
|
|
13
|
import org.eclipse.swt.graphics.Image;
|
14
|
|
15
|
import eu.etaxonomy.taxeditor.model.ImageResources;
|
16
|
|
17
|
/**
|
18
|
* @author n.hoffmann
|
19
|
* @created Jan 20, 2011
|
20
|
* @version 1.0
|
21
|
*/
|
22
|
public interface IContainerConstants {
|
23
|
/**
|
24
|
*
|
25
|
*/
|
26
|
public static final int SELECTED_FOCUS = 1;
|
27
|
/** Constant <code>SELECTED_NO_FOCUS=2</code> */
|
28
|
public static final int SELECTED_NO_FOCUS = 2;
|
29
|
/** Constant <code>NOT_SELECTED=3</code> */
|
30
|
public static final int NOT_SELECTED = 3;
|
31
|
|
32
|
/**
|
33
|
* ************ COMPOSITE TYPES ************
|
34
|
*/
|
35
|
/** Constant <code>ACCEPTED_TAXON="accepted_name_composite"</code> */
|
36
|
public static final String ACCEPTED_TAXON = "accepted_name_composite";
|
37
|
/** Constant <code>HOMOTYPIC_SYNONYM="homotypic_name_composite"</code> */
|
38
|
public static final String HOMOTYPIC_SYNONYM = "homotypic_name_composite";
|
39
|
/** Constant <code>HETEROTYPIC_SYNONYM="heterotypic_name_composite"</code> */
|
40
|
public static final String HETEROTYPIC_SYNONYM = "heterotypic_name_composite";
|
41
|
/** Constant <code>MISAPPLIED_NAME="misappliedname_name_composite"</code> */
|
42
|
public static final String MISAPPLIED_NAME = "misappliedname_name_composite";
|
43
|
/** Constant <code>CONCEPTRELATION="concept_name_composite"</code> */
|
44
|
public static final String CONCEPTRELATION = "concept_name_composite";
|
45
|
|
46
|
/**
|
47
|
* ************ INDENTATIONS ************
|
48
|
*/
|
49
|
public static final int ACCEPTED_INDENT = 20;
|
50
|
/** Constant <code>SYNONYM_INDENT=40</code> */
|
51
|
public static final int SYNONYM_INDENT = 40;
|
52
|
/** Constant <code>HOMOTYPIC_SYNONYM_IN_HETEROTYPIC_GROUP_INDENT = 60</code> */
|
53
|
public static final int HOMOTYPIC_SYNONYM_IN_HETEROTYPIC_GROUP_INDENT = 60;
|
54
|
/** Constant <code>MISAPPLIEDNAME_INDENT=40</code> */
|
55
|
public static final int MISAPPLIEDNAME_INDENT = 40;
|
56
|
/** Constant <code>CONCEPT_INDENT=40</code> */
|
57
|
public static final int CONCEPT_INDENT = 40;
|
58
|
|
59
|
|
60
|
/**
|
61
|
* ************ ICONS ************
|
62
|
*/
|
63
|
public static final Image ACCEPTED_ICON = ImageResources.getImage(ImageResources.BLACK_SQUARE_ICON);
|
64
|
/** Constant <code>HOMOTYPIC_SYNONYM_ICON</code> */
|
65
|
public static final Image HOMOTYPIC_SYNONYM_ICON = ImageResources.getImage(ImageResources.HOMOTYPIC_SYN_ICON);
|
66
|
/** Constant <code>HOMOTYPIC_SYNONYM_ORIGINAL_COMBINATION_ICON</code> */
|
67
|
public static final Image HOMOTYPIC_SYNONYM_ORIGINAL_COMBINATION_ICON = ImageResources.getImage(
|
68
|
ImageResources.HOMOTYPIC_SYN_ORIGINAL_ICON);
|
69
|
/** Constant <code>HETEROTYPIC_SYNONYM_ICON</code> */
|
70
|
public static final Image HETEROTYPIC_SYNONYM_ICON = ImageResources.getImage(ImageResources.HETEROTYPIC_SYN_ICON);
|
71
|
public static final Image HOMOTYPIC_SYNONYM_IN_HETEROTYPIC_GROUP_ICON = ImageResources.getImage(ImageResources.HOMOTYPIC_SYNONYM_IN_HETEROTYPIC_GROUP_ICON);
|
72
|
public static final Image INVALID_OR_NUDUM_NAME_ICON = ImageResources.getImage(ImageResources.NOM_INVAL_NUD_SYN_ICON);
|
73
|
/** Constant <code>HETEROTYPIC_SYNONYM_ORIGINAL_COMBINATION_ICON</code> */
|
74
|
public static final Image HETEROTYPIC_SYNONYM_ORIGINAL_COMBINATION_ICON = ImageResources.getImage(
|
75
|
ImageResources.HETEROTYPIC_SYN_ORIGINAL_ICON);
|
76
|
/** Constant <code>MISAPPLIEDNAME_ICON</code> */
|
77
|
public static final Image MISAPPLIEDNAME_ICON = ImageResources.getImage(ImageResources.MISAPPLIED_NAME_ICON);
|
78
|
/** Constant <code>CONCEPT_ICON</code> */
|
79
|
public static final Image CONCEPT_ICON = ImageResources.getImage(ImageResources.CONCEPT_ICON);
|
80
|
/** Constant <code>AUTONYM_ICON</code> */
|
81
|
public static final Image AUTONYM_ICON = ImageResources
|
82
|
.getImage(ImageResources.AUTONYM_ICON);
|
83
|
/** Constant <code>MOVE</code> */
|
84
|
public static final Image MOVE = ImageResources.getImage(ImageResources.MOVE_ICON);
|
85
|
|
86
|
/**
|
87
|
* ************ TRANSFORMATIONS ************
|
88
|
*/
|
89
|
public static final String ADD_GROUP_BASIONYM = "add_group_basionym";
|
90
|
/** Constant <code>REMOVE_GROUP_BASIONYM="remove_group_basionym"</code> */
|
91
|
public static final String REMOVE_GROUP_BASIONYM = "remove_group_basionym";
|
92
|
|
93
|
public static final String EMPTY_NAME_PROMPT = "Click to add name";
|
94
|
}
|