@Override
  public JComponent createOptionsPanel() {
    if (myView == null) {
      myView = new JsonSchemaMappingsView(myProject, myTreeUpdater, (s, force) -> {
        if (force || isGeneratedName()) {
          int lastSlash = Math.max(s.lastIndexOf('/'), s.lastIndexOf('\\'));
          if (lastSlash > 0 || force) {
            String substring = lastSlash > 0 ? s.substring(lastSlash + 1) : s;
            int dot = lastSlash > 0 ? substring.lastIndexOf('.') : -1;
            if (dot != -1) {
              substring = substring.substring(0, dot);
            }
            setDisplayName(myNameCreator.fun(substring));
            updateName();
          }
        }
      });
      myView.setError(myError, true);
    }
    return myView.getComponent();
  }
@Override
  public JComponent createOptionsPanel()