GuidoCheckBox evalBlockModel {
-caption "Evaluate using block model"
-caption_placement "Right"
-selected_value Y
-unselected_value N
-default false
-tip STOPESBLOCKMODELTAB_1
}
GuidoPanel modelNamePanel {
-layout CentreLineLayout
GuidoPanel entryPanel {
-layout OverlayLayout
GuidoPanel name_panel {
-layout CentrelineLayout
GuidoLabel bmNameLbl {
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-label "Block model"
}
GuidoLabel bmName {
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-font_style bold
}
}
GuidoPanel file_panel {
-layout CentrelineLayout
GuidoFileBrowserField bm_file {
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-display_length 30
-file_mask *.mdl
-format none
-max_length 252
-tip "FRM_SAVESECTIONCONFIRM_1"
-translate lower
-tip STOPESBLOCKMODELTAB_2
-label "Block model"
}
}
}
}
GuidoFiller space {
-height 0.5
}
GuidoPanel modelSettingsPanel {
-border etched true
-label "Block model settings"
-layout BoxLayout Y_AXIS
GuidoPanel bmSettingsPanel {
-layout CentreLineLayout
GuidoButtonGroupPanel specGravity {
-label "Specific gravity by"
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-layout BoxLayout Y_AXIS
GuidoRadioButton useAttr {
-caption "attribute"
-selected_value "attribute"
-default true
-tip STOPESBLOCKMODELTAB_3
}
GuidoRadioButton useVal {
-caption "value"
-selected_value "value"
-tip "Use a constant value as your SG"
}
}
GuidoPanel attrValLabelpanel {
-layout OverlayLayout
GuidoPanel attrlabelPanel {
-layout BoxLayout Y_AXIS
-dependency {("[$specGravity getCurrentValue]" == "attribute") && ("[$evalBlockModel getCurrentValue]" == "Y")}
GuidoLabel attrLabel {
-dependency {("[$specGravity getCurrentValue]" == "attribute") && ("[$evalBlockModel getCurrentValue]" == "Y")}
-label "Attribute"
-alignmentX right
-height 1
}
GuidoLabel attrLabel {
-dependency {("[$specGravity getCurrentValue]" == "attribute") && ("[$evalBlockModel getCurrentValue]" == "Y")}
-label "Replace negatives with"
-alignmentX right
-height 1
}
}
GuidoPanel valLabelPanel {
-dependency {("[$specGravity getCurrentValue]" == "value") || "[$evalBlockModel getCurrentValue]" == "N"}
GuidoLabel attrLabel {
-dependency {("[$specGravity getCurrentValue]" == "value") || "[$evalBlockModel getCurrentValue]" == "N"}
-label "Value"
}
}
}
GuidoPanel attrValFieldpanel {
-layout OverlayLayout
GuidoPanel attrFieldPanel {
-layout BoxLayout Y_AXIS
-dependency {("[$specGravity getCurrentValue]" == "attribute") && ("[$evalBlockModel getCurrentValue]" == "Y")}
GuidoBMAttributeBrowser sgAttribute {
-dependency {("[$specGravity getCurrentValue]" == "attribute") && ("[$evalBlockModel getCurrentValue]" == "Y")}
-attribute_types real integer calculated
-display_length 10
-exclusive false
-translate none
-max_length BM_MAX_ATT_NAME_LEN
-tip STOPESBLOCKMODELTAB_8
}
GuidoField sgNegativeReplacement {
-dependency {("[$specGravity getCurrentValue]" == "attribute") && ("[$evalBlockModel getCurrentValue]" == "Y")}
-display_length 10
-format double
-null true
-tip STOPESBLOCKMODELTAB_11
}
}
GuidoPanel sgPanel {
-layout BoxLayout Y_AXIS
-dependency {("[$specGravity getCurrentValue]" == "value") || ("[$evalBlockModel getCurrentValue]" == "N")}
GuidoField sgValue {
-dependency {("[$specGravity getCurrentValue]" == "value") || ("[$evalBlockModel getCurrentValue]" == "N")}
-display_length 10
-format double
-tip STOPESBLOCKMODELTAB_9
}
}
}
GuidoCheckBox usePartial {
-selected_value Y
-unselected_value N
-default false
-label "Use partial percentages"
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-tip STOPESBLOCKMODELTAB_4
}
GuidoComboBox precision {
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-dependency {"[$usePartial getCurrentValue]" == "Y"}
-label "Precision"
-value_in 1 2 3 4 5
-exclusive true
-null false
-default 3
-tip STOPESBLOCKMODELTAB_5
}
}
}
GuidoPanel oreRockPanel {
-layout CentreLineLayout
GuidoBMAttributeBrowser oreRockType {
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
-attribute_types integer character calculated
-label "Ore/rock type attribute for classification"
-display_length 8
-exclusive false
-null true
-translate none
-max_length BM_MAX_ATT_NAME_LEN
-tip "STOPE_SLICER_BLOCK_MODEL_CLASS_TIP"
}
}
GuidoPanel tablePanel {
-layout BorderLayout
GuidoScrollPane attributesScroll {
GuidoTable attributesTable {
-instances 1 1 50
-interactive true
-position center
-dependency {"[$evalBlockModel getCurrentValue]" == "Y"}
GuidoBMAttributeBrowser gradeAtt {
-attribute_types real calculated
-display_length 8
-exclusive false
-translate none
-label "Attributes"
-max_length BM_MAX_ATT_NAME_LEN
-tip "Select the grade attribute you wish to report on"
}
GuidoField metal {
-label "Contained metal factor"
-display_length 8
-format double
-default 1
-tip STOPESBLOCKMODELTAB_6
}
GuidoField metalUnits {
-label "Metal units"
-display_length 6
-tip STOPESBLOCKMODELTAB_7
}
GuidoField negativeReplacement {
-label "Replace negatives with"
-display_length 8
-null true
-tip STOPESBLOCKMODELTAB_10
}
}
}
}
$bm_file setActionCallback valueChanged {[updateBlockModelBrowsers $bm_file $sgAttribute $oreRockType $gradeAtt]}
$bm_file setActionCallback initial {[updateBlockModelBrowsers $bm_file $sgAttribute $oreRockType $gradeAtt]}
$gradeAtt updateBrowserList
$oreRockType updateBrowserList
$sgAttribute updateBrowserList
