Package org.eobjects.datacleaner.widgets

Examples of org.eobjects.datacleaner.widgets.DCPopupBubble


      final String imagePath, final Class<D> datastoreClass,
      final Class<? extends AbstractFileBasedDatastoreDialog<D>> dialogClass) {
    final ImageIcon icon = imageManager.getImageIcon(imagePath);
    final JButton button = WidgetFactory.createImageButton(icon);

    final DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, "<html><b>" + title + "</b><br/>" + description
        + "</html>", 0, 0, imagePath);
    popupBubble.attachTo(button);

    button.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent event) {
        Injector injectorWithNullDatastore = _injectorBuilder.with(datastoreClass, null).createInjector();
View Full Code Here


    databaseNames.add(databaseName);

    final ImageIcon icon = imageManager.getImageIcon(imagePath);
    final JButton button = WidgetFactory.createImageButton(icon);

    final DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, "<html><b>" + title + "</b><br/>" + description
        + "</html>", 0, 0, imagePath);
    popupBubble.attachTo(button);

    button.addActionListener(createJdbcActionListener(databaseName));

    return button;
  }
View Full Code Here

  }

  private JButton createButton(String imagePath, String description) {
    final JButton button = WidgetFactory.createImageButton(imageManager.getImageIcon(imagePath));

    final DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, description, 0, 0, imagePath);
    popupBubble.attachTo(button);

    return button;
  }
View Full Code Here

  }

  private JButton createButton(String imagePath, String description) {
    final JButton button = WidgetFactory.createImageButton(imageManager.getImageIcon(imagePath));

    final DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, description, 0, 0, imagePath);
    popupBubble.attachTo(button);

    return button;
  }
View Full Code Here

  }

  private JButton createButton(String imagePath, String description) {
    final JButton button = WidgetFactory.createImageButton(imageManager.getImageIcon(imagePath));

    final DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, description, 0, 0, imagePath);
    popupBubble.attachTo(button);

    return button;
  }
View Full Code Here

  private JButton createToolbarButton(String text, String iconPath, String popupDescription) {
    JButton button = new JButton(text, imageManager.getImageIcon(iconPath));
    button.setForeground(WidgetUtils.BG_COLOR_BRIGHTEST);
    button.setFocusPainted(false);
    if (popupDescription != null) {
      DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, popupDescription, 0, 0, iconPath);
      popupBubble.attachTo(button);
    }
    return button;
  }
View Full Code Here

      final Point tpLocation = _tabbedPane.getLocationOnScreen();

      final int x = filterTabBounds.x + tpLocation.x + 50;
      final int y = filterTabBounds.y + tpLocation.y + filterTabBounds.height;

      final DCPopupBubble popupBubble = new DCPopupBubble(_glassPane, "<html>'<b>"
          + LabelUtils.getLabel(filterJobBuilder) + "</b>'<br/>added to <b>filters</b></html>", x, y,
          "images/menu/filter-tab.png");
      popupBubble.showTooltip(2000);
    } else {
      _tabbedPane.setSelectedIndex(FILTERS_TAB);
    }
    updateStatusLabel();
  }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.widgets.DCPopupBubble

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.