DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
dsv.visit(oldStyle);
style = (Style) dsv.getCopy();
if (isPointStyle(style)) {
propertiesEditor = new PointPropertiesEditor(layer);
propertiesEditor.open(mainComposite, style);
stackLayout.topControl = propertiesEditor.getControl();
} else {
stackLayout.topControl = noFeatureLabel;
}