From af8b9a152f03b1e89027f5c52270f533935a0188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereda?= Date: Tue, 29 Oct 2024 09:40:24 +0100 Subject: [PATCH] Restore back removed metadata for DialogPane (#763) --- .../javafx/scenebuilder/kit/metadata/Metadata.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java b/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java index 8e8885d60..f3d55c2ff 100644 --- a/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java +++ b/kit/src/main/java/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java @@ -368,6 +368,8 @@ public boolean isPropertyTrimmingNeeded(PropertyName name) { new ComponentClassMetadata(javafx.scene.control.ContextMenu.class, PopupControlMetadata); private final ComponentClassMetadata CustomMenuItemMetadata = new ComponentClassMetadata(javafx.scene.control.CustomMenuItem.class, MenuItemMetadata); + private final ComponentClassMetadata DialogPaneMetadata = + new ComponentClassMetadata(javafx.scene.control.DialogPane.class, PaneMetadata); private final ComponentClassMetadata HyperlinkMetadata = new ComponentClassMetadata(javafx.scene.control.Hyperlink.class, ButtonBaseMetadata); private final ComponentClassMetadata LabelMetadata = @@ -4821,6 +4823,7 @@ private Metadata() { componentClassMap.put(CubicCurveToMetadata.getKlass(), CubicCurveToMetadata); componentClassMap.put(CustomMenuItemMetadata.getKlass(), CustomMenuItemMetadata); componentClassMap.put(CylinderMetadata.getKlass(), CylinderMetadata); + componentClassMap.put(DialogPaneMetadata.getKlass(), DialogPaneMetadata); componentClassMap.put(EllipseMetadata.getKlass(), EllipseMetadata); componentClassMap.put(FlowPaneMetadata.getKlass(), FlowPaneMetadata); componentClassMap.put(GridPaneMetadata.getKlass(), GridPaneMetadata); @@ -5125,6 +5128,17 @@ private Metadata() { CylinderMetadata.getProperties().add(pickOnBounds_false_PropertyMetadata); CylinderMetadata.getProperties().add(radius_100_PropertyMetadata); + DialogPaneMetadata.getProperties().add(buttonTypesPropertyMetadata); + DialogPaneMetadata.getProperties().add(children_c1_PropertyMetadata); + DialogPaneMetadata.getProperties().add(content_Node_NULL_PropertyMetadata); + DialogPaneMetadata.getProperties().add(contentTextPropertyMetadata); + DialogPaneMetadata.getProperties().add(expandableContentPropertyMetadata); + DialogPaneMetadata.getProperties().add(expanded_false_PropertyMetadata); + DialogPaneMetadata.getProperties().add(graphicPropertyMetadata); + DialogPaneMetadata.getProperties().add(headerPropertyMetadata); + DialogPaneMetadata.getProperties().add(headerTextPropertyMetadata); + DialogPaneMetadata.getProperties().add(styleClass_c30_PropertyMetadata); + EllipseMetadata.getProperties().add(accessibleRole_NODE_PropertyMetadata); EllipseMetadata.getProperties().add(centerXPropertyMetadata); EllipseMetadata.getProperties().add(centerYPropertyMetadata);