Esempio n. 1
0
    public void ActivateOutputPanel(InspectorTool.InspectorType inspectorType)
    {
        bool isLineType = inspectorType == InspectorTool.InspectorType.Line;

        lineInspectorOutput.gameObject.SetActive(isLineType ? true : false);
        areaInspectorOutput.gameObject.SetActive(isLineType ? false : true);
    }
Esempio n. 2
0
    public void ActivateEntryInfo(InspectorTool.InspectorType inspectorType)
    {
        bool isLineType = inspectorType == InspectorTool.InspectorType.Line;

        lineInspectorEntryInfo.gameObject.SetActive(isLineType ? true : false);
        areaInspectorEntryInfo.gameObject.SetActive(isLineType ? false : true);
    }
Esempio n. 3
0
 public void ShowHeader(InspectorTool.InspectorType inspectorType, bool show)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.ShowHeader(show);
     }
     else
     {
         areaInspectorOutput.ShowHeader(show);
     }
 }
Esempio n. 4
0
 public void ShowMetricsHeaderAndDropdown(InspectorTool.InspectorType inspectorType, bool show)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.ShowMetricsHeaderAndDropdown(show);
     }
     else
     {
         areaInspectorOutput.ShowMetricsHeaderAndDropdown(show);
     }
 }
Esempio n. 5
0
 public void ResetAndClearOutput(InspectorTool.InspectorType inspectorType)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.ResetAndClearOutput();
     }
     else
     {
         areaInspectorOutput.ResetAndClearOutput();
     }
 }
Esempio n. 6
0
 public void SetInspection(InspectorTool.InspectorType inspectorType, int index)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.SetLineInspection(index);
     }
     else
     {
         areaInspectorOutput.SetAreaInspection(index);
     }
 }
Esempio n. 7
0
 public void ComputeAndUpdateMetrics(InspectorTool.InspectorType inspectorType)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.ComputeAndUpdateMetrics();
     }
     else
     {
         areaInspectorOutput.ComputeAndUpdateMetrics();
     }
 }
Esempio n. 8
0
 public void SetDropDownInteractive(InspectorTool.InspectorType inspectorType, bool isOn)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.SetDropDownInteractive(isOn);
     }
     else
     {
         areaInspectorOutput.SetDropDownInteractive(isOn);
     }
 }
Esempio n. 9
0
 public void ShowInspectorOutputItemLabel(InspectorTool.InspectorType inspectorType, string itemName, bool show)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.ShowInspectorOutputItemLabel(itemName, show);
     }
     else
     {
         areaInspectorOutput.ShowInspectorOutputItemLabel(itemName, show);
     }
 }
Esempio n. 10
0
 public void ShowPropertiesAndSummaryLabel(InspectorTool.InspectorType inspectorType, bool show)
 {
     if (inspectorType == InspectorTool.InspectorType.Line)
     {
         lineInspectorOutput.ShowPropertiesAndSummaryLabel(show);
     }
     else
     {
         areaInspectorOutput.ShowPropertiesAndSummaryLabel(show);
     }
 }