/** * Constructor. Initializes with system-wide environment variables and uses no * status message and no log. * * @param matchDetails the internally encoded match details string * @param inputStructure the incoming instances structure */ public SubstringReplacerRules(String matchDetails, Instances inputStructure) { this(matchDetails, inputStructure, "", null, Environment.getSystemWide()); }
/** * Constructor. Initializes with system-wide environment variables and uses no * status message and no log. * * @param matchDetails the internally encoded match details string * @param inputStructure the incoming instances structure */ public SubstringReplacerRules(String matchDetails, Instances inputStructure) { this(matchDetails, inputStructure, "", null, Environment.getSystemWide()); }
private void checkEnv() { if (m_env == null) { m_env = Environment.getSystemWide(); } }
private void readObject(ObjectInputStream aStream) throws IOException, ClassNotFoundException { aStream.defaultReadObject(); // set a default environment to use m_env = Environment.getSystemWide(); }
private void readObject(ObjectInputStream aStream) throws IOException, ClassNotFoundException { aStream.defaultReadObject(); // set a default environment to use m_env = Environment.getSystemWide(); } }
/** * Construct an EnvironmentField with no label. */ public EnvironmentField() { this(""); setEnvironment(Environment.getSystemWide()); }
/** * Constructor */ public FileEnvironmentField() { this("", JFileChooser.OPEN_DIALOG, false); setEnvironment(Environment.getSystemWide()); }
/** * Creates the property sheet panel with an about panel. */ public PropertySheetPanel() { // setBorder(BorderFactory.createLineBorder(Color.red)); setBorder(BorderFactory.createEmptyBorder(0, 0, 10, 0)); m_env = Environment.getSystemWide(); }
/** * Constructor */ public FileEnvironmentField() { this("", JFileChooser.OPEN_DIALOG, false); setEnvironment(Environment.getSystemWide()); }
public String environmentSubstitute(String source) { Environment env = m_env != null ? m_env : Environment.getSystemWide(); try { source = env.substitute(source); } catch (Exception ex) { } return source; }
/** * Construct an EnvironmentField with no label. */ public EnvironmentField() { this(""); setEnvironment(Environment.getSystemWide()); }
/** * Constructor */ public FlowByExpression() { setLayout(new BorderLayout()); add(m_visual, BorderLayout.CENTER); m_env = Environment.getSystemWide(); }
/** * Constructor */ public FlowByExpression() { setLayout(new BorderLayout()); add(m_visual, BorderLayout.CENTER); m_env = Environment.getSystemWide(); }
/** * Constructs a new Sorter */ public Sorter() { useDefaultVisual(); setLayout(new BorderLayout()); add(m_visual, BorderLayout.CENTER); m_env = Environment.getSystemWide(); m_stopRequested = new AtomicBoolean(false); }
/** * Constructor */ public Join() { useDefaultVisual(); setLayout(new BorderLayout()); add(m_visual, BorderLayout.CENTER); m_env = Environment.getSystemWide(); m_stopRequested = new AtomicBoolean(false); }
/** * Constructor */ public SubstringLabeler() { useDefaultVisual(); setLayout(new BorderLayout()); add(m_visual, BorderLayout.CENTER); m_env = Environment.getSystemWide(); }
/** * Constructs a new ImageSaver */ public ImageSaver() { useDefaultVisual(); setLayout(new BorderLayout()); add(m_visual, BorderLayout.CENTER); m_env = Environment.getSystemWide(); }
/** * Called when the user changes settings */ @Override public void settingsChanged() { GenericObjectEditor.setShowGlobalInfoToolTips(getApplicationSettings() .getSetting(WorkbenchDefaults.APP_ID, WorkbenchDefaults.SHOW_JTREE_TIP_TEXT_KEY, WorkbenchDefaults.SHOW_JTREE_GLOBAL_INFO_TIPS, Environment.getSystemWide())); }
/** * Called when the user changes settings */ @Override public void settingsChanged() { GenericObjectEditor.setShowGlobalInfoToolTips(getApplicationSettings() .getSetting(WorkbenchDefaults.APP_ID, WorkbenchDefaults.SHOW_JTREE_TIP_TEXT_KEY, WorkbenchDefaults.SHOW_JTREE_GLOBAL_INFO_TIPS, Environment.getSystemWide())); }
/** * Apply (changed) settings */ @Override public void settingsChanged() { boolean showTipText = getApplicationSettings().getSetting(KFDefaults.APP_ID, KFDefaults.SHOW_JTREE_TIP_TEXT_KEY, KFDefaults.SHOW_JTREE_GLOBAL_INFO_TIPS, Environment.getSystemWide()); GenericObjectEditor.setShowGlobalInfoToolTips(showTipText); m_mainPerspective.m_stepTree.setShowLeafTipText(showTipText); }