public void customResultAvailable(Object result) { props.removeSubproperties(id); props.addSubproperties(id, (Properties)result); crl.resultAvailable(null); } };
public void customResultAvailable(Object result) { props.removeSubproperties(id); props.addSubproperties(id, (Properties)result); ret.setResult(null); } }));
public void customResultAvailable(Object result) { props.removeSubproperties(id); props.addSubproperties(id, (Properties)result); ret.setResult(null); } }));
public void customResultAvailable(Object result) { props.removeSubproperties(id); props.addSubproperties(id, (Properties)result); ret.setResult(null); } }));
public void customResultAvailable(Object result) { props.removeSubproperties(id); props.addSubproperties(id, (Properties)result); crl.resultAvailable(null); } };
public void customResultAvailable(Object result) { props.removeSubproperties(id); props.addSubproperties(id, (Properties)result); crl.resultAvailable(null); } };
public void customResultAvailable(Properties sub) { // Properties sub = (Properties)result; props.removeSubproperties(panel.getId()); if(sub!=null) { sub.setType(panel.getId()); props.addSubproperties(sub); } ret.setResult(props); }; });
/** * Set the properties for a given id. * Overwrites existing settings (if any). * @param id A unique id to identify the properties (e.g. component or service name). * @param properties The properties to set. * @param save Save platform properties after setting. * @return A future indicating when properties have been set. */ public IFuture<Void> setProperties(String id, Properties props) { // System.out.println("Set properties: "+id); final Future<Void> ret = new Future<Void>(); this.props.removeSubproperties(id); this.props.addSubproperties(id, props); if(providers.containsKey(id)) { ((IPropertiesProvider)providers.get(id)).setProperties(props) .addResultListener(access.createResultListener(new DelegationResultListener(ret))); } else { ret.setResult(null); } return ret; }
/** * Set the properties for a given id. * Overwrites existing settings (if any). * @param id A unique id to identify the properties (e.g. component or service name). * @param properties The properties to set. * @param save Save platform properties after setting. * @return A future indicating when properties have been set. */ public IFuture<Void> setProperties(String id, Properties props) { // System.out.println("Set properties: "+id); final Future<Void> ret = new Future<Void>(); this.props.removeSubproperties(id); this.props.addSubproperties(id, props); if(providers.containsKey(id)) { ((IPropertiesProvider)providers.get(id)).setProperties(props) .addResultListener(access.createResultListener(new DelegationResultListener(ret))); } else { ret.setResult(null); } return ret; }
public void customResultAvailable(Object result) props.removeSubproperties("controlcenter"); props.addSubproperties("controlcenter", (Properties)result);
public void customResultAvailable(Object result) props.removeSubproperties("controlcenter"); props.addSubproperties("controlcenter", (Properties)result);
props.removeSubproperties("vis"); props.addSubproperties("vis", vis);
/** * Set the properties for a given id. * Overwrites existing settings (if any). * @param id A unique id to identify the properties (e.g. component or service name). * @param properties The properties to set. * @param save Save platform properties after setting. * @return A future indicating when properties have been set. */ public IFuture<Void> setProperties(String id, Properties props) { // System.out.println("Set properties: "+id); final Future<Void> ret = new Future<Void>(); this.props.removeSubproperties(id); this.props.addSubproperties(id, props); if(providers.containsKey(id)) { ((IPropertiesProvider)providers.get(id)).setProperties(props) .addResultListener(access.getComponentFeature(IExecutionFeature.class).createResultListener(new DelegationResultListener(ret))); } else { ret.setResult(null); } return ret; }
props.removeSubproperties("vis"); props.addSubproperties("vis", vis);
windowprops.addProperty(new Property("jccexit", jccexit != null? jccexit : JCC_EXIT_ASK)); windowprops.addProperty(new Property("saveonexit", Boolean.toString(saveonexit))); props.removeSubproperties("window"); props.addSubproperties("window", windowprops);
windowprops.addProperty(new Property("jccexit", jccexit != null? jccexit : JCC_EXIT_ASK)); windowprops.addProperty(new Property("saveonexit", Boolean.toString(saveonexit))); props.removeSubproperties("window"); props.addSubproperties("window", windowprops);