Index: Riskeer/Integration/src/Riskeer.Integration.Forms/Properties/Resources.Designer.cs =================================================================== diff -u -r3abbac9ec8a9e07a8655223a563e29a877b45031 -re8fc2b04b5fc0172bca8534e2638e1fcb2745b23 --- Riskeer/Integration/src/Riskeer.Integration.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 3abbac9ec8a9e07a8655223a563e29a877b45031) +++ Riskeer/Integration/src/Riskeer.Integration.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision e8fc2b04b5fc0172bca8534e2638e1fcb2745b23) @@ -554,6 +554,24 @@ } /// + /// Looks up a localized string similar to &Selecteer ander HLCD bestand.... + /// + public static string HydraulicBoundaryData_Connect_To_Different_Hlcd { + get { + return ResourceManager.GetString("HydraulicBoundaryData_Connect_To_Different_Hlcd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Selecteer een ander HLCD bestand.. + /// + public static string HydraulicBoundaryData_Connect_To_Different_Hlcd_ToolTip { + get { + return ResourceManager.GetString("HydraulicBoundaryData_Connect_To_Different_Hlcd_ToolTip", resourceCulture); + } + } + + /// /// Looks up a localized string similar to &Selecteer HLCD bestand.... /// public static string HydraulicBoundaryData_Connect_To_Hlcd { @@ -572,6 +590,24 @@ } /// + /// Looks up a localized string similar to Selecteer andere bestandsmap.... + /// + public static string HydraulicBoundaryData_Select_Different_Folder { + get { + return ResourceManager.GetString("HydraulicBoundaryData_Select_Different_Folder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Selecteer een andere bestandsmap. + /// + public static string HydraulicBoundaryData_Select_Different_Folder_ToolTip { + get { + return ResourceManager.GetString("HydraulicBoundaryData_Select_Different_Folder_ToolTip", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Locatie van het HRD bestand.. /// public static string HydraulicBoundaryDatabase_FilePath_Description { Index: Riskeer/Integration/src/Riskeer.Integration.Forms/Properties/Resources.resx =================================================================== diff -u -r3abbac9ec8a9e07a8655223a563e29a877b45031 -re8fc2b04b5fc0172bca8534e2638e1fcb2745b23 --- Riskeer/Integration/src/Riskeer.Integration.Forms/Properties/Resources.resx (.../Resources.resx) (revision 3abbac9ec8a9e07a8655223a563e29a877b45031) +++ Riskeer/Integration/src/Riskeer.Integration.Forms/Properties/Resources.resx (.../Resources.resx) (revision e8fc2b04b5fc0172bca8534e2638e1fcb2745b23) @@ -408,4 +408,16 @@ Slechtste duidingsklasse per deelvak + + &Selecteer ander HLCD bestand... + + + Selecteer een ander HLCD bestand. + + + Selecteer andere bestandsmap... + + + Selecteer een andere bestandsmap + \ No newline at end of file Index: Riskeer/Integration/src/Riskeer.Integration.Plugin/RiskeerPlugin.cs =================================================================== diff -u -r0ea33f3e21c7f737f578beb69b737d759139a042 -re8fc2b04b5fc0172bca8534e2638e1fcb2745b23 --- Riskeer/Integration/src/Riskeer.Integration.Plugin/RiskeerPlugin.cs (.../RiskeerPlugin.cs) (revision 0ea33f3e21c7f737f578beb69b737d759139a042) +++ Riskeer/Integration/src/Riskeer.Integration.Plugin/RiskeerPlugin.cs (.../RiskeerPlugin.cs) (revision e8fc2b04b5fc0172bca8534e2638e1fcb2745b23) @@ -2462,10 +2462,31 @@ () => RiskeerDataSynchronizationService.ClearIllustrationPointResultsForWaterLevelAndWaveHeightCalculations(nodeData.AssessmentSection)); AssessmentSection assessmentSection = nodeData.AssessmentSection; - return builder.AddImportItem(RiskeerFormsResources.HydraulicBoundaryData_Connect_To_Hlcd, - RiskeerFormsResources.HydraulicBoundaryData_Connect_To_Hlcd_ToolTip, - RiskeerCommonFormsResources.DatabaseIcon) - .AddSeparator() + + if (nodeData.WrappedData.IsLinked()) + { + var selectDirectoryItem = new StrictContextMenuItem( + RiskeerFormsResources.HydraulicBoundaryData_Select_Different_Folder, + RiskeerFormsResources.HydraulicBoundaryData_Select_Different_Folder_ToolTip, + RiskeerCommonFormsResources.GeneralFolderIcon, + (sender, args) => + { + + }); + + builder.AddImportItem(RiskeerFormsResources.HydraulicBoundaryData_Connect_To_Different_Hlcd, + RiskeerFormsResources.HydraulicBoundaryData_Connect_To_Different_Hlcd_ToolTip, + RiskeerCommonFormsResources.DatabaseIcon) + .AddCustomItem(selectDirectoryItem); + } + else + { + builder.AddImportItem(RiskeerFormsResources.HydraulicBoundaryData_Connect_To_Hlcd, + RiskeerFormsResources.HydraulicBoundaryData_Connect_To_Hlcd_ToolTip, + RiskeerCommonFormsResources.DatabaseIcon); + } + + return builder.AddSeparator() .AddExportItem() .AddSeparator() .AddCustomItem(calculateAllItem)