return new PropertySource2(getLnfClassname(), new StructuredSelection(new Object[] { object }), properties);
}
}
public String getLnfClassname() {
VisualDesigner designer = getDesigner();
if (designer != null)
return designer.getLnfClassname();
else {
LookAndFeel lnf = UIManager.getLookAndFeel();
String lnfClass;
if (lnf == null)
lnfClass = UIManager.getCrossPlatformLookAndFeelClassName();