/** * Return properties to be saved in project. */ public IFuture<Properties> getProperties() { return new Future<Properties>(new Properties()); // return apppanel.getProperties(); } }
public void exceptionOccurred(Exception exception) { ret.setResult(new Properties()); } });
public void exceptionOccurred(Exception exception) { ret.setResult(new Properties()); } });
/** * Get the properties of the mechanism. */ public Properties getProperties() { Properties props = new Properties(); props.addProperty(new Property("responses", ""+responses)); return props; }
public void customResultAvailable(Properties subprops) { // Properties subprops = (Properties)result; props.addSubproperties(PANELPROPERTIES, subprops!=null ? subprops : new Properties()); ret.setResult(props); }; });
/** * Advices the panel provide its setting as properties (if any). * This is done on project close or save. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); props.addProperty(new Property(PROPERTY_GUI_REFRESH, sprefresh.getValue().toString())); Future<Properties> ret = new Future<Properties>(props); return ret; }
/** * Write current state into properties. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); // Only save as executing when in normal mode. props.addProperty(new Property("executing", ""+(executing && MODE_NORMAL.equals(mode)))); return new Future<Properties>(props); } }
/** * Write current state into properties. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); // Only save as executing when in normal mode. props.addProperty(new Property("executing", ""+(executing && MODE_NORMAL.equals(mode)))); return new Future<Properties>(props); } }
/** * Write current state into properties. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); // Only save as executing when in normal mode. props.addProperty(new Property("executing", ""+(executing && MODE_NORMAL.equals(mode)))); return new Future<Properties>(props); } }
/** * Return properties to be saved in project. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); props.addProperty(new Property("timemode", Integer.toString(getTimeMode()))); return new Future<Properties>(props); }
/** * Return properties to be saved in project. */ public IFuture getProperties() { Properties props = new Properties(); props.addSubproperties("convcenter", convcenter.getProperties()); return new Future(props); }
/** * Return properties to be saved in project. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); props.addProperty(new Property("timemode", Integer.toString(getTimeMode()))); return new Future<Properties>(props); }
/** * Return properties to be saved in project. */ public IFuture getProperties() { Properties props = new Properties(); props.addSubproperties("convcenter", convcenter.getProperties()); return new Future(props); }
/** * Save the properties. * @param props */ public IFuture getProperties() { Properties props = new Properties(); props.addProperty(new Property("mainsplit_location", Double.toString(((JSplitPanel)getView()).getProportionalDividerLocation()))); props.addProperty(new Property("tcsplit_location", Double.toString(tcpanel.getProportionalDividerLocation()))); return new Future(props); }
/** * Save the properties. * @param props */ public IFuture getProperties() { Properties props = new Properties(); props.addProperty(new Property("mainsplit_location", Double.toString(((JSplitPanel)getView()).getProportionalDividerLocation()))); props.addProperty(new Property("tcsplit_location", Double.toString(tcpanel.getProportionalDividerLocation()))); return new Future(props); }
/** * Get the properties of the mechanism. */ public Properties getProperties() { Properties props = new Properties(); if(ttpcid!=null) props.addProperty(new Property("ttpcid", ttpcid.getName())); // props.addProperty(new Property("ttpcid", JavaWriter.objectToXML(ttpcid, null))); props.addProperty(new Property("verify", ""+verify)); return props; }
/** * Get the properties of the mechanism. */ public Properties getProperties() { Properties props = new Properties(); if(ttpcid!=null) props.addProperty(new Property("ttpcid", ttpcid.getName())); // props.addProperty(new Property("ttpcid", JavaWriter.objectToXML(ttpcid, null))); props.addProperty(new Property("verify", ""+verify)); return props; }
/** * Save the properties. * @param props */ public IFuture getProperties() { Properties props = new Properties(); props.addProperty(new Property("leftsplit_location", ""+lsplit.getProportionalDividerLocation())); props.addProperty(new Property("mainsplit_location", ""+csplit.getProportionalDividerLocation())); // props.addProperty(new Property("leftsplit_location", ""+lsplit.getDividerLocation())); // props.addProperty(new Property("mainsplit_location", ""+csplit.getDividerLocation())); return new Future(props); }
/** * Write current state into properties. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); props.addProperty(new Property("type", clock.getType())); props.addProperty(new Property("delta", ""+clock.getDelta())); if(clock instanceof ContinuousClock) props.addProperty(new Property("dilation", ""+((ContinuousClock)clock).getDilation())); return new Future<Properties>(props); } }
/** * Write current state into properties. */ public IFuture<Properties> getProperties() { Properties props = new Properties(); props.addProperty(new Property("type", clock.getType())); props.addProperty(new Property("delta", ""+clock.getDelta())); if(clock instanceof ContinuousClock) props.addProperty(new Property("dilation", ""+((ContinuousClock)clock).getDilation())); return new Future<Properties>(props); } }