/** * Get the properties of the mechanism. */ public Properties getProperties() { Properties props = new Properties(); props.addProperty(new Property("responses", ""+responses)); 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; }
/** * 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; }
/** * 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); } }
/** * Get the properties of the mechanism. */ public Properties getProperties() { Properties props = new Properties(); props.addProperty(new Property("responses", ""+responses)); return 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("nickname", nick)); if(image!=null) props.addProperty(new Property("image", new String(Base64.encode(image)))); 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); } }
/** * 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); }
/** * 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); } }
/** * 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); }
/** * 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); }
/** * 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); } }
/** * 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); }
/** * 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); }
/** * Get the settings as properties. */ public Properties getProperties() { Properties props = new Properties(); for(int i=0; i<model.getRowCount(); i++) { File entry = (File)model.getValueAt(i, 0); props.addProperty(new Property("ENTRY", entry.getAbsolutePath())); } return props; }
/** * Get plugin properties to be saved in a project. */ public IFuture getProperties() { Properties props = new Properties(); for(int i=0; i<checkboxes.length; i++) { // System.out.println(""+checkboxes[i].getText()+" "+checkboxes[i].isSelected()); props.addProperty(new Property(checkboxes[i].getText(), ""+checkboxes[i].isSelected())); } return new Future(props); }