dummy; Metview; dummy
{
	color {
		brown
		black
		yellow
		'#FFFFDADA0000'
		'#1C1CB8B8A6A6'
		'#2525FFFF0000'
		'#2263ffff1E91'
		red
		green3
		'#000073734B4B'
		'#ffffffff0000'
		blue
		orange
	}
	boolean {
		True
		False
	}
}

service; Metview; config
{
    name { @ }
    cmd { @ }
}

state; Metview; State Translation Table
{
	class 			{ @ / }
	output_class 	{ @ / }
	mode 			{ @ / } = any
	action 			{ @ / } = any
	service 		{ @ }
}

resources; Metview; config
{
	definition 		{ @ }
	rules 			{ @ }
	metview 		{ @ }
	wastebasket 	{ @ }
	defaults 		{ @ }
	configuration 	{ @ }
	user_defaults 	{ @ }
	system_defaults	{ @ }
	preferences 	{ @ }
	about 			{ @ }
	macrolibrary 	{ @ }
	all_printers 	{ @ }
	timer 			{ @ }
	template 		{ @ }
	hidden 			{ @ }
	template_path 	{ @ / }
	interface_items { @ / }
	interface_tools { @ / }
	colour_file		{ @ }
	help_file 		{ @ }
	vismod_help_file 	{ @ }
	printer_list_file 	{ @ }
	icon			{ @ }
	lock_icon		{ @ }
	timer_icon		{ @ }
	bugs_report		{ @ }
	actions			{ @ / }
	vismod_table		{ @ }
}

object; Metview; config
{
	class {
		@
	}

	icon_box {
		@
	}

	link_prority {
		*
	} = 0

	can_be_created {
		True
		False
	} = False

	check {
		True
		False
	} = True

	default_object {
		True
		False
	} = True

	create_member {
		True
		False
	} = False

	show_lock {
		True
		False
	} = True

	definition_file {
		@
	}

	rules_file {
		@
	}

	doubleclick_method {
		edit
		visualise
		examine
		execute
	} = edit

	references {
		@
		/
	}

	want_definition {
		@
		/
	}

	default_name {
		@
	}

	type {
		File
		Film
		Basic
		Folder
		Data
		Family
		FamilyWindow
		View
		Visdef
		Preference
		Link
		Window
		Macro
		Remote
	}  = Basic

	expand {
		*
	} = 79

	vismod_print_service {
		@
	} = '(lpr  -P%s -#%d \"%s\")'

	vismod_visualise_service {
		@
    } = '(ghostview \"%s\")'

	preferences 	{ @ }

	macro {
		@
	}

	editor_type {
		SimpleEditor
		FamilyEditor
		TextEditor
		ViewEditor
		ComputeEditor
		MacroEditor
		NoEditor
		TwoLevelsEditor
		IndirectEditor
		FlowEditor
		TmpLinkEditor
	} = TextEditor


	new_color {
		&dummy&color
	} = black

	modified_color {
		&dummy&color
	} = black

	wait_color {
		&dummy&color
	} = orange
###	} = '#ffffffff0000'

	error_color {
		&dummy&color
	} = red

	warning_color {
		&dummy&color
	} = orange

	ready_color {
		&dummy&color
	} = green3


	pixmap {
		@
	}

	mask {
		@
	}

	open_pixmap{
		@
	}


# VISMOD keywords
	graphical_editor {
		NoEditor
		BasicEditor
		MapEditor
	} = NoEditor
	default_request {
		@
	}
	default_background {
		@
	}
	default_of_data {
		@
		/
	}
	delete {
		True
		False
	} = False

	output_type {
		@
	} = paper

}

mode; Metview; config
{
	class {
		@
	}
	pixmap {
		@
	}

#indicates if plot window need to be cleaned when request is received
	clean {
		True
		False
	} = False

	preferences_class {
		@
	} = VISUALISATION_PREFERENCES
	preferences {
		@
	} = 'Visualisation Preferences'
	x_resources {
		@
		/
	}

#Following parameters are mode dependent parameters used
#by VisBasicWindow and derived classes
#(So far used only by Tephigram application...)

#indicates if window layout should be set (max number of columns)
	set_layout {
		True
		False
	} = False

	columns {
		*
	} = 1

#indicates if all the graphs in a page should have the
#same height

	subpage_height {
		constant
		variable
	} = variable
}

interface_tool; describe to be added automatically in the Tools menu of the main User Interface; Metview
{
	name      { @ }
	label     { @ }
	service   { @ }
	action    { @ }
	title    { @ }
	command    { @ }
}

interface_item; describe interface items to be added automatically in the main User Interface; Metview
{
	name      { @ }
	full_name { @ }
	class	  { @ }
	renamable {
		True
		False
	} = False
	x		  { * } = 0
	y		  { * } = 0
	linked_to { @ }
	copy_of   { @ }
	image_of  { @ }
}
##############################################################################

GENERAL_PREFERENCES; Configuration; Metview
{

	OPEN_EACH_FOLDER
	[ visible = true ]
	{
		'In New Window'
		'In Same Window'
	} = 'In New Window'


	DEFAULT_PRINTER
	[
		visible = false,
        	interface   = icon,
        	class       = DEVICE,
        	exclusive   = true,
        	help        = help_data,
        	help_name   = Default Default Printer,
        	help_class  = DEVICE
	]
	{
        	@
	} = '../Devices/Default Printer'
	
	DEFAULT_VIEW_MODE [interface = option_menu] 
	{
		CLASSIC_ICON_VIEW 
		SIMPLE_ICON_VIEW
		DETAILED_VIEW
	} = CLASSIC_ICON_VIEW

	DEFAULT_ICON_SIZE [interface = option_menu] 
	{
		12
		16
		24
		32
		48
		64
		96
	} = 32

	ICON_DRAG_POLICY [interface = option_menu] 
	{
		'Show all the selected icons during drag' ; SHOW_ALL
		'Show only the dragged icon during drag' ; SHOW_DRAGGED
	} = SHOW_DRAGGED

	DATA_CACHE_RETENTION_PERIOD
	{
		0; INFINITE
		*
	} = INFINITE

	USE_NETWORK_PROXY
	[ visible = true ]
	{
		YES
		NO
	} = NO

	PROXY_URL {
		@
	} = 'proxy.ecmwf.int'

	PROXY_PORT {
		@
	} = '3333'

	NO_PROXY_FOR {
		@
	} = '.ecmwf.int'

	MONTH_LONG_NAMES {
		@
		/
	} = January/February/March/April/May/June/July/August/September/
		October/November/December

	MONTH_SHORT_NAMES {
		@
		/
	} = Jan/Feb/Mar/Apr/May/Jun/Jul/Aug/Sep/Oct/Nov/Dec

	DAY_LONG_NAMES {
		@
		/
	} = Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday

	DAY_SHORT_NAMES {
		@
		/
	} = Mon/Tue/Wed/Thu/Fri/Sat/Sun

	STRING_DATE_FORMAT {
		@
	} = 'yyyy-mm-dd HH:MM:SS'

	NUMBER_DATE_FORMAT {
		@
	} = 'yyyymmdd'
}
