Skip to content

Commit

Permalink
Fixed UI packages still being on 6.0.0 RDMP dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Oct 18, 2021
1 parent f8eb304 commit e8b0445
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DrsPlugin/DrsPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Compile Include="..\SharedAssemblyInfo.cs" Link="Properties\SharedAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HIC.RDMP.Plugin" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin" Version="7.0.0" />
<PackageReference Include="SharpCompress" Version="0.23.0" />
<PackageReference Include="SharpZipLib" Version="1.1.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion GoDartsPlugin/GoDartsPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
<Folder Include="Commands\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HIC.RDMP.Plugin" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin" Version="7.0.0" />
</ItemGroup>
</Project>
13 changes: 9 additions & 4 deletions GoDartsPluginUI/CommandExecution/GoDartsPluginMenu.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using GoDartsPluginUI.CommandExecution.AtomicCommands;
using Rdmp.Core;
using Rdmp.Core.CommandExecution.AtomicCommands;
using Rdmp.Core.Providers.Nodes;
using Rdmp.UI.ItemActivation;
using Rdmp.UI.PluginChildProvision;
using System.Windows.Forms;
using System.Collections.Generic;

namespace GoDartsPluginUI.CommandExecution
{
Expand All @@ -12,13 +13,17 @@ public GoDartsPluginMenu(IActivateItems itemActivator) : base(itemActivator)
{
}

public override ToolStripMenuItem[] GetAdditionalRightClickMenuItems(object o)
public override IEnumerable<IAtomicCommand> GetAdditionalRightClickMenuItems(object o)
{
var serverNode = o as AllServersNode;
if (serverNode == null)
return null;

return GetMenuArray(new ExecuteCommandSetupGoFusionFromDatabase(ItemActivator));
if(BasicActivator is IActivateItems a)
{
return new[] { new ExecuteCommandSetupGoFusionFromDatabase(a) };
}
return base.GetAdditionalRightClickMenuItems(o);
}
}
}
5 changes: 3 additions & 2 deletions GoDartsPluginUI/GoDartsPluginUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<Compile Include="..\SharedAssemblyInfo.cs" Link="SharedAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HIC.RDMP.Plugin" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin.UI" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin" Version="7.0.0" />
<PackageReference Include="HIC.RDMP.Plugin.UI" Version="7.0.0" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.7.21377.19" />
</ItemGroup>
</Project>
5 changes: 3 additions & 2 deletions HICPluginInteractive/HICPluginInteractive.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
<Compile Include="..\SharedAssemblyInfo.cs" Link="SharedAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HIC.RDMP.Plugin" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin.UI" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin" Version="7.0.0" />
<PackageReference Include="HIC.RDMP.Plugin.UI" Version="7.0.0" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.7.21377.19" />
</ItemGroup>
<ItemGroup>
<Compile Update="UIComponents\ExtractDataTableViewer.cs" />
Expand Down
2 changes: 1 addition & 1 deletion HICPluginTests/HICPluginTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<None Remove="TestData\report-with-multiple-descriptions.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HIC.RDMP.Plugin.Test" Version="6.0.0" />
<PackageReference Include="HIC.RDMP.Plugin.Test" Version="7.0.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
<PackageReference Include="NunitXml.TestLogger" Version="2.1.36" />
<PackageReference Include="RhinoMocks" Version="3.6.1" />
Expand Down

0 comments on commit e8b0445

Please sign in to comment.