IVConfig.ini 2.01 KB
Newer Older
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 52 53 54 55 56 57 58 59 60 61
package provide IVConfig 0.1


lappend auto_path .
namespace eval IVConfig {
	variable objectsConfig {
	"Container" {"color" "gray50" "fillColor" "gray"} \
	"Function" {"color" "gray50" "fillColor" "gold"} \
        "ProvidedInterface" {"color" "#1560BD" "fillColor" "blue"} \
        "RequiredInterface" {"color" "#1560BD" "fillColor" "blue"} \
        "Comment" {"color" "gray50" "fillColor" "gray90"} \
    }
    
    variable config {\
        "diagramWidth" 2970 \
        "diagramHeight" 2100 \
        "diagramXUnit" 2 \
        "diagramYUnit" 2 \
        "zoomoutBound" "false" \
        "gridSnap" "true" \
        "selectionColor" "red" \
        "editableColor" "orange" \
        "emptyPercent" 0.9 \
        "removeDialogBox" "false" \
        "asn2aadlPath" "asn2aadlPlus" \
        "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" \
        "logDirectory" "tmp/TASTE" \
        "displayConnectionLabel" "false" \
    }

    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-Up" \
        "zoomoutAccelerator" "Control-Down" \
        "diagramUpAccelerator" "Up" \
        "diagramDownAccelerator" "Down" \
        "diagramLeftAccelerator" "Left" \
        "diagramRightAccelerator" "Right" \
    }
}