From a34a3047f879a60fbe53ab84450d40c0ce39751f Mon Sep 17 00:00:00 2001 From: Alexander Lobas Date: Tue, 7 Aug 2012 17:40:08 +0400 Subject: [PATCH] Show modified expert properties --- .../src/com/intellij/designer/model/Property.java | 4 ++++ .../com/intellij/designer/propertyTable/PropertyTable.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } }