if (properties == null){
return null;
}
if (properties.containsAll(Arrays.asList(new TextShapePropertiesNames().getPropertyNames()))){
return new TextPropertiesPanel(true, Builtin.resources.getString("Text"));
} else {
return super.getPanel(properties);
}
}