Index: Core/Common/src/Core.Common.Base/Core.Common.Base.csproj =================================================================== diff -u -rf966263a1ac6353f155cb6304455f8050908a4b9 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Base/Core.Common.Base.csproj (.../Core.Common.Base.csproj) (revision f966263a1ac6353f155cb6304455f8050908a4b9) +++ Core/Common/src/Core.Common.Base/Core.Common.Base.csproj (.../Core.Common.Base.csproj) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -97,8 +97,6 @@ - - Fisheye: Tag ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc refers to a dead (removed) revision in file `Core/Common/src/Core.Common.Base/IProjectImporter.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc refers to a dead (removed) revision in file `Core/Common/src/Core.Common.Base/IProjectItemExporter.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Core/Common/src/Core.Common.Base/Properties/Resources.Designer.cs =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Base/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Base/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -110,16 +110,6 @@ } /// - /// Looks up a localized string similar to Unable to export file {0}. An error has occurred during clone with the following message: {1}. - /// - internal static string ProjectService_ExportProjectItemTo_Unable_to_export_file__0___An_error_has_occurred_during_clone_with_the_following_message___1_ { - get { - return ResourceManager.GetString("ProjectService_ExportProjectItemTo_Unable_to_export_file__0___An_error_has_occurr" + - "ed_during_clone_with_the_following_message___1_", resourceCulture); - } - } - - /// /// Looks up a localized string similar to Project {0} saved. /// internal static string ProjectService_FireProjectSaved_Project__0__saved { Index: Core/Common/src/Core.Common.Base/Properties/Resources.nl-NL.resx =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Base/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Base/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -192,9 +192,6 @@ NL Unable to export to file {0}. You cannot export to the current project. - - NL Unable to export file {0}. An error has occurred during clone with the following message: {1} - NL Project {0} saved Index: Core/Common/src/Core.Common.Base/Properties/Resources.resx =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Base/Properties/Resources.resx (.../Resources.resx) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Base/Properties/Resources.resx (.../Resources.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -210,7 +210,4 @@ Unable to export to file {0}. You cannot export to the current project. - - Unable to export file {0}. An error has occurred during clone with the following message: {1} - \ No newline at end of file Index: Core/Common/src/Core.Common.Base/RingtoetsApplication.cs =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Base/RingtoetsApplication.cs (.../RingtoetsApplication.cs) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Base/RingtoetsApplication.cs (.../RingtoetsApplication.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -455,13 +455,6 @@ foreach (var fileImporter in Plugins.SelectMany(plugin => plugin.GetFileImporters())) { - var projectImporter = fileImporter as IProjectImporter; - if (projectImporter != null) - { - // TODO: implement - // projectImporter.ProjectService = ProjectService; - } - fileImporters.Add(fileImporter); log.DebugFormat(Properties.Resources.RingtoetsApplication_RegisterImporters_Registering_importer__0_, fileImporter.Name); @@ -474,13 +467,6 @@ foreach (var fileExporter in Plugins.SelectMany(plugin => plugin.GetFileExporters())) { - var projectExporter = fileExporter as IProjectItemExporter; - if (projectExporter != null) - { - // TODO: implement - // projectExporter.ProjectService = ProjectService; - } - fileExporters.Add(fileExporter); log.DebugFormat(Properties.Resources.RingtoetsApplication_RegisterExporters_Registering_exporter__0_, fileExporter.Name); Index: Core/Common/src/Core.Common.Gui/GuiCommandHandler.cs =================================================================== diff -u -rad6a41fea29f9f2160834d59d9511b8fb5d6c838 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Gui/GuiCommandHandler.cs (.../GuiCommandHandler.cs) (revision ad6a41fea29f9f2160834d59d9511b8fb5d6c838) +++ Core/Common/src/Core.Common.Gui/GuiCommandHandler.cs (.../GuiCommandHandler.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -224,7 +224,7 @@ public object AddNewChildItem(object parent, IEnumerable childItemValueTypes) { - var selectDataDialog = CreateSelectionDialogWithProjectItems(GetSupportedDataItemInfosByValueTypes(parent, childItemValueTypes).ToList()); + var selectDataDialog = CreateSelectionDialogWithItems(GetSupportedDataItemInfosByValueTypes(parent, childItemValueTypes).ToList()); if (selectDataDialog.ShowDialog(gui.MainWindow as Form) == DialogResult.OK) { @@ -233,36 +233,27 @@ return null; } - public void AddNewProjectItem(object parent) + public void AddNewItem(object parent) { if (gui.Application.Project == null) { - Log.Error(Resources.GuiCommandHandler_AddNewProjectItem_There_needs_to_be_a_project_to_add_an_item); + Log.Error(Resources.GuiCommandHandler_AddNewItem_There_needs_to_be_a_project_to_add_an_item); } - var selectDataDialog = CreateSelectionDialogWithProjectItems(GetSupportedDataItemInfos(parent).ToList()); + var selectDataDialog = CreateSelectionDialogWithItems(GetSupportedDataItemInfos(parent).ToList()); if (selectDataDialog.ShowDialog(gui.MainWindow as Form) == DialogResult.OK) { - var newProjectItem = GetNewProjectItem(selectDataDialog, parent); + var newItem = GetNewItem(selectDataDialog, parent); - if (newProjectItem != null) + if (newItem != null) { - gui.Selection = newProjectItem; + gui.Selection = newItem; OpenViewForSelection(); } } } - /// - /// Adds item to project rootfolder. - /// - /// - public void AddItemToProject(object item) - { - gui.Application.Project.Items.Add(item); - } - public void ExportSelectedItem() { var selectedObject = gui.Selection; @@ -395,7 +386,7 @@ return GetSupportedDataItemInfos(parent).Where(dii => valueTypes.Contains(dii.ValueType)); } - private SelectItemDialog CreateSelectionDialogWithProjectItems(IList dataItemInfos) + private SelectItemDialog CreateSelectionDialogWithItems(IList dataItemInfos) { var selectDataDialog = new SelectItemDialog(); @@ -412,7 +403,7 @@ return selectDataDialog; } - private object GetNewProjectItem(SelectItemDialog selectDataDialog, object parent) + private object GetNewItem(SelectItemDialog selectDataDialog, object parent) { var newDataObject = GetNewDataObject(selectDataDialog, parent); @@ -421,7 +412,7 @@ return null; } - AddProjectItemToProject(newDataObject); + AddItemToProject(newDataObject); return newDataObject; } @@ -444,7 +435,7 @@ return newDataObject; } - private void AddProjectItemToProject(object newItem) + public void AddItemToProject(object newItem) { gui.Application.Project.Items.Add(newItem); gui.Application.Project.NotifyObservers(); Index: Core/Common/src/Core.Common.Gui/IGui.cs =================================================================== diff -u -r4c48f1a98dc77cdb66e4dc3ac80060713e6051a6 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Gui/IGui.cs (.../IGui.cs) (revision 4c48f1a98dc77cdb66e4dc3ac80060713e6051a6) +++ Core/Common/src/Core.Common.Gui/IGui.cs (.../IGui.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -60,7 +60,7 @@ IList Plugins { get; } /// - /// Suspends view removal on project item delete. Useful to avoid unnecessary checks (faster item removal). + /// Suspends view removal on item delete. Useful to avoid unnecessary checks (faster item removal). /// bool IsViewRemoveOnItemDeleteSuspended { get; set; } Index: Core/Common/src/Core.Common.Gui/IGuiCommandHandler.cs =================================================================== diff -u -rad6a41fea29f9f2160834d59d9511b8fb5d6c838 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Gui/IGuiCommandHandler.cs (.../IGuiCommandHandler.cs) (revision ad6a41fea29f9f2160834d59d9511b8fb5d6c838) +++ Core/Common/src/Core.Common.Gui/IGuiCommandHandler.cs (.../IGuiCommandHandler.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -69,7 +69,7 @@ /// The predicate which must evaluate to true for an item type to be included in the list object AddNewChildItem(object parent, IEnumerable childItemTypes); - void AddNewProjectItem(object parent); + void AddNewItem(object parent); /// /// Index: Core/Common/src/Core.Common.Gui/Properties/Resources.Designer.cs =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Gui/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Gui/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18444 +// Runtime Version:4.0.30319.18063 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1075,29 +1075,29 @@ } /// - /// Looks up a localized string similar to Add model. + /// Looks up a localized string similar to Cannot add an item to the selected container. /// - public static string GuiCommandHandler_AddNewModel_Add_model { + public static string GuiCommandHandler_AddNewItem_Cannot_add_an_item_to_the_selected_container { get { - return ResourceManager.GetString("GuiCommandHandler_AddNewModel_Add_model", resourceCulture); + return ResourceManager.GetString("GuiCommandHandler_AddNewItem_Cannot_add_an_item_to_the_selected_container", resourceCulture); } } /// - /// Looks up a localized string similar to Cannot add an item to the selected container. + /// Looks up a localized string similar to There needs to be a project to add an item. /// - public static string GuiCommandHandler_AddNewProjectItem_Cannot_add_an_item_to_the_selected_container { + public static string GuiCommandHandler_AddNewItem_There_needs_to_be_a_project_to_add_an_item { get { - return ResourceManager.GetString("GuiCommandHandler_AddNewProjectItem_Cannot_add_an_item_to_the_selected_container", resourceCulture); + return ResourceManager.GetString("GuiCommandHandler_AddNewItem_There_needs_to_be_a_project_to_add_an_item", resourceCulture); } } /// - /// Looks up a localized string similar to There needs to be a project to add an item. + /// Looks up a localized string similar to Add model. /// - public static string GuiCommandHandler_AddNewProjectItem_There_needs_to_be_a_project_to_add_an_item { + public static string GuiCommandHandler_AddNewModel_Add_model { get { - return ResourceManager.GetString("GuiCommandHandler_AddNewProjectItem_There_needs_to_be_a_project_to_add_an_item", resourceCulture); + return ResourceManager.GetString("GuiCommandHandler_AddNewModel_Add_model", resourceCulture); } } @@ -1148,79 +1148,6 @@ } /// - /// Looks up a localized string similar to No current selection found in the user interface to delete.. - /// - public static string GuiCommandHandler_DeleteCurrentProjectItem_No_current_selection_found_in_the_user_interface_to_delete_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteCurrentProjectItem_No_current_selection_found_in_the_user" + - "_interface_to_delete_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete {0}. - /// - public static string GuiCommandHandler_DeleteProjectItem_Delete__0_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteProjectItem_Delete__0_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The composite model you are trying to delete contains models that are linked by other models: {0} after deletion these links will be lost. Do you wish to continue?. - /// - public static string GuiCommandHandler_DeleteProjectItem_The_composite_model_you_are_trying_to_delete_contains_models_that_are_linked_by_other_models___0__after_deletion_these_links_will_be_lost__Do_you_wish_to_continue_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteProjectItem_The_composite_model_you_are_trying_to_delete_" + - "contains_models_that_are_linked_by_other_models___0__after_deletion_these_links_" + - "will_be_lost__Do_you_wish_to_continue_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The folder you are trying to delete contains models that are linked by other models: {0} after deletion these links will be lost. Do you wish to continue?. - /// - public static string GuiCommandHandler_DeleteProjectItem_The_folder_you_are_trying_to_delete_contains_models_that_are_linked_by_other_models___0__after_deletion_these_links_will_be_lost__Do_you_wish_to_continue_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteProjectItem_The_folder_you_are_trying_to_delete_contains_" + - "models_that_are_linked_by_other_models___0__after_deletion_these_links_will_be_l" + - "ost__Do_you_wish_to_continue_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The following model{0} depend{1} on this item:{2}. - /// - public static string GuiCommandHandler_DeleteProjectItem_The_following_model_0__depend_1__on_this_item__2_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteProjectItem_The_following_model_0__depend_1__on_this_item" + - "__2_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The item you are trying to delete is linked by other items, after deletion these links will be lost. Do you wish to continue?. - /// - public static string GuiCommandHandler_DeleteProjectItem_The_item_you_are_trying_to_delete_is_linked_by_other_items__after_deletion_these_links_will_be_lost__Do_you_wish_to_continue_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteProjectItem_The_item_you_are_trying_to_delete_is_linked_b" + - "y_other_items__after_deletion_these_links_will_be_lost__Do_you_wish_to_continue_" + - "", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The model you are trying to delete is linked by other models: {0} after deletion these links will be lost. Do you wish to continue?. - /// - public static string GuiCommandHandler_DeleteProjectItem_The_model_you_are_trying_to_delete_is_linked_by_other_models___0__after_deletion_these_links_will_be_lost__Do_you_wish_to_continue_ { - get { - return ResourceManager.GetString("GuiCommandHandler_DeleteProjectItem_The_model_you_are_trying_to_delete_is_linked_" + - "by_other_models___0__after_deletion_these_links_will_be_lost__Do_you_wish_to_con" + - "tinue_", resourceCulture); - } - } - - /// /// Looks up a localized string similar to Unable to import on {0}.. /// public static string GuiCommandHandler_ImportOn_Unable_to_import_on__0__ { @@ -2234,125 +2161,6 @@ } /// - /// Looks up a localized string similar to Can not cut / paste into child. - /// - public static string ProjectItemCopyPasteHandler_CanPasteInto_Can_not_cut___paste_into_child { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CanPasteInto_Can_not_cut___paste_into_child", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not cut / paste into itself. - /// - public static string ProjectItemCopyPasteHandler_CanPasteInto_Can_not_cut___paste_into_itself { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CanPasteInto_Can_not_cut___paste_into_itself", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not cut / paste into the same container without providing position. - /// - public static string ProjectItemCopyPasteHandler_CanPasteInto_Can_not_cut___paste_into_the_same_container_without_providing_position { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CanPasteInto_Can_not_cut___paste_into_the_same_contai" + - "ner_without_providing_position", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Target paste container is null. - /// - public static string ProjectItemCopyPasteHandler_CanPasteInto_Target_paste_container_is_null { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CanPasteInto_Target_paste_container_is_null", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy item "{0}". - /// - public static string ProjectItemCopyPasteHandler_Copy_Copy_item___0__ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_Copy_Copy_item___0__", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not paste {0} into {1}, as an error occurred during copy: {2}. - /// - public static string ProjectItemCopyPasteHandler_CopyPaste_Can_not_paste__0__into__1___as_an_error_occurred_during_copy___2_ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CopyPaste_Can_not_paste__0__into__1___as_an_error_occ" + - "urred_during_copy___2_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy item. - /// - public static string ProjectItemCopyPasteHandler_CopyPaste_Copy_item { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CopyPaste_Copy_item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy of {0}. - /// - public static string ProjectItemCopyPasteHandler_CopyPaste_Copy_of__0_ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CopyPaste_Copy_of__0_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating a copy of an item "{0}" in "{1}". - /// - public static string ProjectItemCopyPasteHandler_CopyPaste_Creating_a_copy_of_an_item___0___in___1__ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CopyPaste_Creating_a_copy_of_an_item___0___in___1__", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cut item "{0}". - /// - public static string ProjectItemCopyPasteHandler_Cut_Cut_item___0__ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_Cut_Cut_item___0__", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Moving item "{0}" from "{1}" to "{2}" (position = {3}). - /// - public static string ProjectItemCopyPasteHandler_CutPaste_ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CutPaste_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Moving {0}. - /// - public static string ProjectItemCopyPasteHandler_CutPaste_Moving__0_ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_CutPaste_Moving__0_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not paste {0} into {1}. - /// - public static string ProjectItemCopyPasteHandler_Paste_Can_not_paste__0__into__1_ { - get { - return ResourceManager.GetString("ProjectItemCopyPasteHandler_Paste_Can_not_paste__0__into__1_", resourceCulture); - } - } - - /// /// Looks up a localized string similar to Properties. /// public static string Properties { Index: Core/Common/src/Core.Common.Gui/Properties/Resources.nl-NL.resx =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Gui/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Gui/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -351,10 +351,10 @@ NL Add model - + NL Cannot add an item to the selected container - + NL There needs to be a project to add an item @@ -372,27 +372,6 @@ NL Select model ... - - NL No current selection found in the user interface to delete. - - - NL Delete {0} - - - NL The composite model you are trying to delete contains models that are linked by other models: {0} after deletion these links will be lost. Do you wish to continue? - - - NL The folder you are trying to delete contains models that are linked by other models: {0} after deletion these links will be lost. Do you wish to continue? - - - NL The following model{0} depend{1} on this item:{2} - - - NL The item you are trying to delete is linked by other items, after deletion these links will be lost. Do you wish to continue? - - - NL The model you are trying to delete is linked by other models: {0} after deletion these links will be lost. Do you wish to continue? - NL Unable to import on {0}. @@ -609,45 +588,6 @@ NL Setting {0} is roaming. This is not supported - - NL Can not cut / paste into child - - - NL Can not cut / paste into itself - - - NL Can not cut / paste into the same container without providing position - - - NL Target paste container is null - - - NL Copy item "{0}" - - - NL Can not paste {0} into {1}, as an error occurred during copy: {2} - - - NL Copy item - - - NL Copy of {0} - - - NL Creating a copy of an item "{0}" in "{1}" - - - NL Cut item "{0}" - - - NL Moving item "{0}" from "{1}" to "{2}" (position = {3}) - - - NL Moving {0} - - - NL Can not paste {0} into {1} - NL The license file {0} cannot be found on the computer. Index: Core/Common/src/Core.Common.Gui/Properties/Resources.resx =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/src/Core.Common.Gui/Properties/Resources.resx (.../Resources.resx) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Common/src/Core.Common.Gui/Properties/Resources.resx (.../Resources.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -151,9 +151,6 @@ ..\Resources\RelationshipsHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Moving item "{0}" from "{1}" to "{2}" (position = {3}) - Opening new WTI project cancelled. @@ -176,9 +173,6 @@ ======== EXCEPTION #{0}: ======== {1}{2} - - Copy item "{0}" - ..\Resources\Edit_UndoHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -194,9 +188,6 @@ New - - No current selection found in the user interface to delete. - Show Properties (Shift + Alt + P) @@ -245,10 +236,7 @@ The search has been cancelled - - Can not cut / paste into child - - + Cannot add an item to the selected container @@ -386,9 +374,6 @@ ..\Resources\chart_curve.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Moving {0} - Can't stop model, no models selected. @@ -413,9 +398,6 @@ ../Resources/StopHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Target paste container is null - Start Page @@ -431,9 +413,6 @@ Unable to open log file, opening log file directory instead. - - Copy item - ../Resources/control_stop.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -455,9 +434,6 @@ Can't open project - - The folder you are trying to delete contains models that are linked by other models: {0} after deletion these links will be lost. Do you wish to continue? - ../Resources/DeleteHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -533,9 +509,6 @@ {0} does not support searching - - Copy of {0} - Recent Projects @@ -650,9 +623,6 @@ ..\Resources\brick_edit.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - The composite model you are trying to delete contains models that are linked by other models: {0} after deletion these links will be lost. Do you wish to continue? - ..\Resources\PasteHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -707,9 +677,6 @@ No exporter for this item available. - - Can not cut / paste into itself - Run All Models @@ -770,7 +737,7 @@ Cancel all activities - + There needs to be a project to add an item @@ -800,15 +767,9 @@ Initializing graphical user interface ... - - The model you are trying to delete is linked by other models: {0} after deletion these links will be lost. Do you wish to continue? - ..\Resources\folder_feed.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Cut item "{0}" - ..\Resources\brick_error.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -956,9 +917,6 @@ StartingRingtoets Gui ... - - Creating a copy of an item "{0}" in "{1}" - Copy @@ -971,9 +929,6 @@ Could not create object properties for the data - - Can not paste {0} into {1} - Item not found in list of views @@ -995,9 +950,6 @@ Menus and toolbars are ready. - - The item you are trying to delete is linked by other items, after deletion these links will be lost. Do you wish to continue? - ..\Resources\OrgChartHS.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -1031,9 +983,6 @@ ..\Resources\cut.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - The following model{0} depend{1} on this item:{2} - Feedback @@ -1100,9 +1049,6 @@ ..\Resources\folder_output.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Delete {0} - Project closed @@ -1115,9 +1061,6 @@ Recent - - Can not cut / paste into the same container without providing position - Unknown numberFormat for user settings @@ -1202,9 +1145,6 @@ ..\Resources\FindProject.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Can not paste {0} into {1}, as an error occurred during copy: {2} - ..\Resources\icon_clear_all_messages.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Index: Core/Common/uml/Core.Common.Base.UML/Core.cd =================================================================== diff -u -reee6c7815d1e418eac38c1c552fb279c0887ef55 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Common/uml/Core.Common.Base.UML/Core.cd (.../Core.cd) (revision eee6c7815d1e418eac38c1c552fb279c0887ef55) +++ Core/Common/uml/Core.Common.Base.UML/Core.cd (.../Core.cd) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -48,18 +48,6 @@ - - - - - - - - - - - - Index: Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.Designer.cs =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -274,52 +274,6 @@ } /// - /// Looks up a localized string similar to Ringtoets Project Files. - /// - public static string ProjectImporter_FileFilter_Ringtoets_Project_Files { - get { - return ResourceManager.GetString("ProjectImporter_FileFilter_Ringtoets_Project_Files", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Project. - /// - public static string ProjectImporter_Name_Project { - get { - return ResourceManager.GetString("ProjectImporter_Name_Project", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ProjectFolderExporter only supports export of IProjectItem based objects. - /// - public static string ProjectItemExporter_Export_ProjectFolderExporter_only_supports_export_of_IProjectItem_based_objects { - get { - return ResourceManager.GetString("ProjectItemExporter_Export_ProjectFolderExporter_only_supports_export_of_IProject" + - "Item_based_objects", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ringtoets project files. - /// - public static string ProjectItemExporter_fileFilter_Ringtoets_project_files { - get { - return ResourceManager.GetString("ProjectItemExporter_fileFilter_Ringtoets_project_files", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export to new project. - /// - public static string ProjectItemExporter_name_Export_to_new_project { - get { - return ResourceManager.GetString("ProjectItemExporter_name_Export_to_new_project", resourceCulture); - } - } - - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// public static System.Drawing.Bitmap textdocument { Index: Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.nl-NL.resx =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -186,15 +186,6 @@ NL Project - - NL ProjectFolderExporter only supports export of IProjectItem based objects - - - NL Ringtoets project files - - - NL Export to new project - NL Setting attributes on non-time series function is not supported Index: Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.resx =================================================================== diff -u -r293be5aa0c9cfb58fea075f0ce6943fdfb310406 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.resx (.../Resources.resx) (revision 293be5aa0c9cfb58fea075f0ce6943fdfb310406) +++ Core/Plugins/src/Core.Plugins.CommonTools/Properties/Resources.resx (.../Resources.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -136,21 +136,6 @@ Text Document - - Export to new project - - - Ringtoets project files - - - ProjectFolderExporter only supports export of IProjectItem based objects - - - Project - - - Ringtoets Project Files - Restart State Index: Core/Plugins/src/Core.Plugins.ProjectExplorer/ProjectTreeView.cs =================================================================== diff -u -r4c48f1a98dc77cdb66e4dc3ac80060713e6051a6 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.ProjectExplorer/ProjectTreeView.cs (.../ProjectTreeView.cs) (revision 4c48f1a98dc77cdb66e4dc3ac80060713e6051a6) +++ Core/Plugins/src/Core.Plugins.ProjectExplorer/ProjectTreeView.cs (.../ProjectTreeView.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -193,7 +193,6 @@ var tag = treeView.SelectedNode != null ? treeView.SelectedNode.Tag : null; - // triggers validate items for ribbon so this should be done after setting SelectedProjectItem gui.Selection = tag; selectingNode = false; @@ -261,7 +260,7 @@ private void buttonsAddNewDataClick(object sender, EventArgs e) { - gui.CommandHandler.AddNewProjectItem(gui.Selection); + gui.CommandHandler.AddNewItem(gui.Selection); } /// Index: Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.Designer.cs =================================================================== diff -u -rfb6f952991193be2c30995f3f8e60312c12dc052 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision fb6f952991193be2c30995f3f8e60312c12dc052) +++ Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -918,7 +918,7 @@ } /// - /// Looks up a localized string similar to Can't find project item for view data: {0}. + /// Looks up a localized string similar to Can't find item for view data: {0}. /// public static string ProjectExplorer_ButtonScrollToItemInActiveViewClick_Can_t_find_project_item_for_view_data___0_ { get { Index: Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.nl-NL.resx =================================================================== diff -u -rfb6f952991193be2c30995f3f8e60312c12dc052 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision fb6f952991193be2c30995f3f8e60312c12dc052) +++ Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.nl-NL.resx (.../Resources.nl-NL.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -154,7 +154,7 @@ NL <empty> - NL Can't find project item for view data: {0} + NL Can't find item for view data: {0} NL Can't find tree node for item: {0} Index: Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.resx =================================================================== diff -u -rfb6f952991193be2c30995f3f8e60312c12dc052 -rce485d2ea1e537a2d9be33d46a282e5bfa2abdcc --- Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.resx (.../Resources.resx) (revision fb6f952991193be2c30995f3f8e60312c12dc052) +++ Core/Plugins/src/Core.Plugins.ProjectExplorer/Properties/Resources.resx (.../Resources.resx) (revision ce485d2ea1e537a2d9be33d46a282e5bfa2abdcc) @@ -419,7 +419,7 @@ MainWindow must be visible when WaitUntilAllEventsAreProcessed is called on project tree view. - Can't find project item for view data: {0} + Can't find item for view data: {0} Can't find tree node for item: {0}