View Javadoc

1   /*
2    * @author Giorgos Anestis, TUC/MUSIC
3    *  
4    * @version 2.0
5    */
6   package org.dbe.studio.tools.ontologyviewer.utils;
7   
8   import org.eclipse.swt.graphics.RGB;
9   
10  /***
11   *
12   */
13  public class Constants {
14  
15  	//Messages/Error messages
16  	public final static String WARN 		  	= "Warning",
17  							   TRYING_CONNECT 	= "Trying to connect...", 
18  							   CONNECTION_ERROR = "The FADA you attempt to connect is unreachable",
19  							   ONT_TREE			= "Ontology Tree",
20  							   ADD_INFO			= "Additional Info",
21  							   ADDRESS			= "Address",
22  							   CONFIG_FILE		= "Ontology viewer property file",
23  							   ANNOTATION 		= "Annotation",
24  							   PROPERTY 		= "Property info",
25  							   RESTRICTION_CLASS = "Constraints";	
26  	
27  	//Labels
28  	public final static String BORDER_SEARCH   = "Search",
29  							   LABEL_SEARCH    = "   Search:",
30  							   BUTTON_LABEL_GO = "Go",
31  							   BUTTON_LABEL_OK = "OK",
32  							   BUTTON_CANCEL   = "Cancel",
33  							   BUTTON_FADA_NODE_ADDRESS ="Fada Node Address",
34  							   LABEL_ONTOLOGY  = "Ontology:";							   ;
35  	
36  	//Values
37  	public final static String EMPTY_STRING = "",
38  						KB_PROXY		    = "org.dbe.kb.proxy.KBI",
39  						CONF_FILE_PATH 		= "plugins/org.dbe.studio.tools.ontologyviewer_1.0.0/OntologyViewer.conf",
40  						FADA_NODE_ADDRESS   = "http://localhost:2728",
41  						ICONS_PATH			= "icons/",
42  						ONTOLOGY_VIEWER_VIEW = "org.dbe.studio.tools.ontologyviewer.views.ontologyView";
43  						
44  	// colors
45  	public final static RGB FONT_COLOR = new RGB(64,53,255);
46  }