506507508509510511512513514515516
if (properties == null){ return null; } if (properties.containsAll(Arrays.asList(new BarShapePropertiesNames().getPropertyNames()))){ return new BarPropertiesPanel(Builtin.resources.getString("Bar")); } else { return super.getPanel(properties); } }