/** * Regenerate the global output properties. Does not load the input * properties, instead uses the GLOBAL_INPUT_PROPERTIES */ public static void regenerateGlobalOutputProperties() { if (GLOBAL_CREATOR != null) { try { GLOBAL_CREATOR.execute(false, false); GLOBAL_INPUT_PROPERTIES = GLOBAL_CREATOR.getInputProperties(); GLOBAL_OUTPUT_PROPERTIES = GLOBAL_CREATOR.getOutputProperties(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
/** * Regenerate the global output properties. Does not load the input * properties, instead uses the GLOBAL_INPUT_PROPERTIES */ public static void regenerateGlobalOutputProperties() { if (GLOBAL_CREATOR != null) { try { GLOBAL_CREATOR.execute(false, false); GLOBAL_INPUT_PROPERTIES = GLOBAL_CREATOR.getInputProperties(); GLOBAL_OUTPUT_PROPERTIES = GLOBAL_CREATOR.getOutputProperties(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
GEOProps = creator.getOutputProperties(); } else {
GEOProps = creator.getOutputProperties(); } else {
try { creator.execute(false); EDITOR_PROPERTIES = creator.getOutputProperties(); } catch (Exception e) { JOptionPane.showMessageDialog(null,
props = creator.getOutputProperties();
try { creator.execute(false); EDITOR_PROPERTIES = creator.getOutputProperties(); } catch (Exception e) { JOptionPane.showMessageDialog(null,
props = creator.getOutputProperties();
gpc.execute(false); classes = gpc.getOutputProperties().getProperty(property); tok = new StringTokenizer(classes, ",");
gpc.execute(false); classes = gpc.getOutputProperties().getProperty(property); tok = new StringTokenizer(classes, ",");
/** * Initializes generic object editor properties * * @return a properties object * @throws Exception if a problem occurs */ protected Properties initGOEProps() throws Exception { Properties GOEProps = GenericPropertiesCreator.getGlobalOutputProperties(); if (GOEProps == null) { GenericPropertiesCreator creator = new GenericPropertiesCreator(); if (creator.useDynamic()) { creator.execute(false); GOEProps = creator.getOutputProperties(); } else { GOEProps = Utils.readProperties("weka/gui/GenericObjectEditor.props"); } } return GOEProps; }
/** * Initializes generic object editor properties * * @return a properties object * @throws Exception if a problem occurs */ protected Properties initGOEProps() throws Exception { Properties GOEProps = GenericPropertiesCreator.getGlobalOutputProperties(); if (GOEProps == null) { GenericPropertiesCreator creator = new GenericPropertiesCreator(); if (creator.useDynamic()) { creator.execute(false); GOEProps = creator.getOutputProperties(); } else { GOEProps = Utils.readProperties("weka/gui/GenericObjectEditor.props"); } } return GOEProps; }
Properties props = creator.getOutputProperties();
Properties props = creator.getOutputProperties();