/** * Update from given properties. */ public IFuture<Void> setProperties(Properties props) { String tmp = props.getStringProperty("nickname"); if(tmp!=null) setNickName(tmp); tmp = props.getStringProperty("image"); if(tmp!=null) setImage(Base64.decode(tmp.getBytes(Charset.forName("UTF-8")))); called.setResultIfUndone(null); return IFuture.DONE; }
/** * Update from given properties. */ public IFuture<Void> setProperties(Properties props) { String tmp = props.getStringProperty("nickname"); if(tmp!=null) setNickName(tmp); tmp = props.getStringProperty("image"); if(tmp!=null) setImage(Base64.decode(tmp.getBytes())); called.setResultIfUndone(null); return IFuture.DONE; }
String ar = props.getStringProperty("autorefresh"); if(ar!=null) updateRefreshTimer(); String snd = props.getStringProperty("sound"); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_FILE_ABORT); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_FILE_COMPLETE); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_NEW_FILE); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_NEW_MSG); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_NEW_USER); if(snd!=null)
String ar = props.getStringProperty("autorefresh"); if(ar!=null) updateRefreshTimer(); String snd = props.getStringProperty("sound"); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_FILE_ABORT); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_FILE_COMPLETE); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_NEW_FILE); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_NEW_MSG); if(snd!=null) snd = props.getStringProperty(NOTIFICATION_NEW_USER); if(snd!=null)
String gid_ri = rid.getStringProperty("gid_ri"); String gid_vi = rid.getStringProperty("gid_vi"); String lid_url = rid.getStringProperty("lid_url");
/** * Update from given properties. */ public IFuture<Void> setProperties(Properties props) { String tmp = props.getStringProperty("nickname"); if(tmp!=null) setNickName(tmp); tmp = props.getStringProperty("image"); if(tmp!=null) { try { setImage(Base64.decode(tmp.getBytes("UTF-8"))); } catch(UnsupportedEncodingException e) { throw new RuntimeException(e); } } called.setResultIfUndone(null); return IFuture.DONE; }
String gid_ri = rid.getStringProperty("gid_ri"); String gid_vi = rid.getStringProperty("gid_vi"); String lid_url = rid.getStringProperty("lid_url");
if(props.getStringProperty(Starter.CONFIGURATION_FILE)!=null) factory.setSelectedItem(props.getStringProperty(Starter.COMPONENT_FACTORY)); model.setSelectedItem(props.getStringProperty(Starter.CONFIGURATION_FILE));
public void customResultAvailable(IResourceIdentifier rid) { lastrid = rid; Property[] aargs = props.getProperties("argument"); loadargs = new String[aargs.length]; for(int i=0; i<aargs.length; i++) { loadargs[i] = aargs[i].getValue(); } final String mo = props.getStringProperty("model"); if(mo!=null) { lastfile = mo; loadconfig = props.getStringProperty("config"); loadname = props.getStringProperty("name"); reloadModel(); } setStartSuspended(props.getBooleanProperty("startsuspended")); setAutoGenerate(props.getBooleanProperty("autogenerate")); numcomponents.setValue(Integer.valueOf(props.getIntProperty("number"))); ret.setResult(null); } });
public void customResultAvailable(IResourceIdentifier rid) { lastrid = rid; Property[] aargs = props.getProperties("argument"); loadargs = new String[aargs.length]; for(int i=0; i<aargs.length; i++) { loadargs[i] = aargs[i].getValue(); } final String mo = props.getStringProperty("model"); if(mo!=null) { lastfile = mo; loadconfig = props.getStringProperty("config"); loadname = props.getStringProperty("name"); reloadModel(); } setStartSuspended(props.getBooleanProperty("startsuspended")); setAutoGenerate(props.getBooleanProperty("autogenerate")); numcomponents.setValue(Integer.valueOf(props.getIntProperty("number"))); ret.setResult(null); } });
String ridurl = props.getStringProperty("ridurl"); String globalrid = props.getStringProperty("globalrid"); SRemoteGui.createResourceIdentifier(jcc.getPlatformAccess(), ridurl, globalrid) .addResultListener(new SwingExceptionDelegationResultListener<IResourceIdentifier, Void>(ret)
String ridurl = props.getStringProperty("ridurl"); String globalrid = props.getStringProperty("globalrid"); SRemoteGui.createResourceIdentifier(jcc.getPlatformAccess(), ridurl, globalrid) .addResultListener(new SwingExceptionDelegationResultListener<IResourceIdentifier, Void>(ret)
String msg = props.getStringProperty(ConversationPlugin.LAST_MESSAGE);
String msg = props.getStringProperty(ConversationPlugin.LAST_MESSAGE);
/** * Update from given properties. */ public IFuture<Void> setProperties(Properties props) { // Do not change clock when explicitly started in specific mode if(simulation==null) { String type = props.getStringProperty("type"); long delta = props.getLongProperty("delta"); double dilation = props.getDoubleProperty("dilation"); setClock(type, threadpool); clock.setDelta(delta); if(clock instanceof ContinuousClock) ((ContinuousClock)clock).setDilation(dilation); } return IFuture.DONE; }
/** * Update from given properties. */ public IFuture<Void> setProperties(Properties props) { // Do not change clock when explicitly started in specific mode if(simulation==null) { String type = props.getStringProperty("type"); long delta = props.getLongProperty("delta"); double dilation = props.getDoubleProperty("dilation"); setClock(type, threadpool); clock.setDelta(delta); if(clock instanceof ContinuousClock) ((ContinuousClock)clock).setDilation(dilation); } return IFuture.DONE; }
if(props.getProperty("timeout")!=null) timeout = props.getStringProperty("timeout"); for(int i=0; i<entries.length; i++) final String name = entries[i].getStringProperty("model"); String ridurl = entries[i].getStringProperty("ridurl"); String globalrid = entries[i].getStringProperty("globalrid"); SRemoteGui.createResourceIdentifier(plugin.getJCC().getPlatformAccess(), ridurl, globalrid) .addResultListener(new ExceptionDelegationResultListener<IResourceIdentifier, Void>(ret)
window.setExtendedState(es); jccexit = windowprops.getStringProperty("jccexit");
/** * Update from given properties. */ public IFuture<Void> setProperties(Properties props) { // Do not change clock when explicitly started in specific mode if(simulation==null) { String type = props.getStringProperty("type"); long delta = props.getLongProperty("delta"); double dilation = props.getDoubleProperty("dilation"); String oldstate = clock.getState(); setClock(type, threadpool); clock.setDelta(delta); if(clock instanceof ContinuousClock) ((ContinuousClock)clock).setDilation(dilation); if(IClock.STATE_RUNNING.equals(oldstate)) { clock.start(); } } return IFuture.DONE; }
window.setExtendedState(es); jccexit = windowprops.getStringProperty("jccexit");