/** * */ public void clearTests() { tests.clear(); teststable.setEntries(new String[0]); }
/** * */ public void clearTests() { tests.clear(); teststable.setEntries(new String[0]); }
/** * Apply settings to GUI. */ protected void updateSettings(AwarenessSettingsData settings) { this.settings = settings; // tfipaddress.setText(settings.address.getHostAddress()); // tfport.setText(""+settings.port); spdelay.setValue(Long.valueOf(settings.delay/1000)); cbfast.setSelected(settings.fast); cbautocreate.setSelected(settings.autocreate); cbautodelete.setSelected(settings.autodelete); includes.setEntries(settings.includes); excludes.setEntries(settings.excludes); }
/** * Apply settings to GUI. */ protected void updateSettings(AwarenessSettingsData settings) { this.settings = settings; // tfipaddress.setText(settings.address.getHostAddress()); // tfport.setText(""+settings.port); spdelay.setValue(Long.valueOf(settings.delay/1000)); cbfast.setSelected(settings.fast); cbautocreate.setSelected(settings.autocreate); cbautodelete.setSelected(settings.autodelete); includes.setEntries(settings.includes); excludes.setEntries(settings.excludes); }
/** * */ public void setTests(List<Tuple2<String, IResourceIdentifier>> tests) { this.tests = tests; teststable.setEntries(getTestNames()); }
/** * */ public void setTests(List<Tuple2<String, IResourceIdentifier>> tests) { this.tests = tests; teststable.setEntries(getTestNames()); }
/** * Update the ui, when the aid has changed. */ protected void refresh() { // Update the gui. if(!nameediting) { // tfname.getDocument().removeDocumentListener(namelistener); tfname.setText(this.cid.getName()); // tfname.getDocument().addDocumentListener(namelistener); } taddresses.setEntries(this.cid.getAddresses()); taddresses.refresh(); this.invalidate(); this.validate(); this.repaint(); }