Examples of PopupListener


Examples of org.apache.uima.tools.cvd.control.PopupListener

      this.textArea.setSelectionColor(selectionColor);
      this.textArea.setEditable(true);
      this.textArea.setLineWrap(true);
      this.textArea.setWrapStyleWord(true);
      this.textArea.setText(defaultText);
      this.textArea.addMouseListener(new PopupListener(this));
      // textArea.setFocusable(true);
      this.textArea.addFocusListener(new TextFocusHandler(this));
      this.textArea.getDocument().addDocumentListener(new TextChangedListener(this));
      this.textArea.addCaretListener(new CaretChangeHandler(this));
      this.undoMgr = new UndoMgr(this);
View Full Code Here

Examples of org.apache.uima.tools.cvd.control.PopupListener

      this.textArea.setSelectionColor(selectionColor);
      this.textArea.setEditable(true);
      this.textArea.setLineWrap(true);
      this.textArea.setWrapStyleWord(true);
      this.textArea.setText(defaultText);
      this.textArea.addMouseListener(new PopupListener(this));
      // textArea.setFocusable(true);
      this.textArea.addFocusListener(new TextFocusHandler(this));
      this.textArea.getDocument().addDocumentListener(new TextChangedListener(this));
      this.textArea.addCaretListener(new CaretChangeHandler(this));
      this.undoMgr = new UndoMgr(this);
View Full Code Here

Examples of org.apache.uima.tools.cvd.control.PopupListener

      this.textArea.setSelectionColor(selectionColor);
      this.textArea.setEditable(true);
      this.textArea.setLineWrap(true);
      this.textArea.setWrapStyleWord(true);
      this.textArea.setText(defaultText);
      this.textArea.addMouseListener(new PopupListener(this));
      // textArea.setFocusable(true);
      this.textArea.addFocusListener(new TextFocusHandler(this));
      this.textArea.getDocument().addDocumentListener(new TextChangedListener(this));
      this.textArea.addCaretListener(new CaretChangeHandler(this));
      this.undoMgr = new UndoMgr(this);
View Full Code Here

Examples of org.apache.uima.tools.cvd.control.PopupListener

      this.textArea.setSelectionColor(selectionColor);
      this.textArea.setEditable(true);
      this.textArea.setLineWrap(true);
      this.textArea.setWrapStyleWord(true);
      this.textArea.setText(defaultText);
      this.textArea.addMouseListener(new PopupListener(this));
      // textArea.setFocusable(true);
      this.textArea.addFocusListener(new TextFocusHandler(this));
      this.textArea.getDocument().addDocumentListener(new TextChangedListener(this));
      this.textArea.addCaretListener(new CaretChangeHandler(this));
      this.undoMgr = new UndoMgr(this);
View Full Code Here

Examples of org.apache.uima.tools.cvd.control.PopupListener

      this.textArea.setSelectionColor(selectionColor);
      this.textArea.setEditable(true);
      this.textArea.setLineWrap(true);
      this.textArea.setWrapStyleWord(true);
      this.textArea.setText(defaultText);
      this.textArea.addMouseListener(new PopupListener(this));
      // textArea.setFocusable(true);
      this.textArea.addFocusListener(new TextFocusHandler(this));
      this.textArea.getDocument().addDocumentListener(new TextChangedListener(this));
      this.textArea.addCaretListener(new CaretChangeHandler(this));
      this.undoMgr = new UndoMgr(this);
View Full Code Here

Examples of org.jsynthlib.core.PopupListener

        if (resource == null) {
            return;
        }
        File outputFile = new File(resource.toURI());
        guiHandler.uninstallDevice(null);
        PopupListener popupListener = new PopupListener();

        XmldeviceDocument deviceDocument =
                XmldeviceDocument.Factory.parse(outputFile);
        Xmldevice device = deviceDocument.getXmldevice();
View Full Code Here

Examples of org.jsynthlib.core.PopupListener

                        "[\\w\\-]+\\s+" + patchName + "\\s*");
                FrameWrapper patchEditor = null;
                try {
                    patchEditor =
                            guiHandler.openPatchEditor(table, row, col,
                                    new PopupListener(), false);
                    if (patchEditor != null) {
                        List<SysexWidget> sysexWidgets =
                                SysexWidgetFinder.findSysexWidgets(patchEditor);
                        ArrayList<String> patchNameWidgetValues =
                                new ArrayList<String>();
View Full Code Here

Examples of org.jsynthlib.core.PopupListener

        try {
            for (Class<? extends IDriver> driverClass : driversForDevice) {
                StringBuilder popupBuilder = new StringBuilder();

                LOG.info("Using driver: " + driverClass.getName());
                PopupListener driverPopupListener = new PopupListener();
                guiHandler.newPatch(library, deviceName, driverClass,
                        driverPopupListener);
                List<PopupContainer> driverPopups =
                        driverPopupListener.getPopups();
                for (PopupContainer popup : driverPopups) {
                    popupBuilder.append(popup.getContents());
                    popupBuilder.append("\n\n--------------------------\n\n");
                }

                LOG.info("Opening patch editor");
                PopupListener editorPopupListener = new PopupListener();
                FrameWrapper patchEditor =
                        guiHandler.openPatchEditor(table, -1, 0,
                                editorPopupListener, true);
                List<PopupContainer> editorPopups =
                        editorPopupListener.getPopups();
                for (PopupContainer popup : editorPopups) {
                    popupBuilder.append(popup.getContents());
                    popupBuilder.append("\n\n--------------------------\n\n");
                }
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.popup.PopupPanelManager.PopupListener

            statusBar, menu, pt.x,
            pt.y - menu.getPreferredSize().height);
        PopupPanelManager.defaultManager().addPopup(statusBar, popup,
            menu);

        PopupListener tracker = new PopupListener() {
          @Override
          public void popupShown(PopupEvent event) {
          }

          @Override
View Full Code Here

Examples of org.wicketstuff.openlayers.event.PopupListener

   *
   */
  protected OpenLayersMap(final String id,
      final OpenLayersMapHeaderContributor headerContrib, List<Overlay> overlays,
      List<Layer> defaultLayers, HashMap<String, String> options) {
    this(id, headerContrib, overlays, new PopupListener(false) {
      @Override
      protected void onClick(AjaxRequestTarget target, Overlay overlay) {
        // make sure that info window is closed
        if (Marker.class.isInstance(overlay)) {
          clickAndOpenPopup((Marker) overlay, target);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.