TasteConfig.ini 3.91 KB
Newer Older
Jerome Legrand's avatar
Jerome Legrand committed
1
package provide TasteConfig 0.1
Jerome Legrand's avatar
Jerome Legrand committed
2 3 4

lappend auto_path .
namespace eval TasteConfig {
Jerome Legrand's avatar
Jerome Legrand committed
5 6 7 8 9 10 11 12 13 14 15
	variable config { \
		"instanceSelectColor" "green" \
		"logDirectory" "tmp/TASTE" \
		"font" "Helvetica" \
		"fontSize" "9" \
		"functionLabelValidation" "1.3" \
		"diagFont" "Helvetica" \
		"diagFontSize" "9" \
		"interlineInPercentOfFont" "1.2" \
		"gitExe" "C:/Program Files/TortoiseGit/bin/git.exe" \
		"asn2aadlPath" "asn2aadlPlus" \
16
		"mscEditor" "taste-edit-msc" \
Arnaud Schach's avatar
Arnaud Schach committed
17
		"mscCreator" "taste-create-msc" \
18
		"check-deployment-target" "true" \
Arnaud Schach's avatar
Arnaud Schach committed
19
		"function-has-changed" "false" \
Jerome Legrand's avatar
Jerome Legrand committed
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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
	}

	variable accelerators { \
		"removeAccelerator" "Delete" \
		"editAccelerator" "Control-e" \
		"newAccelerator" "Control-n" \
		"openAccelerator" "Control-o" \
		"saveAccelerator" "Control-s" \
		"quitAccelerator" "Control-q" \
		"copyAccelerator" "Control-c" \
		"pasteAccelerator" "Control-v" \
		"cutAccelerator" "Control-x" \
		"undoAccelerator" "Control-z" \
		"redoAccelerator" "Control-y" \
		"zoominAccelerator" "Control-plus" \
		"zoomoutAccelerator" "Control-minus" \
		"diagramUpAccelerator" "Control-Up" \
		"diagramDownAccelerator" "Control-Down" \
		"diagramLeftAccelerator" "Control-Left" \
		"diagramRightAccelerator" "Control-Right" \
		"selectionUpAccelerator" "Up" \
		"selectionDownAccelerator" "Down" \
		"selectionLeftAccelerator" "Left" \
		"selectionRightAccelerator" "Right" \
	}

	variable IVObjectsConfig { \
        "Function" {"color" "gray50" "fillColor" "gold" "nonTerminalColor" "gray"} \
        "ProvidedInterface" {"color" "#1560BD" "fillColor" "blue"} \
        "RequiredInterface" {"color" "#1560BD" "fillColor" "blue"} \
        "FeatureGroup" {"color" "#1560BD" "fillColor" "blue"} \
        "RelationGroup" {"color" "#1560BD" "fillColor" "black"} \
        "GenericConnection" {"color" "#1560BD" "fillColor" "black"} \
        "Comment" {"color" "gray50" "fillColor" "white"} \
	}

	variable IVConfig { \
		"diagramWidth" "297000" \
		"diagramHeight" "210000" \
		"diagramXUnit" "2" \
		"diagramYUnit" "2" \
		"zoomoutBound" "false" \
		"gridSnap" "true" \
		"selectionColor" "green" \
		"editableColor" "orange" \
		"emptyPercent" "0.9" \
		"removeDialogBox" "false" \
		"selectionPrecision" "2" \
		"minInterfaceSize" "2" \
		"maxInterfaceSize" "40" \
		"zoomLabel" "false" \
		"editablePercent" "0.9" \
		"hidePercent" "0.1" \
		"hideTextPercent" "0.3" \
		"hideLabelPercent1" "0.5" \
		"hideLabelPercent2" "0.5" \
		"delayMaskInformation" "100" \
		"zoomFactor" "0.9" \
		"instanceSelectColor" "red" \
		"displayConnectionLabel" "false" \
Arnaud Schach's avatar
Arnaud Schach committed
80 81
		"zoomDepth" "2" \
		"svgComponentDepth" "2" \
Jerome Legrand's avatar
Jerome Legrand committed
82 83 84 85 86 87 88 89 90 91 92 93
	}

	variable DVObjectsConfig { \
		"ProcessorBoard" {"color" "black" "fillColor" "gray"} \
		"Processor" {"color" "black" "fillColor" "yellow"} \
		"Partition" {"color" "black" "fillColor" "yellow"} \
		"Device" {"color" "black" "fillColor" "gray"} \
		"Bus" {"color" "black" "fillColor" "gray"} \
		"Driver" {"color" "black" "fillColor" "yellow"} \
		"FunctionDV" {"color" "black" "fillColor" "yellow"} \
		"ConnectionDV" {"color" "black" "fillColor" "yellow"} \
        "Comment" {"color" "gray50" "fillColor" "white"} \
94
        "BindList" {"color" "gray50" "fillColor" "white"} \
Jerome Legrand's avatar
Jerome Legrand committed
95 96 97
        "GenericConnection" {"fillColor" "black"} \
        "GenericConnector" {"fillColor" "black"} \
	}
Jerome Legrand's avatar
Jerome Legrand committed
98

Jerome Legrand's avatar
Jerome Legrand committed
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
	variable DVConfig {\
		"diagramWidth" "297000" \
		"diagramHeight" "210000" \
		"diagramXUnit" "2" \
		"diagramYUnit" "2" \
		"zoomoutBound" "false" \
		"gridSnap" "false" \
		"selectionColor" "green" \
		"editableColor" "orange" \
		"emptyPercent" "3.0" \
		"removeDialogBox" "false" \
		"selectionPrecision" "2" \
		"minInterfaceSize" "2" \
		"maxInterfaceSize" "40" \
		"zoomLabel" "false" \
		"editablePercent" "0.9" \
		"hidePercent" "0.1" \
		"hideTextPercent" "0.3" \
		"hideLabelPercent1" "0.5" \
		"hideLabelPercent2" "0.5" \
		"delayMaskInformation" "300" \
		"zoomFactor" "0.9" \
		"instanceSelectColor" "red" \
		"displayConnectionLabel" "false" \
Arnaud Schach's avatar
Arnaud Schach committed
123 124
		"zoomDepth" "4" \
		"svgComponentDepth" "3" \
Jerome Legrand's avatar
Jerome Legrand committed
125
	}
Jerome Legrand's avatar
Jerome Legrand committed
126
}