Cancels the editing.<p>

@param event the click event
514717
@UiHandler("m_cancelButton")
    void cancelAction(ClickEvent event) {

        m_clipboard.reloadFavorites();
        m_buttonEditingPanel.setVisible(false);
        m_buttonUsePanel.setVisible(true);
    }
1021441
@FXML
    void okButtonOnAction(ActionEvent event) {
        UpdateAvailableDialog t = this;

        okButton.setDisable(true);
        cancelButton.setText(bundle.getString("button.cancel.cancelDownload"));

        downloadThread = new Thread(() -> {
            try {
                boolean res = UpdateChecker.downloadAndInstallUpdate(updateInfo, t);
                if (res) {
                    t.hide();
                }
            } catch (IllegalStateException | IOException e) {
                showErrorMessage(e.getLocalizedMessage());
                e.printStackTrace();
            }
        });
        downloadThread.start();
    }
1345344
protected void fireEditingCanceled() {
        // Guaranteed to return a non-null array
        Object[] listeners = listenerList.getListenerList();
        // Process the listeners last to first, notifying
        // those that are interested in this event
        for (int i = listeners.length-2; i>=0; i-=2) {
            if (listeners[i]==CellEditorListener.class) {
                ((CellEditorListener)listeners[i+1]).editingCanceled(new ChangeEvent(this));
            }
        }
    }
231142
public void onChangeEditingState(GeometryEditChangeStateEvent event) {
		switch (event.getEditingState()) {
			case DRAGGING:
				mapWidget.setCursor(Cursor.MOVE);
				break;
			case IDLE:
			default:
				mapWidget.setCursorString(mapWidget.getDefaultCursorString());
				redraw();

				// Remove the temporary insert move line:
				if (editingService.getInsertIndex() != null) {
					String id = baseName + "."
							+ editingService.getIndexService().format(editingService.getInsertIndex());
					Object parentGroup = groups.get(id.substring(0, id.lastIndexOf('.')) + ".edges");
					mapWidget.getVectorContext().deleteElement(parentGroup, insertMoveEdgeId1);
					mapWidget.getVectorContext().deleteElement(parentGroup, insertMoveEdgeId2);
				}
		}
	}
575828
public void disableEditing(String reason) {

        CmsContainerpageController.get().reinitializeButtons();
        m_add.disable(reason);
        m_clipboard.disable(reason);
    }
135506
protected synchronized void fireMPDChangeEvent(MPDChangeEvent.Event event) {
        MPDChangeEvent mce = new MPDChangeEvent(this, event);

        for (MPDChangeListener mcl : listeners) {
            mcl.mpdChanged(mce);
        }
    }
440998
@FXML
    void ignoreButtonOnAction(ActionEvent event) {
        if (!downloadThread.isAlive()) {
            // ignore this update
            this.hide();
            UpdateChecker.ignoreUpdate(updateInfo.toVersion);
        } else {
            // Cancel download
            UpdateChecker.cancelDownloadAndLaunch(this);
        }
    }
514306
def closeEvent( self, event ):
        
        if ( not (self.saveOnClose() and self.checkForSave()) ):
            event.ignore()
        else:
            super(XScintillaEdit, self).closeEvent(event)
704840
public void deactivateCurrentButton() {

        if (m_activeButton != null) {
            if (m_activeButton == m_editor.getSelection()) {
                m_controller.disableInlineEditing(null);
            }
            m_activeButton.setActive(false);
            m_activeButton = null;
        }
        setEditButtonsVisible(false);
    }
1103408
def cancel(self, event=None):
        

        if self.parent != None:
            self.parent.focus_set()

        self.destroy()
965406
@UiHandler("m_button")
    protected void onClick(ClickEvent event) {

        m_tab.removeParam(m_paramKey);
        m_tab = null;
        removeFromParent();
    }
38999
function(event) {
                if(event.preventDefault && event.cancelable)
                    event.preventDefault();
                else
                    event.returnValue = false;
            }
899979
@UiHandler("m_selectButton")
    public void onSelectClick(ClickEvent event) {

        if (m_galleryMode == GalleryMode.editor) {
            // note: the select button isn't necessarily visible in editor mode (depending on the WYSIWYG editor), but
            // if it is, we want it to save the data and close the gallery dialog
            if (getHandler().setDataInEditor()) {
                // do this after a delay, so we don't get ugly Javascript errors when the iframe is closed.
                Timer timer = new Timer() {

                    @Override
                    public void run() {

                        CmsPreviewUtil.closeDialog();
                    }

                };
                timer.schedule(1);
            }
        } else {
            saveChanges(null);
            getHandler().selectResource();
        }
    }
901557
public synchronized void removeComponent(ComponentEvent event)
    {
        if(log.isDebugEnabled())log.debug("Component removed "+event);
        
        try
        {
            Object o=event.getComponent();
            Holder holder=(Holder)_mbeanMap.remove(o);
            if (holder!=null)
                getMBeanServer().unregisterMBean(holder.oName);
            else if (o==_httpServer)
                getMBeanServer().unregisterMBean(this.getObjectName());
        }
        catch(Exception e)
        {
            log.warn(LogSupport.EXCEPTION,e);
        }
    }
768972
protected void endDragging(MouseUpEvent event) {

        m_dragging = false;
        DOM.releaseCapture(getElement());
        removeStyleName(I_CmsLayoutBundle.INSTANCE.dialogCss().dragging());
    }
758327
function( event ) {
            event = $.getEvent( event );

            if ( event.preventDefault ) {
                $.cancelEvent = function( event ){
                    // W3C for preventing default
                    event.preventDefault();
                };
            } else {
                $.cancelEvent = function( event ){
                    event = $.getEvent( event );
                    // legacy for preventing default
                    event.cancel = true;
                    // IE for preventing default
                    event.returnValue = false;
                };
            }
            $.cancelEvent( event );
        }
652826
function(e) {
      Event.stopEvent(e);
      this.editorContainer.style.display = 'none';
      this.formattedContainer.style.display = '';
   }