class SideModel {

  public void swap() {
    myAllTools.forEach(tool -> tool.setLeft(!tool.isLeft()));
    myLeftVisibleTools.swap(myRightVisibleTools);
    notifyListeners(EventType.SWAP);
  }

    SideModel(@NotNull Project project);

}