Package org.eobjects.datacleaner.windows

Examples of org.eobjects.datacleaner.windows.RegexStringPatternDialog


    final JButton regexStringPatternButton = createButton(IconUtils.STRING_PATTERN_REGEX_IMAGEPATH,
        "<html><b>Regular expression string pattern</b><br/>A very flexible string pattern, based on regular expressions.</html>");
    regexStringPatternButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        new RegexStringPatternDialog(_catalog, _windowContext).setVisible(true);
      }
    });

    final JButton regexSwapStringPatternButton = createButton(IconUtils.STRING_PATTERN_REGEXSWAP_IMAGEPATH,
        "<html><b>Browse the RegexSwap</b><br/>Download patterns from DataCleaner's online RegexSwap.</html>");
View Full Code Here


      if (stringPattern instanceof RegexStringPattern) {
        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            RegexStringPatternDialog dialog = new RegexStringPatternDialog((RegexStringPattern) stringPattern,
                _catalog, _windowContext);
            dialog.setVisible(true);
          }
        });
      } else if (stringPattern instanceof SimpleStringPattern) {
        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            SimpleStringPatternDialog dialog = new SimpleStringPatternDialog(
                (SimpleStringPattern) stringPattern, _catalog, _windowContext);
            dialog.setVisible(true);
          }
        });
      } else {
        editButton.setEnabled(false);
      }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.windows.RegexStringPatternDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.