public void init(BundleContext bundleContext, Map<String, Object> properties) {
String pid = (String) properties.get(Constants.SERVICE_PID);
id = pid;
public void init(BundleContext bundleContext, Map<String, Object> properties) {
String pid = (String) properties.get(Constants.SERVICE_PID);
id = pid;
weights = LangUtils.toStringList(properties.get(Property.weights.name()));
startMaximized = properties.containsKey(Property.startMaximized.name())
weights = LangUtils.toStringList(properties.get(Property.weights.name()));
startMaximized = properties.containsKey(Property.startMaximized.name())