diff --git a/platform/platform-impl/src/com/intellij/designer/model/Property.java b/platform/platform-impl/src/com/intellij/designer/model/Property.java index f15ecff33e07..917fa64c1936 100644 --- a/platform/platform-impl/src/com/intellij/designer/model/Property.java +++ b/platform/platform-impl/src/com/intellij/designer/model/Property.java @@ -93,6 +93,10 @@ public abstract class Property { return false; } + public boolean isDefaultValueWithDepth(@NotNull T container) throws Exception { + return isDefaultValue(container); + } + public void setDefaultValue(@NotNull T container) throws Exception { } diff --git a/platform/platform-impl/src/com/intellij/designer/propertyTable/PropertyTable.java b/platform/platform-impl/src/com/intellij/designer/propertyTable/PropertyTable.java index 8a74423f0c20..4fdbe5db5a67 100644 --- a/platform/platform-impl/src/com/intellij/designer/propertyTable/PropertyTable.java +++ b/platform/platform-impl/src/com/intellij/designer/propertyTable/PropertyTable.java @@ -436,7 +436,7 @@ public abstract class PropertyTable extends JBTable { private void addProperty(PropertiesContainer component, Property property, List properties) { if (property.isExpert() && !myShowExpertProperties) { try { - if (property.isDefaultValue(component)) { + if (property.isDefaultValueWithDepth(component)) { return; } }