Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
UiBindings base abstract class now declares the Browser as an IWebBro…
Browse files Browse the repository at this point in the history
…wser to smooth compat between wpf (revit) and winforms (rhino) versions of cefsharp
  • Loading branch information
didimitrie committed Oct 15, 2019
1 parent a21c6a0 commit a75a745
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SpeckleUiBase/SpeckleUiBindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace SpeckleUiBase
{
public abstract class SpeckleUIBindings
{
public ChromiumWebBrowser Browser { get; set; }
public IWebBrowser Browser { get; set; }
public SpeckleUiWindow Window { get; set; }

public SpeckleUIBindings()
Expand Down
2 changes: 1 addition & 1 deletion SpeckleUiBase/SpeckleUiWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public partial class SpeckleUiWindow : Window
/// </summary>
/// <param name="baseBindings">Your implementation of the SpeckleUiBindings class.</param>
/// <param name="address">Defaults to the master branch release of the web ui app. Change it to where you're running your local server when debugging!</param>
public SpeckleUiWindow( SpeckleUIBindings baseBindings, string address = "https://appui.speckle.systems/#/" )
public SpeckleUiWindow( SpeckleUIBindings baseBindings, string address = "https://matteo-dev.appui.speckle.systems/#/" )
{
InitializeComponent();

Expand Down
7 changes: 6 additions & 1 deletion SpeckleUiTester/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public override List<ISelectionFilter> GetSelectionFilters()
{
Name = "Selection",
Icon = "mouse",
Count = 99
//Count = 99
},
new ListSelectionFilter
{
Expand Down Expand Up @@ -163,6 +163,11 @@ public override List<ISelectionFilter> GetSelectionFilters()
}
};
}

public override void PushSender( string args )
{
throw new NotImplementedException();
}
}

}

0 comments on commit a75a745

Please sign in to comment.