@@ -0,0 +1,2065 @@
+package org.genericsystem.reactor.gscomponents3;%0A%0Aimport org.genericsystem.reactor.modelproperties.SelectionDefaults;%0A%0Aimport org.genericsystem.reactor.htmltag.HtmlHyperLink;%0A%0Aimport org.genericsystem.reactor.annotations.BindAction;%0Aimport org.genericsystem.reactor.annotations.ReactorDependencies;%0Aimport org.genericsystem.reactor.annotations.Select.SelectModel;%0Aimport org.genericsystem.reactor.annotations.SetText;%0Aimport org.genericsystem.reactor.annotations.StyleClasses.StyleClass;%0Aimport org.genericsystem.reactor.annotations.Styles.Style;%0Aimport org.genericsystem.reactor.gscomponents.GSDiv;%0Aimport org.genericsystem.reactor.model.ContextAction.RESET_SELECTION;%0Aimport org.genericsystem.reactor.model.ObservableModelSelector.SELECTION_SELECTOR;%0A%0Aimport javafx.beans.binding.Bindings;%0A%0A@StyleClass(%22modal%22)%0A@ReactorDependencies(GSDiv.class)%0A@ReactorDependencies(path = GSDiv.class, value = HtmlHyperLink.class)%0A@Style(path = GSDiv.class, name = %22max-width%22, value = %2240%25%22)%0A@StyleClass(path = GSDiv.class, value = %22modal-content%22)%0A@Style(path = GSDiv.class, name = %22padding%22, value = %2210px%22)%0A@Style(path = GSDiv.class, name = %22border-radius%22, value = %2210px%22)%0A@Style(path = GSDiv.class, name = %22background-color%22, value = %22white%22)%0A@SelectModel(path = %7B GSDiv.class, GSDiv.class %7D, value = SELECTION_SELECTOR.class)%0A@StyleClass(path = %7B GSDiv.class, HtmlHyperLink.class %7D, value = %22close%22)%0A@SetText(path = %7B GSDiv.class, HtmlHyperLink.class %7D, value = %22%C3%97%22)%0A@BindAction(path = %7B GSDiv.class, HtmlHyperLink.class %7D, value = RESET_SELECTION.class)%0Apublic class Modal extends GSDiv implements SelectionDefaults %7B%0A%09@Override%0A%09public void init() %7B%0A%09%09bindStyle(DISPLAY, DISPLAY, model -%3E Bindings.createStringBinding(() -%3E getSelectionProperty(model).getValue() != null ? %22flex%22 : %22none%22, getSelectionProperty(model)));%0A%09%7D%0A%0A%09@ReactorDependencies(path = GSDiv.class, value = %7B HtmlHyperLink.class, InstanceEditor.class %7D)%0A%09@Style(path = %7B GSDiv.class, InstanceEditor.class %7D, name = %22min-height%22, value = %22300px%22)%0A%09public static class ModalEditor extends Modal %7B%0A%0A%09%7D%0A%7D%0A

Rewrite GSModal with new framework version